No matter how I configure spam assasin all I ever get in the email is X-Spam-Status: Yes, hits=7.3 required=5.0 Reproducible: Always Steps to Reproduce: Send spam email through my qmail smtp server. Spam assassin will scan and identify the email as spam. It will attempt to modify the email, but qmail keeps if from doing it's job. I think. Actual Results: Got the spam email with only X-Spam-Status no report, headers, rewritten subject etc. Expected Results: Done what ever my Spamassassin config told spamassassin what to do with the email. Show a report, rewrite subject, attach original message, etc. I think the problem lies in qmail-scanner-queue.pl somewhere around $ while (<SA>) { if ($spamc_options =~ /\-c/) { ($sa_score,$sa_max)=split(/\//,$_,2); $sa_max=~s/\n//g; } #X-Spam-Status: No, hits=2.8 required=5.0 if (/^X-Spam-Status: (Yes|No), hits=(.*) required=(.*)/) { $sa_status=1 if ($1 eq "Yes"); $sa_score=$2;$sa_max=$3; } print SOUT; } In the spamassassin subroutine/function.
First off I am closing the bug since IT IS NOT A BUG AT ALL All I had to do was get rid of the -c option to spamc in qmail-scanner-queue.pl. I guess by default during install that flag is set to speed up spamassassin. However it kills any sort of configuration with regard to modification of the email. So to fix edit qmail-scanner-queue.pl from my $spamc_options=' -c -f'; to my $spamc_options=' -f'; Now I can configure Spamassassin how ever I like, and it works. Happy camper. Thanks goes to Jason Staudenmayer <jasons at NJAQUARIUM dot ORG> Who quickly responded to my post on qmail-scanner-general mailing list.