condition virus and SA Score>6?

Dhawal Doshy dhawal at netmagicsolutions.com
Fri Feb 9 14:55:33 CET 2007


Dhawal Doshy wrote:
> Koopmann, Jan-Peter wrote:
>> Hi,
>>
>> I want to not deliver mails if a virus is detected and the SA score is 
>> above 6 (but lower than high scoring spam). Any quick idea of how to 
>> achieve this?
>>
>> If SA score is below the threashold the virus should be disarmed and 
>> the mail still delivered with virus warning.
> 
> Try using a ruleset for 'Spam Actions'..
> Spam Actions = %rules-dir%/spam.action.rules
> 
> Virus:    default    store/delete/whatever
> FromOrTo:    default    deliver

However this will deliver the virus without disinfecting (if this idea 
ever works in the first place). methinks you also ought to change to 
'Deliver Disinfected Files = yes' and 'Deliver Cleaned Messages = yes'

- dhawal (replying to myself.. confirmed postfix user)


More information about the MailScanner mailing list