Not blocking executables

Randal, Phil prandal at herefordshire.gov.uk
Mon Jan 29 16:14:48 CET 2007


>> I tried adding
>> 
>> deny    .exe$           No exe files            No exe files
>> 
>> But a test .exe still came in.  I have a feeling I am doing
>> something stupid.  Maybe the lack of caffeine this monday morning.
> 
> In the default distribution its added also, why not simply use that?
> 
> # These 2 added by popular demand - Very often used by viruses
> deny    \.com$          Windows/DOS Executable
>                                           Executable
> DOS/Windows programs are dangerous in email
> deny    \.exe$          Windows/DOS Executable
>                                           Executable
> DOS/Windows programs are dangerous in email
> 
> Nye,
> Raymond.

The above lines are in filename.rules.conf.

Neither filename.rules.conf nor filetype.rules.conf will be of any use
unless they are correctly referenced in MailScanner.conf's "Filename
Rules" and "Filetype Rules" (or indirectly via rules specified there).

Cheers,

Phil

-- 
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK


More information about the MailScanner mailing list