Anti-Attachment‎ > ‎

Info

posted Jan 11, 2010, 3:41 PM by Chris Franklin   [ updated Jan 11, 2010, 4:17 PM ]
This Filter will stop all unwanted file type (by extention) from getting into
your mail server. (which in my option save your system alot of resources due
to you not having to Virus scan or spam scan unwanted file types). If a
invaild attachment in found in the email the server rejects the email and send
back this error to the remote sender. 

INVAILD file extenstion $Attachment on Attachment 

The $Attachment will be replaced by the found invaild extention. 

News :
The difference between this andattachment_block.pl is that this version
isn't really windows friendly as it relies on some basic bash programs 
to help make up for perls slowness in dealing with Large files.


Install How To: 
1. Edit filters.post-data.tab 
2. Add in this line : 
"[MAILROOT]/filters/anti-attachment.pl"[TAB]@@FILE
3. Download attachment_block.pl into your xmails filters dir.
4. chmod it (at least) 111
5. Done
ċ
anti-attachment.pl
(2k)
Chris Franklin,
Jan 11, 2010, 3:42 PM
Comments