Wolfgang Jeltsch wrote: > Hello, > > I use Courier MTA. Courier MTA replaces certain mailformed mails > with mails which contain some explaination and the original mail as > an attachment. The attachment of the mail you're just reading > contains such a mail produced by Courier MTA. > > Do those modifications done by Courier MTA confuse SpamAssassin's spam > detection algorithm? Does SpamAssassin look at attachments at all? > If yes, are they taken as seriously as message bodies? And what > about training the bayesian filter? Should I feed such > Courier-MTA-modified mails to sa-learn or should I better not do this?
Yes, those modified emails will confuse SA. They will also confuse your users. The best option is to tell Courier to leave the emails alone. In your /etc/courier/bofh file, add this line: opt BOFHBADMIME=accept I use Courier as well and SA works great for me. The main thing you will want to do is start up the spamd daemon and use spamc instead of spamassassin in maildrop. I think the main reason there is no SpamAssassin manual is that there are so many ways to use it. SpamAssassin is a fairly simple program. The hard part is usually making it work with your mail system. There is a book out (and I'm sure the author will speak up before too long). If you have any specific questions about interfacing SA with Courier, I'll be glad to help out. -- Bowie