Initial commit
This commit is contained in:
commit
11b84aa872
40 changed files with 995 additions and 0 deletions
10
files/postfix/conf.d/bogus_mx
Normal file
10
files/postfix/conf.d/bogus_mx
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Manages by Ansible
|
||||
|
||||
# bogus networks
|
||||
0.0.0.0/8 550 Mail server in broadcast network
|
||||
1.0.0.0/8 550 Mail server in IANA reserved network
|
||||
#10.0.0.0/8 550 No route to your RFC 1918 network
|
||||
127.0.0.0/8 550 Mail server in loopback network
|
||||
224.0.0.0/4 550 Mail server in class D multicast network
|
||||
#172.16.0.0/12 550 No route to your RFC 1918 network
|
||||
192.168.0.0/16 550 No route to your RFC 1918 network
|
10
files/postfix/conf.d/header_checks
Normal file
10
files/postfix/conf.d/header_checks
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Managed by Ansible
|
||||
|
||||
/^Content-(Disposition|Type).*name\s*=\s*"?([^;]*(\.|=2E)(
|
||||
ade|adp|asp|bas|bat|chm|cmd|com|cpl|dll|exe|
|
||||
hlp|ht[at]|
|
||||
inf|ins|isp|js|jse?|lnk|md[betw]|ms[cipt]|nws|
|
||||
\{[[:xdigit:]]{8}(?:-[[:xdigit:]]{4}){3}-[[:xdigit:]]{12}\}|
|
||||
ops|pcd|pif|prf|reg|sc[frt]|sh[bsm]|swf|
|
||||
vb[esx]?|vxd|ws[cfh]))(\?=)?"?\s*(;|$)/x
|
||||
REJECT Attachment name "$2" may not end with ".$4"
|
7
files/postfix/conf.d/header_checks_inbound
Normal file
7
files/postfix/conf.d/header_checks_inbound
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Managed by Ansible
|
||||
|
||||
# Remove external mail processing headers
|
||||
/^X-Spam-.*: .*$/ IGNORE
|
||||
/^X-Amavis-.*: .*$/ IGNORE
|
||||
/^X-Virus-.*: .*$/ IGNORE
|
||||
/^X-Rc-(Spam|Virus)+: .*$/ IGNORE
|
Loading…
Add table
Add a link
Reference in a new issue