PDA

View Full Version : Spamassassin , amavis on debian etch


crashlab
21st January 2008, 18:23
Hi, I've follow your guide: http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch _p4

Unfortunately it block my spam but I would that it keep spam and add subject ***SPAM*** on email marked as spam.
So, I've changed you configuration: /etc/amavis/conf.d/20-debian_defaults in:

$final_virus_destiny = D_DISCARD; # (data not lost, see virus quarantine)
$final_banned_destiny = D_BOUNCE; # D_REJECT when front-end MTA
$final_spam_destiny = D_PASS;
$final_bad_header_destiny = D_PASS; # False-positive prone (for spam)

Now, I receive SPAM emails but without subject: ***SPAM***

Where I'm wrong?

falko
22nd January 2008, 22:13
Can you restart amavisd and take a look at /var/log/mail.log? amavisd puts lots of useful details in there when it starts, e.g. what modules it loads. Is SpamAssassin listed there?
Are there any errors in your mail log?