I've set up my first mail server that uses amavis. First off, I don't really see the point in amavis if I don't care about viruses. I don't use clamav as it's a huge RAM hog. SpamAssassin has worked just fine before on its own without amavis.
Just this morning I caught some emails stuck in something called a quarantine (amavis feature). I don't know how to disable the quarantine feature entirely. I'm wondering how to get back the default SpamAssassin behavior where it does nothing more than add ***** SPAM <score> *****
to the subject line, and drops it into my inbox.
Server details: Debian 7.5, postfix 2.9.6, amavisd-new 2.7.1, spamassassin 3.3.2.
You should put this options on your
/etc/amavis/conf.d/50-user
file:Configure the SPAM confidence level to the ones accordingly to your needs.
If you don't want to manage your score levels, you can set the quarantine directories to undefined ones. To do this add those lines in the same file:
If you want to check the information or take a look at additional information here's the Quarantine block on the AMaViS website: http://www.amavis.org/amavisd-new-docs.html#quarantine
The best solution I found was simply to put this in
/etc/amavis/conf.d/50-user
:This way bad e-mails are either marked SPAM or INFECTED, but still delivered to the users, without being rejected, blocked nor quarantined.
See AMAVIS documentation