5 Feb
2014
5 Feb
'14
5:50 a.m.
On 30 Jan 2014, at 11:50 , Tim Dickson dickson.tim@googlemail.com wrote:
I am trying to filter mail with .exe and .zip attachments, to no success.
Are you using postfix with dovecot?
$ cat mime_headers.pcre /^\s*Content-(Disposition|Type).*name\s*=\s*"?(.*\.(ade|adp|bas|bat|chm|cmd|com|cpl|crt|dll|exe|hlp|hta|inf|ins|isp|js|jse|lnk|mdb|mde|mdt|mdw|msc|msi|msp|mst|nws|ops|pcd|pif|prf|reg|scf|scr\??|sct|shb|shs|shm|swf|vb[esx]?|vxd|wsc|wsf|wsh))(\?=)?"?\s*(;|$)/x REJECT Attachment name "$2" may not end with ".$3” $ grep mime main.cf mime_header_checks = pcre:$config_directory/mime_headers.pcre
-- "Conservatives want live babies so they can raise them to be dead soldiers" ~Carlin