|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
relay_recipients_maps (ldap)
From: Bolke de Bruin (bdbruin
aub.nl)
Date: Sat Dec 02 2006 - 07:14:35 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I have build a relay server with the attached configuration (postfix 2.2.10). In order to avoid backscatter I would like to activate relay_recipient_maps. However if I do so, postfix starts puging over:
Dec 2 12:48:41 smtp postfix/smtp[28686]: warning: dict_ldap_lookup: Search error -1: Can't contact LDAP ser
ver
Dec 2 12:48:41 smtp postfix/smtp[28686]: fatal: ldap:/etc/postfix/ldap-domains.cf(0,100): table lookup prob
Lem
Note that it has an issue with "ldap-domains.cf". This is not part of the relay_recipient_maps configuration line but rather part of relay_domains.
Without setting relay_recipient_maps this configuration works fine. I checked the connection by hand and I do not see any reason why it would not be able to contact the ldap server.
Config for ldap-domains.cf (users/aliases are configged likewise):
server_host = ldap://ldap.aub.nl
bind = no
version = 3
start_tls = no
tls_require_cert = no
search_base = ou=Transports,ou=Postfix,ou=Services,ou=Configuration,dc=aub,dc=nl
scope = one
timeout = 20
query_filter = (dc=%s)
result_attribute = associatedDomain
Anyone an idea what is going and what I am missing?
Kind regards,
Bolke
- application/octet-stream attachment: postconf.txt
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]