Re: [exim] Please sanity-check my ACLs outline

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Bowyer
Dátum:  
Címzett: Exim, Users
Tárgy: Re: [exim] Please sanity-check my ACLs outline
On 17/09/06, Dave Pooser <dave-exim@???> wrote:
> >> - [ ] acl_data
> >> - [ ] accept if local part is postmaster and/or blacklist admin
> >> and/or abuse
> >> - [ ] scan with ClamAV
> >
> > Recipient address is not available in DATA ACL, i.e. you can't
> > selectively pass or reject recipients in the ACL.
>
> Okay, can I set an ACL variable if the recipient is postmaster in the
> acl_rcpt_to ACL and then reference that variable in the DATA ACL? Or does it
> just make more sense to use the SpamAssassin all_spam_to directive?


You can set a variable if *one of the recipients* is postmaster -
remember that when you get to the DATA phase you may have had more
than one recipient. Common implementations use the RCPT ACL to limit
the number of recipients to one if they need to do per-recipient
processing later.

Peter


--
Peter Bowyer
Email: peter@???