Greg Allen wrote:
I have a motive for my madness. I installed the Clamav plugin for postfix
and it works great. Only problem with it is that it can not dump viruses,
it only tags them with a score. So, I want to tell SA to score any message
tagged by Clamav for a score of 100 (or whatever) Then, when I dump high
scores over 15, 20 or whatever..., I will be deleting the virus emails at
the same time as the high ranking spam.


What version of Postfix are you using? What method of integration are you using for SA and Clamav?

You might be able to use the built-in content inspection of Postfix. Something like:

In /etc/postfix/main.cf:
header_checks = regexp:/etc/postfix/spamheadercheck

In /etc/postfix/spamheadercheck:
/^X-Spam-Status: Yes/ REJECT

Reply via email to