This post makes some assumptions, for example that you use Postfix, Ubuntu, and regexp format for your header_checks, etc. but I find that testing new rules isn’t all that well documented and I always forget how to do this. Testing header checks with postmap -q: For a single line: postmap -q “From: my spammer” regexp:/etc/postfix/header_checks […]
