[Mimedefang] Message not scanned by SpamAssassin...

Fox, Randy Randy_Fox at csgsystems.com
Thu Jun 27 17:00:23 EDT 2002

My misunderstanding....  Thanks for clearing that up.


-----Original Message-----
From: David F. Skoll [mailto:dfs at roaringpenguin.com]
Sent: Thursday, June 27, 2002 3:09 PM
To: mimedefang at lists.roaringpenguin.com
Subject: RE: [Mimedefang] Message not scanned by SpamAssassin...

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:

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.



More information about the MIMEDefang mailing list