On Friday, March 13, 2009 at 15:39 CET,
Tjerk Jan Vonk <[email protected]> wrote:
> I have an configuration issue with postfix. I want to have multiple
> deliveryagents (configured in master.cf) in one domain.
> The virtual users are stored in ldap and must be delivered to zarafa.
> There are also some Public Folders in zarafa, whereby an other syntax
> of zarafa is required.
>
> Examples;
> [email protected] -> zarafa (configured in master.cf)
> [email protected] -> zarafa-pf (configured in master.cf)
>
> So, i have found transport_maps, but can you use ldap-lookup tables in
> this lookuptable?
>
> main.cf:
> transport_maps = hash:/etc/postfix/transportmaps
>
> /etc/postfix/transport_maps:
> ldap:/etc/postfix/ldap_users.cf zarafa
> ldap:/etc/postfix/ldap_pf.cf zarafa-pf
Had this been possible, the documentation (transport(5)) would have
stated so. The documentation does however state that transport table
lookups are not only performed with the domain name but also with the
username. So, construct your transport table like this:
[email protected] zarafa:
[email protected] zarafa-pf:
When translating this into an LDAP lookup table configuration the
result_format parameter will probably be of use for you. However,
do consider dumping the table periodically from LDAP to an indexed
table. Potentially high-latency tables (LDAP etc) for transport
lookups are not recommended.
--
Magnus Bäck
[email protected]