--- On Sun, 1/31/10, Tony <[email protected]> wrote:
> ... My filter is here:
> http://www.zen187664.zen.co.uk/spam/mimedefang-filter-rejecting.txt
if ($hits >= 5) {
action_bounce("Rejected: my server thinks your email is spam.");
return;
}
This section, if taken, NEVER writes a "[SPAM]" tag to the subject, nor does it
write a "X-Spam-Score:" header. This should cause an SMTP rejection if called
directly from the MTA.
action_change_header("X-Spam-Score", "$hits ($stars) $names");
# Tag subject if over threshold
if ($hits >= $req) {
action_change_header("Subject", "[Spam: $hits] $Subject");
}
This section, assuming that "$req" is less than 5 so that the code is reached,
will tag spam but LET IT PASS.
If spams are passing and not tagged, are you doing something stupid like
calling MimeDefang from your mail DELIVERY agent?
_______________________________________________
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