Re: [exim] using aux acls -- why is control not passing corr…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Ted Cooper
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] using aux acls -- why is control not passing correctly?
snowcrash+exim-users wrote:
> hi,
>
> i've Exim 'talking' to remote clamd/spamd daemons over TCP,
>
>     av_scanner = clamd: 10.0.0.105 3310
>     spamd_address = 10.0.0.105 783

>
> i'm trying to clean-up my eximconf using aux acls.
>
> problem is, as config'd below, exim submits OK to CLAMD, but never
> submits again/subsequently to SPAMD.
>
> i suspect i may NOT be using 'endpass' correctly ...
>
> any suggestions as to why my submit to SPAMD never occurs?
>
> thanks!
>
> fyi, in my exim.conf, i've,
>
>     addresslist no_virus_scan  = no_virus@???
>     addresslist no_spam_scan   = no_spam@???

>
>
> and, in my DATA acl, i've
>
>     accept
>          !senders        = +no_virus_scan
>          endpass
>          acl             = aux_acl_virus


As soon as you accept, no further ACLs are looked at. It looks like if
you don't find a virus, you then hit the accept target. Try changing
your logic to DENY or DEFER. With the deny ACL, you will not have to use
endpass.

Ted.