At 04:53 PM 8/3/2004, Steve Suhre wrote:
I've just installed SpamAssassin 3.0 on a unix server (FreeBSD) filtered through procmail. It works fine, but only if I send the spam to a separate file. If I try to have SA rewrite the header and insert a spam tag in the subject field it just allows everything through. I've tried several methods; rewrite_header, rewrite_subject, subject_tag... I've tried them in the .procmailrc file, and also in the local.cf file for SA. Any suggestions?

Well *clearly* the .procmailrc file is NOT the place to put SA settings.

1) put them in /etc/mail/spamassassin/local.cf
2) run spamassassin --lint *every* time you edit this file. If it complains, fix the problem.
3) if you use spamd, restart it *every* time you edit this file.
4) consult perldoc Mail::SpamAssasin::Conf or man Mail::SpamAssasin::Conf for the proper options for your SA version.



the proper syntax for SA 3.0 would appear to be:

        rewrite_header subject *SPAM*

However, if spamassassin --lint finds errors with any part of your config, all bets are off as SA may ignore *large* parts of your configfile when recovering from the error.





Reply via email to