On 3/31/2010 12:34 PM, Michael Weber wrote:
> Greetings!
>
> I upgraded SA from version 3.2.5 to 3.3.1 this morning.
>
> Since that time all of the emails that are marked as spam are being converted 
> to attachments.
>
> One other oddity.  If you look close at the rewrite_header Subject line, you 
> will count three %'s after the word SPAM.  This is a change I made to test if 
> SA was reading this config file at all.  It is.  My email subject lines went 
> from %%SPAM%% to %%SPAM%%% just as expected, but the required score stayed at 
> 5.0 and didn't change to 50.0.
>
> I re-checked the report_safe setting in the local.cf file and it is still set 
> to zero as it was before.  I also checked for another cf file changing that 
> parameter but there are no other cf files that mention it.  (Or .pre files 
> for that matter.)
>
> The user_prefs file in the home directory has nothing that is not commented 
> out and has not been changed from the default.
>
> I am calling spamc from a postfix filter line in master.cf, but that hasn't 
> been changed since before the upgrade.
>
> As always, what am I missing?
>   

That "should" work fine.

Did you run spamassassin --lint, to see if SA can parse the
configuration files? (this should run with no output, but if there's a
parse error, it will complain) SA could be tripping on an illegal
character and skipping several lines of your config file...

Given it's taking the rewrite_header option, it's obvious you've got the
right local.cf and restarted spamd, etc, so there's something else amiss.




> TIA!
>
> Here is my /etc/mail/spamassassin/local.cf file:
> =======================================================================
>
> rewrite_header Subject           %%SPAM%%% (_SCORE_)
>
> add_header all Level _STARS(X)_
>
> # required_score 5.0
> required_score 50.0
>
> report_safe 0
>
> ok_locales              en
> # ok_languages          en
>
>
> #   Use Bayesian classifier (default: 1)
> #
> use_bayes 1
>
> #   Bayesian classifier auto-learning (default: 1)
> #
> bayes_auto_learn 0
>
>
>
>
>
>   

Reply via email to