Require a specific email header field with postfix
- by Stefan Amyotte
I want to setup postfix so that email lacking a specific email header are rejected.
Is it possible to use header_check to reject emails that do not include a specific header field entry.
The solution that I believe may work is the following:
/^x-tituslabs-classifications-30: (<>)?$/ REJECT Classification field required
I want to make sure that any email going through postfix contains a x-tituslabs-classifications-30 entry.