Re: [exim] Can't get spam acl to work.

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Magnus Holmgren
Date:  
À: exim-users
Sujet: Re: [exim] Can't get spam acl to work.
On Monday 04 September 2006 09:34, Mike Diehl took the opportunity to say:
> Hi all.
>
> I'm trying to get my system to use spamassassin with exim 4.62.
>
> I've read the spect at:
> http://www.exim.org/exim-html-4.62/doc/html/spec_html/ch40.html
>
> And I STILL can't get this to work. All I want to do, for now, is add a
> header to incoming mail that has the spam score. Since I've seen examples
> that put this logic in two different acl's, I put it in both. Here is a
> snippet from /etc/exim/exim.conf:
>
> =======================================
> begin acl
>
> acl_smtp_data:
> warn spam      = nobody:true
> message   = X-Spam_score: $spam_score

>
> acl_check_content:
> warn spam      = nobody:true
> message   = X-Spam_score: $spam_score

>
> =======================================


What you have to do is to tell Exim which ACLs to use for which situation,
i.e. add

acl_smtp_data = acl_check_content

to the main section (before begin acl or any other begins). Then keep the
acl_check_content ACL.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)