>From /etc/exim.conf:
[snip]
acl_check_content:
# Reject virus infested messages.
deny message = This message contains malware
($malware_name)
demime = *
malware = */defer_ok
deny message = This message contains malformed MIME
($demime_reason)
demime = *
condition = ${if
>{$demime_errorlevel}{2}{1}{0}}
# Always add X-Spam-Score and X-Spam-Report headers,
using SA system-wide settings
# (user "nobody"), no matter if over threshold 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 X-Spam-Flag if spam is over system-wide
threshold
warn message = X-Spam-Flag: YES
spam = nobody
# Reject spam messages with score over 10, using an
extra condition.
deny message = This message scored $spam_score
points. Congratulations!
spam = nobody:true
condition = ${if
>{$spam_score_int}{100}{1}{0}}
# finally accept all the rest
accept
[snip]
I've included the spamd stuff to be rigorous.
--- Brian Morrison <[EMAIL PROTECTED]> wrote:
> On Tue, 12 Oct 2004 16:40:52 -0700 (PDT) in
> [EMAIL PROTECTED]
> Greg Traud
> <[EMAIL PROTECTED]> wrote:
>
> > Somewhere between Exim and Cyrus, selected emails
> are disappearing.
> > I don't know what the criterion is for the emails
> coming up missing,
> > so I thought I'd start with ClamAV.
> >
> > When Clam decides an email contains a virus, what
> does it (Clam) do
> > with the email. Does it put the email somewhere?
> >
>
> There are several methods of letting Exim call
> Clamav and take action
> based on the result. I suspect that the most common
> is the one I use
> myself, if a virus is found, Exim aborts the smtp
> transaction and
> rejects the mail.
>
> What is in your exim.conf file regarding clamav in
> the ACL section?
>
> --
>
> Brian Morrison
>
> bdm at fenrir dot org dot uk
>
> GnuPG key ID DE32E5C5 -
> http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
> _______________________________________________
>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users