On Mon, 6 Dec 2010 12:24:51 -0500
"Jason Bertoch" <[email protected]> wrote:
> Does anyone have filter code they're willing to share that removes
> any existing "*****SPAM*****" tag in the Subject: header?
Completely untested:
sub filter_end {
# ...
if ($Subject =~ /\**SPAM\**/) {
$Subject =~ s/\**SPAM\**\s*//;
action_change_header('Subject', $Subject);
}
# ...
}
The tag regex may need tweaking depending on the actual tag used by the
offending software.
Regards,
David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang