[linux-elitists] postfix winders executable reject

Eugen Leitl eugen@leitl.org
Thu Sep 25 11:58:37 PDT 2003


I've just stuck 

/filename=\"?(.*)\.(bat|chm|cmd|com|do|exe|hta|jse|rm|scr|pif|vbe|vbs|vxd|xl)\"?$/
   REJECT For security reasons we reject attachments of this type

in /etc/postfix/mime_header_checks.regexp

after adding

mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp

in /etc/postfix/main.cf

but there seems to be a common signature in first 64 Bytes of all
Windows executables. Somebody have a Postfix recipe???
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://allium.zgp.org/pipermail/linux-elitists/attachments/20030925/032c16ac/attachment.pgp 


More information about the linux-elitists mailing list