On Friday, July 02, 2004 8:24 PM "Payal Rathod" wrote:

> Is it possible to block file types using qmail-scanner?
qmail-scanner is for that!

>If yes how do I do it? I want to block exe, com etc. hereby reducing the
load by not invoking antivirus at all for those attachment types.

vi /var/spool/qmailscan/quarantine-attachments.txt

Uncomment the following lines :
.vbs 0 VBS files not allowed per Company security policy
.scr 0 SCR files not allowed per Company security policy
.wsh 0 WSH files not allowed per Company security policy
.hta 0 HTA files not allowed per Company security policy
.pif 0 PIF files not allowed per Company security policy

and add as many extensions you want to block. Careful, do not alter those
tab spaces b/w extensions and 0 and extension names. If you alter then your
following command fails.

# rebuild the perlscanner database

setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -g

Note that this and other basic configurations are available in the file
"/var/spool/qmailscan/quarantine-attachments.txt"

Dheeraj.



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to