Dears,
I'm using amavis 2.5.2 and my current setup blocks any banned content,
notifying the mail recipient about that.
This is mostly fine, but when a new trojan, not yet detected either by
clamav and bitdefender, starts to be received. Most of the times, these
mails earn a spam score well above kill level, but since their content is
also banned and CC_BANNED > CC_SPAM, they are quarantined AND the recipient
gets notified.
Now, I would prefer to silently kill them and I was wondering if this can be
simply accomplished by changing the "contents_category constants" (approx @
lines 187 to 196 in amavisd), such that CC_BANNED < CC_SPAM.
I would basically change this:
sub CC_CATCHALL() { 0 }
sub CC_CLEAN () { 1 }
sub CC_MTA () { 2 }
sub CC_OVERSIZED() { 3 }
sub CC_BADH () { 4 }
sub CC_SPAMMY() { 5 }
sub CC_SPAM () { 6 }
sub CC_UNCHECKED() { 7 }
sub CC_BANNED() { 8 }
sub CC_VIRUS () { 9 }
to this:
sub CC_CATCHALL() { 0 }
sub CC_CLEAN () { 1 }
sub CC_MTA () { 2 }
sub CC_OVERSIZED() { 3 }
sub CC_BADH () { 4 }
sub CC_SPAMMY() { 5 }
sub CC_BANNED() { 6 }
sub CC_SPAM () { 7 }
sub CC_UNCHECKED() { 8 }
sub CC_VIRUS () { 9 }
This way CC_BANNED would be 6, while CC_SPAM would be 7, thereby CC_BANNED <
CC_SPAM and a non-virus spam mail would be killed regardless of its "banny"
content.
Is this enough? Is there any side-effect which I must account of?
Regards,
-------------------------------------
Giampaolo Tomassoni - I.T. Consultant
Piazza VIII Aprile 1948, 4
I-53043 Chiusi (SI) - Italy
Tel/Ph: +39-0578-21100
MAI mandare un messaggio a:
NEVER send an e-mail to:
[EMAIL PROTECTED]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/