directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan van den Berg <d...@daanemanz.nl>
Subject RE: ADS + Postfix integration
Date Wed, 24 Jun 2009 19:29:42 GMT

Oops, forgot to mention version numbers.

 

ADS version 1.5.4

Postfix version 2.5.1

 

Postfix is running on Ubuntu JeOS 8.04.2, ADS on Ubuntu Server 8.04.2 64-bit.

 

-Daan
 

--
D.M.J. van den Berg, B.Sc.
e: daan@daanemanz.nl
m: +31624894399
--
This e-mail was sent to you using open source products, such as Zarafa, Postfix and Ubuntu
Linux. Please consider using open source products, it will give you software freedom. Also
consider the environment before printing this email.

 
 
-----Oorspronkelijk bericht-----
Van: Daan van den Berg <daan@daanemanz.nl>
Verzonden: wo 24-06-2009 20:50
Aan: users@directory.apache.org; 
Onderwerp: ADS + Postfix integration


Hello,

 

today I tried to test a setup in which I want to configure postfix such that it retrieves
user information from ADS. The mail server can in fact retrieve this information from ADS,
but postfix cannot.

 

I configured postfix with the following options:

 

alias_maps = hash:/etc/aliases ldap:ldapsrc
alias_database = hash:/etc/aliases ldap:ldapsrc

virtual_alias_maps = ldap:ldapsrc

ldapsrc_server_host = <ipaddress>
ldapsrc_server_port = 10389
ldapsrc_search_base = ou=Users,dc=test,dc=lan
ldapsrc_query_filter = (|(mail=%s))
ldapsrc_bind_dn = cn=admin,dc=test,dc=lan
ldapsrc_bind_pw = <mypassword>
ldapsrc_version = 3
ldapsrc_result_attribute = uid

 

But, unfortunately, I receive the following error in /var/log/mail.err when sending an e-mail
from one test user to the other in my test setup:

 

Jun 24 19:37:02 zarafa postfix/trivial-rewrite[4270]: fatal: ldap:ldapsrc(0,lock|fold_fix):
table lookup problem


What might I be doing wrong here, anyone able to help? I can query the database with ldapsearch
as I could with my (production) openLDAP setup, and in my production environment, everything
works fine with these options configured in postfix.

 

Thanks in advance,

Daan

 

--
D.M.J. van den Berg, B.Sc.
e: daan@daanemanz.nl
m: +31624894399
--
This e-mail was sent to you using open source products, such as Zarafa, Postfix and Ubuntu
Linux. Please consider using open source products, it will give you software freedom. Also
consider the environment before printing this email.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message