SixArm.com » Postfix » Checks for spam blocking
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CONTRIBUTING.md
README.md
body_checks.txt
check_helo_access.txt
check_recipient_access.txt
check_sender_access.txt
header_checks.txt
mime_header_checks.txt
update

README.md

SixArm.com » Postfix » Checks for spam blocking

Postfix checks for spam blocking.

Example use in main.cf

header_checks = regexp:/etc/postfix/custom/header_checks.txt mime_header_checks = regexp:/etc/postfix/custom/mime_header_checks.txt body_checks = regexp:/etc/postfix/custom/body_checks.txt

To test the expressions:

postmap -q - pcre:header_checks.txt < msg postmap -q - pcre:body_checks.txt < msg

Also see the repo sixarm_postfix_scripts which have shortcut scripts:

./postfix-header-checks msg ./postfix-body-checks msg

See the postfix regular expression documentation: http://www.postfix.org/pcre_table.5.html