posted Jan 11, 2010, 3:55 PM by Chris Franklin

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. 

Requirements (Normal Version):
1. perl
2. bash (grep,rm)

Requirements (Pure Perl Version):
1. perl
2. bash (grep,rm)

Install How To: 
1. Edit 
2. Add in this line : 
3. Download into your xmails filters dir.
4. chmod it (at least) 111
5. Done

Warning : 
If your planning on using this filter on a non-bash (aka windows) system.
Use the Pure-Perl one. You'll be able to tell the differance between with
by there file names. And if you do use the Pure-Perl just rename it after
DL'ing to

1-1 of 1