Mailing List CGatePro@mail.stalker.com Message #104999
From: Tom Rymes <trymes@rymes.com>
Subject: Re: block .zip attachments
Date: Tue, 13 May 2014 08:32:40 -0400
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
Nicolas,

Can you provide some examples of a rule I can implement with Pollustop that would reject e-mails with ZIP attachments during SMTP? Ideally the rejection message would specify why the message was rejected?

Thank you,

Tom

On 05/09/2014 12:45 PM, Nicolas Hatier wrote:

http://www.niversoft.com/products/cgscripts/#find_attachments
or the pro (fast) version at
http://www.niversoft.com/products/cgscripts/pro#find_attachments

If you run PolluStop, FindAttachment is usually not required, as the
findattachments module is included in PolluStop, and enabled by default.
Just filter out the extensions you don't want using rules such as

Header Field  IN X-AttachExt: zip,X-AttachExt: zip.pw,X-AttachExt: exe
Action: Reject with...

If you choose to reject, maybe it would be a good idea to setup the
queue to be synchronous, so you can reject the messages during the SMTP
session instead of bouncing them


Note that most of those zip files are virus-infected, maybe an antivirus
would be better (or both the blocker and the AV):
http://www.niversoft.com/products/cgscripts/cgpclamav

Regards
Nicolas Hatier
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster