Postfix Rejecting Emails – “Header_Checks Bad Syntax”
Cause
Incorrect regex in /etc/postfix/header_checks
Fix
Validate syntax
Example correct format:
/^Subject:.*(Large US\\$ amounts)/ DISCARD
Compile map:
postmap header_checks
Restart postfix.
Answers to common questions about your services, accounts and support.
Cause
Incorrect regex in /etc/postfix/header_checks
Fix
Validate syntax
Example correct format:
/^Subject:.*(Large US\\$ amounts)/ DISCARD
Compile map:
postmap header_checks
Restart postfix.
Still stuck? E-mail hello@inderkochar.in and I’ll help.