Open Jaymon opened 8 years ago
create /etc/postfix/header_checks.regexp with contents:
/etc/postfix/header_checks.regexp
/^X-Spam-Level: \*{7,}.*/ DISCARD spam
And then add this to main.cf:
main.cf
header_checks = regexp:/etc/postfix/header_checks.regexp
And restart postfix:
postfix reload
This should discard spam above score 7 so it doesn't even get forwarded, spam between 5-7 will still get forwarded with SPAM in the subject.
I'm testing this on my server, which I did manually, but it needs to be automated
via and via
create
/etc/postfix/header_checks.regexp
with contents:And then add this to
main.cf
:And restart postfix:
This should discard spam above score 7 so it doesn't even get forwarded, spam between 5-7 will still get forwarded with SPAM in the subject.
I'm testing this on my server, which I did manually, but it needs to be automated
via and via