> Am 18.02.2018 um 14:04 schrieb Wietse Venema <[email protected]>: > > Christian Ro??ner: >> Hi, >> >> sorry for the delay. I gave a party at Friday and I did not find the time to >> anser faster. >> >>> Am 18.02.2018 um 00:48 schrieb Wietse Venema <[email protected]>: >>> >>> postconf -xn | grep /etc/postfix/ldap > > I copied those settings to my main.cf file, and as expected, no > warning messages. > > What about the other postconf command in my response?
It seems the output of postconf does not reflect the real main.cf, as it
normalizes things. I defined macros at the top:
# Global variables
default_database_type = lmdb
map = ${config_directory}/maps
mapidx = ${default_database_type}:${map}
ldap = proxy:ldap:${config_directory}/ldap
And I use them like:
proxy_read_maps =
proxy:unix:passwd.byname,
${virtual_alias_maps},
${ldap}/relay_domains_and_helo_access.cf,
${ldap}/relay_recipient_maps.cf,
${ldap}/add_header.cf,
${ldap}/transport.cf
relay_domains =
lists.${mydomain},
${ldap}/relay_domains_and_helo_access.cf
All other command syou asked me for do not print anything that has been shown
with my latest reply.
If you need more details, I will send you my full config gzipped and offlist.
Christian
--
Rößner-Network-Solutions
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, https://roessner-network-solutions.com
smime.p7s
Description: S/MIME cryptographic signature
