I am trying to configure qmail with LDAP, LDA-CONTROL and suport for
virtusers.

I get qmail with LDAP, without serious problems, all OK.
I want that [EMAIL PROTECTED] go to [EMAIL PROTECTED] like sendmail
virtusers entry:

@yahoo.com      [EMAIL PROTECTED]

for example.

how can i make this?

Other thing
Now, i want patch with qmail-control 
when i patch and set Makefile option 

# to enable having the configuration (~control/* in the LDAP database
# to, uncomment the following line and read QLDAPINSTALL.
# -DUSE_CONTROLDB       Search LDAP for control files
# -DQLDAP_BAILOUT       First search LDAP, then FS
CONTROLDB=-DQLDAP_BAILOUT

then compilation crash with this error.


root@qmail:/usr/src/qmail-1.03# make setup check
./load qmail-remote control.o constmap.o timeoutread.o \
timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`  \
-L/usr/local/lib -lldap -llber -lresolv qldap-debug.o envread.o
error_str.o
envread.o: In function `env_get':
envread.o(.text+0x31): undefined reference to `str_diffn'
collect2: ld returned 1 exit status
make: *** [qmail-remote] Error 1

Please, help.

Best regards.

-- 
____________________________________________
 Cesar Garcia.
 Dept. Sistemas, IdecNet S.A.
 Edificio IdecNet. C/Juan XXIII 44,
 Centro de Gestion de Red, E-35004,
 Las Palmas de Gran Canaria,
 Islas Canarias - Spain.
 Tfn:  +34 828 111 000

Reply via email to