Re: [Exim] ClamAV and Exim4

Top Page
Delete this message
Reply to this message
Author: Jim Archer
Date:  
To: Andreas Metzler, exim-users
Subject: Re: [Exim] ClamAV and Exim4
--On Wednesday, February 04, 2004 9:59 AM +0100 Andreas Metzler
<eximusers@???> wrote:

> When exiscan-acl invokes sa it just passes the message to it and
> checks the results, it does not replace the message with the
> modified message sa produces.


Okay, but where does sa get its conf parameters from in this case? For
example, using exiscan-acl I have sa marking spam with headers and such,
but how does it know what score above which to mark? I specified the
rejection/deny score of 10 points, so I can see how that works. But the
configuration below only marks the subject line and adds the special
Is-Spam header sometimes (I think above 5 points).



# Invoke Spam Assassin on all mail

  # put headers in all messages (no matter if spam or not)
  warn  message = X-Spam-Score: $spam_score ($spam_bar)
      spam = nobody:true


  warn  message = X-Spam-Report: $spam_report
      spam = nobody:true


  # add second subject line with [SPAM] marker when message
  # is over threshold
  warn  message = X-New-Subject: [SPAM] $h_Subject:
      spam = nobody


  warn message = X-Is-Spam: YES
    spam = nobody:true


  # reject spam at high scores (> 10)
  deny   message = This message scored $spam_score spam points.
       spam = nobody:true
       condition = ${if >{$spam_score_int}{100}{1}{0}}