postfix + ldap

Andre Landwehr andre.landwehr at gmx.net
Wed Oct 9 12:10:01 CEST 2002


Mahlzeit,
ich versuche den Postfix zu bewegen, Mail an lokale User
auszuliefern, die nur im ldap existieren. Dabei würde ich gerne
nur auf das uid Feld zurückgreifen, und das Feld mail für externe
Weiterleitungen nutzen. Letzteres geht schon aber lokale
Auslieferung will nicht:
-----
local_recipient_maps = $alias_maps, unix:passwd.byname, ldap:ldaprecipients
ldaprecipients_search_base = ou=People,dc=cn-hq,dc=priv
ldaprecipients_query_filter = (uid=%u)
ldaprecipients_result_attribute = uid
ldaprecipients_bind = no
ldaprecipients_scope = one
ldaprecipients_debuglevel = 3
-----
Ein "postmap -q testuser ldap:ldaprecipients" sagt auch brav
"testuser", aber der Versuch im Mail zu schicken liefert 
"User testuser unknown". Was mach ich falsch?

Andre

--
"The inside of a computer is as dumb as hell, but it goes like mad!"
(Physicist Richard Feynman)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20021009/77ef1bb6/attachment.sig>


More information about the Linux mailing list