Re: [exim] lists in ACL condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael F. Sprague
Ημερομηνία:  
Προς: Andreas Metzler
Υ/ο: exim-users
Αντικείμενο: Re: [exim] lists in ACL condition
Andreas Metzler <eximusers@???> wrote:
> On 2004-08-31 "Michael F. Sprague" <mfs@???> wrote:
> [...]
> > domains     = +eps_spf

>
> > to check to see if the recipient domain is on that list in the rcpt ACL.
>
> > I store the recipient domain in $acl_m0 so I could do the following
> > in a mime or data ACL to see if the recipient domain is in a db file
> > (which seeded the domain list earlier):
>
> > condition = ${lookup {$acl_m0} dbm{EPSEXT}{yes}{no}}
>
> > where EPSEXT is a macro. I'd rather have 'condition' look at the
> > domain list just in case I have need to have several db files
> > instead of just one.
> [...]
>
> Are you looking for this?
> condition = ${if match_domain{$acl_m0}{+eps_spf}{yes}{no}}
>
> match_domain is availble since about 4.32, iirc.
>              cu andreas


That is it!!! Thank you so much, I don't know how I missed that in the docs.

mikeS

-- 
Michael Sprague  | mfs@???
Partner          | System and Network Engineering (SaNE), LLC
use STD::disclaimer;