]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/postfix/body_checks
Added the postfix body checks.
[people/teissler/ipfire-2.x.git] / config / postfix / body_checks
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