make extra header checks configurable

This commit is contained in:
psy 2021-01-12 16:12:49 +01:00
parent 6d9f604b93
commit 41af92aea4
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
5 changed files with 18 additions and 11 deletions

View file

@ -67,6 +67,11 @@ mydestination: []
# Check quota with dovecot at 127.0.0.1:12340
check_dovecot_quota: false
# Header checks (only header_checks and mime_header_checks supported), see http://www.postfix.org/header_checks.5.html
# privacy related headers are removed in any case, you can add more like this:
add_header_checks:
- { regexp: "^Mime:", action: "IGNORE" }
```
**postfixmaps**