[KLUG Members] Postfix and ldap

agencies_ad1 at sancharnet.in agencies_ad1 at sancharnet.in
Mon Feb 20 03:06:11 EST 2006



I am currently running postfix-2.0.16.

I have configured postfix to query the ldap server to verify email addresses as
follows:

ldap-usermap_server_host=ws13nt.willscot.com, ws3nt.willscot.com
ldap-usermap_search_base=dc=willscot, dc=com
ldap-usermap_result_attribute=mail,proxyaddresses, othermailbox
ldap-usermap_bind_dn=cn=Service Account,ou=Domain Admins,dc=willscot,dc=com
ldap-usermap_version=3
ldap-usermap_query_filter=proxyaddresses=smtp:%s

#local_recipient_maps = hash:/etc/aliases,ldap:/etc/postfix/ldap-aliases.cf
local_recipient_maps = hash:/etc/postfix/aliases,ldap:ldap-usermap
unknown_local_recipient_reject_code = 450


The problem is if the ldap servers are unavailable postfix rejects all email
without queuing for retry. Is it possible to configure postfix to defer
delivery of any email when the ldap servers are offline.

Thanks

Regards,

Komal

----------------------------------------------------------------
This message was sent using NWebmail, BSNL's Webmail Program



More information about the Members mailing list