Re: [exim] Help with LDAP query in acl_check_rcpt

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jakob Hirsch
Dátum:  
Címzett: 'Exim-users'
Tárgy: Re: [exim] Help with LDAP query in acl_check_rcpt
carinus.carelse@??? wrote:

> message   = The Email Address Is Invalid
>         condition =  ${lookup ldap 
> {ldap://host.domain.com/o=intramural,o=msp?mailhost?sub?\
>                                     (|(mail=$local_part@$domain)\
>  (mailAlternateAddress=$local_part@$domain))\
>                                    }{yes}{no}\
>                       }


Why doing a manual recipient verification when you can use "verify =
recipient" and deny if it fails?

I'm not a ldap user, but take a look into this posting from a few days
ago, it shows how to handle multiple data fields with ldap:
http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050808/msg00078.html