The file is called quarantine-events.txt
To quarantine a certain type of file for example .bat files:
.bat SIZE=-1 BAT files not allowed per Company security policy
If you want to block all attachments then you use:
.* SIZE=-1 Attachments Quarantined per Company security policy
remember between the first, second, and third fields, you have to use Tabs NOT
spaces or it will not work. The format is listed below.
<filename><TAB>SIZE=<size in bytes><TAB><Description of whatever this
particular does>
REMEMBER: run "/var/qmail/bin/qmail-scanner-queue.pl -g" after the
quarantine-attachments.txt modified or your new settings will not take effect.
It should come back with number of rules or something and not an error.
Scott
Mário Gamito <[EMAIL PROTECTED]> wrote: Date: Sun, 01 Apr 2007 12:32:55 +0100
From: Mário Gamito <[EMAIL PROTECTED]>
To: qmail-scanner-general@lists.sourceforge.net
Subject: [Qmail-scanner-general] Block files from extension
Hi,
How can i block files from their extension ?
It's been a long time since using qmail-scanner.
There used to be a file named quarantine-attachments.txt where we can
insert, for example:
.exe 0
to block .exe files.
Now, it seems that this isn't the way anymore.
Can someone point me in the right direction, please ?
Any help would be appreciated.
Warm Regards,
--
:wq! Mário Gamito
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general