You have to have qmail-scanner installed.
I suppose you do.
-- Mário Gamito
Mário Gamito wrote:
night duke wrote:
Hi i wish to know if it's possible to filter on email files like
.mp3 .exe .vbs .scr .com .pif etc... with spamassassin?
Yes, it's possible.
Let's say you want to block .exe files.
Edit file /var/spool/qmailscan/quarantine-attachments.txt
and insert the line
.exe 0
You van filter for subject:
I am.*Bad
Or for RCPT TO and MAIL FROM from the message header:
[EMAIL PROTECTED] Virus-MAILFROM: You're blocked.
This prevents messages from [EMAIL PROTECTED] arriving
Hope it helps.
Warm Regards,
Mário Gamito