Over the past few weeks I have been playing with postfix, amavis-new and spamassassin on a Debian box. This box sits in front of a Microsoft Exchange 2003 server to help filter out the ridiculous amount of spam and additional unwanted e-mail. However, I have noticed that the spamassassin headers are not appearing in the e-mails my users receive. I know of the spamassassin directive to limit the amount of headers a user sees, but I also know that their is one header, the version header if I remember correctly, that the user will always see due to whatever reason. Even this header is absent from the e-mail headers. I am at a loss as to why this is occuring. I have told amavis-new to perform spam filtering by editing the /etc/amavis/conf.d/15-content_filter_mode with the following:
In addition to my puzzlement I see the following in the mail.log file when valid e-mail is either rejected or let through respectively:
# Default SPAM checking mode
# Uncomment the two lines below to enable it back
@bypass_spam_checks_maps = (
\%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re);
amavis: (25967-09) Blocked SPAM
Is there something I'm missing? I was under the impression amavis-new was basically the glue for postfix and spamassassin to function as most people want them to function. As for one last reason why I suspect spamassassin is not functioning, my users still get a ridiculous amount of spam.
amavis: (25730-08) Passed CLEAN
On one last note my /etc/postfix/master.cf file contains the following:
# Amavis code from flakshack.com/anti-spam/wiki
smtp inet n - n - 20 smtpd
#This is the after-filter smtpd, it receives mail from amavisd to port 10025
127.0.0.1:10025 inet n - n - - smtpd
Thanks for all the help.