Hello postfix users!
Im trying to understand how to filter out with postfix checks email
containing in its body :
/--XXX
Content-Type: application/x-msdownload;
name=attached\
.bat
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=attached\
.bat
echo Your system is vulnerable
pause
--XXX--/
I trying to filter out unwanted mails with no bat, exe and other
potential unwanted files. But im not able to filter out a few mails from
this test -> http://www.nospamtoday.com/emailsecurity/ I filter out one
bat file and mail with test virus but Im not able to filter out that
attachment (its included into e-mails body). Im using for now postfix +
mailscanner (with spamassasin), dovecot imap + sieve. Im kinda newbie in
postfix field.
So the question is - how can I filter out that unwanted attachment or
just dispose whole e-mail if it containts that content type.