[Mimedefang] Run MIMEDefang in a Debug Mode to test SpamAassassin

Kayne Kruse kkruse at pointone.com
Thu Feb 21 17:34:37 EST 2008

> From: mimedefang-bounces at lists.roaringpenguin.com 
> [mailto:mimedefang-bounces at lists.roaringpenguin.com] On 
> Behalf Of Stephen Gurnick
> and run it through SpamAssassin manually using the command: 
> "spamassassin -t < spamemail" it will get marked 
> appropriately as spam.

You should call spamassassin like this:

spamassassin -p /etc/mail/sa-mimedefang.cf -t < email

Its very important to use that -p option pointing to your
sa-mimedefang.cf, otherwise its not using mimedefangs settings for
Spamassassin, but SA's default file.  They are not the same file. ;D  


More information about the MIMEDefang mailing list