]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Added the postfix body checks.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 3 Nov 2007 20:16:46 +0000 (20:16 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 3 Nov 2007 20:16:46 +0000 (20:16 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1051 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/postfix/body_checks [new file with mode: 0644]
config/rootfiles/packages/postfix

diff --git a/config/postfix/body_checks b/config/postfix/body_checks
new file mode 100644 (file)
index 0000000..e2eeacc
--- /dev/null
@@ -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
index 871b6596f5b5d058d0c533ba5f6f2c07212abaaa..15594274735b67c64742223ddb29de27a3532e25 100644 (file)
@@ -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