adding Postfix Headers
parent
65a242c7cb
commit
952a3840ee
2 changed files with 27 additions and 0 deletions
26
Postfix-Headers.md
Normal file
26
Postfix-Headers.md
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
## Privatizing
|
||||||
|
|
||||||
|
Add the following to `/etc/postfix/main.cf`:
|
||||||
|
|
||||||
|
```
|
||||||
|
mime_header_checks = regexp:/etc/postfix/header_checks
|
||||||
|
header_checks = regexp:/etc/postfix/header_checks
|
||||||
|
```
|
||||||
|
|
||||||
|
Create the recipe `/etc/postfix/header_checks`:
|
||||||
|
|
||||||
|
```
|
||||||
|
/^Received:.*with ESMTPSA/ IGNORE
|
||||||
|
/^X-Originating-IP:/ IGNORE
|
||||||
|
/^X-Mailer:/ IGNORE
|
||||||
|
/^Mime-Version:/ IGNORE
|
||||||
|
/^User-Agent:/ IGNORE
|
||||||
|
```
|
||||||
|
|
||||||
|
Generate the hash map and reload:
|
||||||
|
|
||||||
|
```
|
||||||
|
postmap /etc/postfix/header_checks
|
||||||
|
postfix reload
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -42,6 +42,7 @@
|
||||||
- [[NFS 10G Tuning]]
|
- [[NFS 10G Tuning]]
|
||||||
- [[Netcat Replacements]]
|
- [[Netcat Replacements]]
|
||||||
- [[PAM Namespace]]
|
- [[PAM Namespace]]
|
||||||
|
- [[Postfix Headers]]
|
||||||
- [[Proxmox Doodads]]
|
- [[Proxmox Doodads]]
|
||||||
- [[RPM Info]]
|
- [[RPM Info]]
|
||||||
- [[Radeon Temperature]]
|
- [[Radeon Temperature]]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue