I have a mail server running postfix for my youth movement. I use the mailserver to create groups that everyone can mail to so the right persons receive this mail. It's a relay server.

I noticed that a lot of spam had been send to this server and this made the server listed in different blacklists. I have now installed spamassassin to stop the spam, but now spamassassins sends the mails throught with a modified subject.

Is there a way to not send these mails to the user, but keep a log on the server so I can see when a mail has beet wrongfully marked as spam?

  • Do you mean something like spam quarantine? Instead alters subject, you want spamassasin put it in quarantine vault? – masegaloeh Jun 30 '14 at 22:20
  • Yes, this is exactly what I am looking for. I have found some ways to do this here, but both projects are no longer maintained. Is there any newer add-on? – Jerodev Jul 1 '14 at 6:36

Spamassasin primary purpose is classifying email (spam or not). To handle quarantine vault, you can use additional package such as amavis, maia or SAQ.

For more info, please check official documentation

  • I have installed amavis and included it in postfix. But I still get mails from spamassassin where it says spam has been detected – Jerodev Jul 2 '14 at 15:01
  • amavis had several configuration to quarantine spam or not based on spam score. More info www200.pair.com/mecham/spam/amavisd-settings.html – masegaloeh Jul 3 '14 at 0:59
  • But where do I put these settings. I can't seem to find a config file for amavis. – Jerodev Jul 3 '14 at 6:24
  • depending your OS. Likely in /etc/amavisd.conf – masegaloeh Jul 3 '14 at 6:30
  • I am using ubuntu server 12.04. I have one folder, /etc/amavis and the only content in this folder is conf.d en_US README.l10n. Should I create the config myself? – Jerodev Jul 3 '14 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.