Re: [Exim] Forwarding unknown users to another host

Top Page
Delete this message
Reply to this message
Author: Andrew Thomson
Date:  
To: Bryce Newall
CC: exim-users
Subject: Re: [Exim] Forwarding unknown users to another host
On Mon, 2004-02-23 at 06:24, Bryce Newall wrote:
> I was having trouble locating OpenLDAP, but I finally found it. I
> installed it, and made the following changes to Exim's Local/Makefile:
>
> LOOKUP_INCLUDE=-I /usr/local/include
> LOOKUP_LIBS=-L/usr/local/lib -lldap
>
> The first line is because the OpenLDAP port installed its files into
> /usr/local/include. However, now when I try to build Exim, I'm getting:
>
> gcc -c -O -pipe -I /usr/local/include ldap.c
> ldap.c: In function `perform_ldap_search':
> ldap.c:726: dereferencing pointer to incomplete type
> ldap.c:726: dereferencing pointer to incomplete type
> ldap.c:761: dereferencing pointer to incomplete type
> ldap.c:762: dereferencing pointer to incomplete type
> *** Error code 1
>


Try just using the freebsd port for exim-ldap.. works a treat.

/usr/ports/mail/exim-ldap

Beats all the dicking around you are doing! ;)

ajt.