[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virus emails



On Friday 19 September 2003 18:14, Mike Hommey wrote:

> helps catching 95%... But the bandwidth is still used... I'm still looking
> for a pure MTA solution...

root@zbasel:/etc/postfix# cat mime_header_checks 
/^Content-(Disposition|Type).*name\s*=\s*"?(.*\.(
        ade|adp|bas|bat|chm|cmd|com|cpl|crt|dll|exe|hlp|hta|
        ins|isp|js|jse|lnk|mdb|mde|mdt|mdw|msc|msi|msp|mst|nws|
        ops|pcd|pif|prf|reg|scf|scr|sct|shb|shs|shm|
        vb|vbe|vbs|vbx|vxd|wsc|wsf|wsh))\"?\s*$/        REJECT Attachment name 
"$2" may not end with ".$3"

This still uses the bandwith to the mailserver, but rejects at the DATA stage, 
so no bounces are generated (and go from your site to innocent third 
parties).

All I get are the annoying 'a virus was found in a message to you' emails. I 
wish people wouldn't use virus scanners...

cheers
-- vbi

-- 
featured product: the Apache web server - http://httpd.apache.org

Attachment: pgpIx8pliaXqs.pgp
Description: signature


Reply to: