Hi postfix-users,

is it possible to share credentials among multiple ldap table files?
E.g. if I have

/etc/postfix/ldap/users
/etc/postfix/ldap/aliases
/etc/postfix/ldap/groups

and in main.cf the

virtual_mailbox_maps = /etc/postfix/ldap/users
virtual_alias_maps = /etc/postfix/ldap/aliases,
    /etc/postfix/ldap/groups

I would like to export the parameter which concern the ldap connection,
bind_dn etc into a separate file. Call it

/etc/postfix/ldap/credentials.

I have searched the archive and found that there is no include statement in
general with postfix.
The reason for that was explained and I understand it. But is it the same
with ldap_table files?

ldap_table(5) says that a ldap table file has the same format as main.cf.

Can I just put

server_host
search_base =
bind =
bind_dn =
bind_pw =
version =
..

in main.cf and leave the other parameters in the files mentioned above?

TIA,
Timo

Reply via email to