PDA

View Full Version : attachments filter


rew
01-27-2005, 11:27 AM
Hi everyone - i'm new here ( this is my first post).
I want to know how i can filter the attachments of my mails in the qmail server (is under freebsd). I mean i want qmail to refuse, delete or put in a quarantine folder all the attachments with extension *.exe, *.com, *.src, *.whatever

thanks

hundri_106
01-28-2005, 03:14 AM
have a look at qmail-scanner. It's all you need.

rew
01-28-2005, 07:30 AM
I found this in qmail-scanner-queue.pl
#more qmail-scanner-queue.pl
.........
...........
# DB file (without extension) where bad filenames are kept.
# You edit $db_filename.txt, and "qmail-scanner-queue.pl -g" generates $db_filename.db
my $db_filename="$scandir/quarantine-attachments";
quarantine-attachments.txt
.........
...........

i did the changes in quarantine-attachments.txt, , I updated the database and is working fine


Thanks a lot

cheers

rew
01-28-2005, 07:31 AM
topic can be closed :)