On Sun, 2003-09-21 at 19:15, Joe wrote: > Kevin Waterson wrote: > > > > >Can it be done without installing 3rd party software? > > > > > It can be easily done using postfix v2 from rawhide and adding a line of > text 2 main.cf and creating the file mime_header_checks with contents > shown below: > > > in main.cf: > mime_header_checks = regexp:/etc/postfix/mime_header_checks > > in mime_header_checks: > /^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.(lnk|asd|hlp|ocx|reg|bat|c[ho]m|cmd|exe|dll|vxd|pif|scr|hta|jse?|sh[mbs]|vb[esx]|ws[fh]|wav|mov|wmf|xl))"?\s*$/ > REJECT Attachment type not allowed. File "$2" has the unacceptable > extension "$3" Can a similar reject message be generated through the use of procmail ? -- Herbert Michael Kunzmann Binary Chaos Magician
Attachment:
signature.asc
Description: This is a digitally signed message part