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

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Diehl
Data:  
A: exim-users
CC: Magnus Holmgren
Assumpte: Re: [exim] Can't get spam acl to work.
Yup, that fixed it. Thank you.

Now does anyone know what headers I have to insert into a message to get Kmail
to display the color-coded bar at the top?

Thanx,
Mike.


On Monday 04 September 2006 09:57, Magnus Holmgren wrote:
> 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.