Re: [exim] Help with LDAP query in acl_check_rcpt

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jakob Hirsch
日付:  
To: 'Exim-users'
題目: 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