Re: [Exim] acl_check_rcpt ldap lookups

Góra strony
Delete this message
Reply to this message
Autor: Philipp Sacha
Data:  
Dla: John Ward
CC: exim-users
Temat: Re: [Exim] acl_check_rcpt ldap lookups
John Ward wrote:
> Hi Guys,
>
> I'm wondering if it is possible to do ldap query for valid recipient in the
> acl_check_rcpt portion of exim.
> This would allow one to theoretically disallow mail to recipients who do not
> have the correct group permissions.
> If anyone has done this with an exchange server i'd also be quite interested
> in seeing an example of the configs.
>
> Regards
> John
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


I do LDAP lookups for the existance of a recipient in acl_check_rcpt.
But i am using openldap.



   accept  domains   = +local_domains
           endpass
           message   = unknown user
           condition =  ${lookup ldap {ldap:///LDAP_BASE??sub?\
                                       (|(mail=$local_part@$domain)\
                                       (mailalias=$local_part@$domain))\
                                      }{yes}{no}\
                         }
           verify    = recipient



Regards,

Philipp


--
Philipp Sacha mailto:psacha@blue-cable.net