[Mimedefang] Automatically save spam/ham?

Ken Morley ken at jmtg.com
Wed Apr 14 12:06:57 EDT 2004


Our Spam Assassin/MIMEDefang Linux server "front ends" our Exchange server
and is working very well.

I would like to automatically save samples of spam and ham in a directory on
the SA/MIMEDefang server.  Does anyone have any suggested code and placement
for doing this?

Specifically, when SA/MIMEDefang encounters a message with a score less than
0.5, I would like to save a copy in /etc/mail/spamassassin/corpus/ham.  When
the score is above 6.0, I would like to save a copy in
/etc/mail/spamassassin/corpus/spam.  In both cases, I would let the original
message continue to be processed as usual (ie: sent to the user, etc.).

Thanks for any suggestions...

Ken Morley



More information about the MIMEDefang mailing list