> -----Original Message----- > From: Joe Jenkins [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 12, 2004 1:32 PM > To: users@spamassassin.apache.org > Subject: SpamAssassin not following rules set in procmailrc > or local.cf > > I am running SA 3.0 on a Mandrake 10.1 server with Procmail / Sendmail > spamd is running and I have set up my procmailrc to send all > stopped spam to a > file: /var/spool/mail/STOPPED_SPAM (procmailrc at end of this post) > > Also, I have set up local.cf to rewrite the subject. (see > config below) > SNIP > > -/etc/mail/spamassassin/local.cf------------------------------ > --------------------------------------------------------------- > > # SpamAssassin config file for version 2.5x > # generated by http://www.yrex.com/spam/spamconfig.php (version 1.01) > > # How many hits before a message is considered spam. > required_hits 5.0 > > # Whether to change the subject of suspected spam > rewrite_subject 1 > > # Text to prepend to subject if rewrite_subject is used > subject_tag *****SPAM***** > > # Encapsulate spam in an attachment > report_safe 2 > > # Use terse version of the spam report > use_terse_report 0 > > # Enable the Bayes system > use_bayes 1 > > # Enable Bayes auto-learning > auto_learn 1 > > # Enable or disable network checks > skip_rbl_checks 0 > use_razor2 1 > use_dcc 1 > use_pyzor 1 > > # Mail using languages used in these country codes will not be marked > # as being possibly spam in a foreign language. > # - english > ok_languages en > > # Mail using locales used in these country codes will not be marked > # as being possibly spam in a foreign language. > ok_locales en >
Hi Joe, It looks like your config needs to be updated, some options have changed since 2.5x came out. ;) >From the 3.0.0 UPGRADE doc: - The "rewrite_subject" and "subject_tag" configuration options were deprecated and are now removed. Instead, using "rewrite_header Subject [your desired setting]". e.g. rewrite_subject 1 subject_tag ****SPAM(_SCORE_)**** becomes rewrite_header Subject ****SPAM(_SCORE_)**** HTH, matt