Re: [exim] domainlists & ldap

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: Exim Users Mailing List
Subject: Re: [exim] domainlists & ldap
On Thu, 03 Mar 2005 16:52:09 +0000, Mark Lowes <hamster@???> wrote:
> Hi,
>
> I'm currently trying to move much of the management of our mail system
> into ldap, however I think I've hit a problem or limitation with my
> domainlist lookup.
>
> --8<--
> domainlist relay_to_domains  = \
>        ${tr {${lookup ldapm{ ldap:///o=ISP,c=uk?dc?one?\
>             (secdmserver=${quote_ldap:${primary_hostname}}) }}}\
>        {\n}{:}} : ETC/relay_domains
> --8<--

>
> Now the above was working perfectly right until I added a stack more
> domains onto the system and it doesn't appear to be returning the full
> list. So a simple question is there a limitation in the size of the
> ldap response accepted by exim or am I barking up the wrong tree here?


Woof woof....

I don't use ldap myself, but generically you don't want a $lookup to
prime a domainlist, you want this syntax:

domainlist foo = ldap;<some ldap syntax here>

Peter
--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???