Hello List

I am trying to use milter-regex to filter attachements on our work email server 
running Sendmail on OpenBSD 3.3.

I have compiled Sendmail with milter. Installed milter-regex from the port and started 
it. My milter-regex.conf looks like this:

body ,^Content-Type: application.* name=".*\.(scr|com|bat|pif|lnk|exe)",i

but it's not right because it's not working to reject attachments of those types.

Any suggestions

Thanks
Mark

P.S. if I make my conf file like this:

body ,^Content-Type: application,i

it rejects all attachments so I know the installation is correct but I only want to 
reject attachments of the types specified above.

Reply via email to