0

I have a running Mailserver using Postfix and Dovecot. I also configured spamassasin like in this tutorial. Spam is properly marked as such and apropriate headers are added.

Now I want to reject the spam-mails based on the result of spamassasin. How could i achieve this. I would prefer a solution without using amavis cause of its very complex configuration.

I tried it using header_checks but this does not work, maybe because the spamassasin content_filter is executed after the header_check.

loewexy
  • 33
  • 5
  • Have you checked [How to make spamassasin reject mail based on score](http://serverfault.com/questions/146855/how-to-make-spamassasin-reject-mail-based-on-score)? – Hang Mar 30 '16 at 06:29
  • Yes but the only solution there is the usage of amavis. I would prefer a solution without it. – loewexy Mar 30 '16 at 17:46

0 Answers0