|
Gene, This will only detect base64 attachments (there are three other encoding formats that might be used), and only ones that follow strict MIME protocol in the format specified. This is not by any means a safe way to tag all Zip attachments, especially for virus blocking, however it will catch most, especially the legitimate ones. Matt Gene Head wrote: Scott, I came up with this filter to trigger on emails with attachments with a .zip extension. I created a file called ziptest and added it into the global.cfg file as a filter named zipper.Ziptest.txt # Zip test HEADERS 0 CONTAINS Content-Type: application/x-zip BODY 0 CONTAINS Content-Type: application/x-zip In the .junkmail file for the domain or the individual user in the domain I put an action to take if the email failed this test. During my limited amount of testing it did stop the emails with a .zip file attached. Are you aware of any file extensions that may get caught with this filter that isn't a .zip? Gene Head ACCRAM Inc. MCP,Net+,A+,CCNA,CCDA [EMAIL PROTECTED] [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of R. Scott Perry Sent: Thursday, February 26, 2004 7:24 AM To: [EMAIL PROTECTED] Subject: Re: [Declude.Virus] file extensions banned by domain -- ===================================================== MailPure custom filters for Declude JunkMail Pro. http://www.mailpure.com/software/ ===================================================== |
