<<< Date Index >>>     <<< Thread Index >>>

mailfilter+mutt for to block *.exe



Hi,

 I use mutt + mailfilter, I have created rules to block mesages by
 subject and sender, it works. 
 I have created rules to block mesages with file *.exe, it isn't
 working.
 
I try
 
 DENY=^Content-(Type|Disposition):.*(file)?name=.*\.exe
 
and 
 
 
DENY=^Content-(Type|[Dd]isposition):.*(file)?name=.*\.(asd|bat|chm|cmd|com|dll|exe|gif|hlp|hta|js|jse|lnk|ocx|pif|scr|shb|shm|shs|vb|vbe|vbs|vbx|vxd|wav|wsf|wsh)
 
and

 
DENY=^Content-(Type|Disposition):.*(file)?name=.*\.(asd|bat|chm|cmd|com|dll|exe|gif|hlp|hta|js|jse|lnk|ocx|pif|scr|shb|shm|shs|vb|vbe|vbs|vbx|vxd|wav|wsf|wsh)
 
in .mailfilterrc but the msg isn't deleted...

How does it work?

Thanks

Luiz

--
 http://www.lujz.org/lfpor/