Paul Schmehl via Postfix-users: > Is there a place in postfix where I could discard mail if it has > a spam score higher than say 4 or 5? I know that postfix hands the > mail off to spamassassin for processing and then receives it back > for delivery, but I'm unclear what checks could be implemented to > catch spam and discard it. > > This is what I could match on: X-Spam-Status: Yes, score=2.1 > > If the score was higher than some number (e.g >4) than reject the mail.
One could try some variant of /^X-Spam-Status: Yes, score=[5-9]/ Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org