Filename rules - blocking whole message

Denis Beauchemin Denis.Beauchemin at
Wed Nov 22 02:06:34 GMT 2006

Jozef Harman a écrit :
> Dear all,
> I would like to completely block/delete WHOLE email with a .gif 
> attachment.
> I have added this to  filename.rules.conf:
> deny+delete \.gif$  Maybe gif spam  -
> This is just removing .gif  attachments. I would like to BLOCK/NOT 
> DELIVER message with the .gif attachment.
> Is this somehow possible ?
> Many thanks
> Jozef Harman
I think you would have to go the SA way and write a rule that would 
match a gif attachment and assign it a large enough score to have the 
email deleted.  There is a howto in the wiki.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3595 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the MailScanner mailing list