[Mimedefang] Message not scanned by SpamAssassin...
David F. Skoll
dfs at roaringpenguin.com
Thu Jun 27 16:09:02 EDT 2002
On Thu, 27 Jun 2002, Fox, Randy wrote:
> I've had similar issues and have been trying to work around them.
> As I recall, if MIMEDefang sees the Xscanned-By header, it doesn't
> scan the messages again.
Yikes! No no no! MIMEDefang ALWAYS scans messages coming in via
SMTP, otherwise a trivial way around it would be to forge an X-Scanned-By:
header.
What happens is if there is *already* an X-Scanned-By: header with the
same version number, MD won't add another one. If you want
reassurance that all messages are scanned on a particular host, add
this in filter_end:
sub filter_end {
action_add_header("X-Scanned-On", "my-hostname-goes-here");
}
> That's fine for messages that get stuck in
> the queue and sendmail ends up processing multiple times before the
> destination server is finally back on line.
Queued messages are not rescanned because they don't come into
the machine via SMTP. The rule is:
Anything coming in via SMTP is scanned.
Regards,
David.
More information about the MIMEDefang
mailing list