mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-15 13:32:59 +02:00
Added the postfix body checks.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1051 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
1
config/postfix/body_checks
Normal file
1
config/postfix/body_checks
Normal file
@@ -0,0 +1 @@
|
||||
/^((Content-(Disposition: attachment;|Type:).*|\ +)| *)(file)?name\ *=\ *"?.*\.(lnk|asd|hlp|ocx|reg|bat|c[ho]m|cmd|exe|dll|vxd|pif|scr|hta|jse?|sh[mbs]|vb[esx]|ws[fh]|wmf)"?\ *$/ REJECT attachment type not allowed
|
||||
@@ -2,6 +2,7 @@ etc/aliases
|
||||
#etc/postfix
|
||||
#etc/postfix/LICENSE
|
||||
#etc/postfix/TLS_LICENSE
|
||||
etc/postfix/body_checks
|
||||
#etc/postfix/bounce.cf.default
|
||||
etc/postfix/header_checks
|
||||
etc/postfix/main.cf
|
||||
|
||||
Reference in New Issue
Block a user