Hi! I would like my mail server to reject incoming mail based on the spam score of the mail. I use Postfix, SpamAssassin and Procmail. Is this possible?
Currently, SpamAssassin assesses all mail and assigns a spam score, adding it to the mail headers. Procmail then filters the mail by reading the spam score and delivers it appropriately. I have it set up to deliver mail with a score of 5+ to the Spam folder, and all mail with a score of 20+ is delivered to the users' Trash folder, but instead of delivering mail with scores of 20+, I would like Postfix to reject it. Don't know if it's possible with my current setup, but any input is appreciated.