Wow lots of my post got cut off, this is what i wrote.

As you can see i am returning adamt...@foo.com relay:[smtp.foo.com]
But the mail log is saying transport map error 



Hi All. 

I would like the transport_maps to be driven from an ldap lookuop 
but i am unsure of the format it should be returning 

I have the following config 

transport_maps = hash:/etc/postfix/transport
                 ldap:/etc/postfix/ldap-transport
 and my /etc/postfix/ldap-transport.cf looks like this 

server_host = ldap://zimbra:389
server_port = 389
search_base =
query_filter =
(&(|(zimbraMailDeliveryAddress=%s)(zimbraMailAlias=%s))(zimbraMailStatus=enabled))
result_attribute = mail,zimbraMailAlias
version = 3
result_format=%s relay:[smtp.foo.com]
start_tls = no
timeout = 30

This returns the output  when doing a postmap vq 
adamt...@foo.com relay:[smtp.foo.com]
but is that correct for a transport_map 



--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply via email to