On Dec 6, 2010, at 9:24 AM, Jason Bertoch wrote:
> Does anyone have filter code they're willing to share that removes any
> existing
> "*****SPAM*****" tag in the Subject: header?
This matches my subject lines like Subject: Free Shipping [SPAM: ***** (5.961)]
Adjust to match your own.
sub filter_end {
...
if ($Subject =~ /\[SPAM:.*\]/) {
$Subject =~ s/\s*\[SPAM:.*?\]//;
action_change_header("Subject", "$Subject");
}
--
Mickey Hill <[email protected]>
_______________________________________________
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