I recently set up a new mailserver as replacement for the aging
hardware. I compiled postfix-3.12-20260720 from scratch using my build
script (with ldap support etc.) and now I'm seeing this warning when issuing a 
"postfix check":

/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: result_attribute=mail
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: search_base=dc=laborberlin,dc=intern
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: query_filter=(proxyAddresses=smtp:%s)
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: 
bind_dn=CN=svc-postfix,OU=secret,OU=secret,OU=ORG-secret,DC=laborberlin,DC=intern
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: version=3
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: bind_pw=secret
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: result_format=OK %s
/usr/sbin/postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused 
parameter: server_host=ldaps://s-labb-dc01.laborberlin.com:636, 
ldaps://s-labb-dc02.laborberlin.com:636

for all ldap:// type maps. I just pasted one here, basically ALL
entries in the *.cf files are marked as "unused parameter"

What am I doing wrong here?

# postconf -d mail_version
mail_version = 3.12-20260720

# postconf -m
btree
cdb
cidr
debug
environ
fail
hash
inline
internal
ldap
lmdb
memcache
nis
pcre
pipemap
proxy
randmap
regexp
socketmap
static
tcp
texthash
unionmap
unix

Example query:

# postmap -q "[email protected]" ldap:/etc/postfix/laborberlin.com.cf 
&& echo ok || echo fail
OK [email protected]
ok
# postmap -q "[email protected]" ldap:/etc/postfix/laborberlin.com.cf && 
echo ok || echo fail
fail

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration
  Invalidenstraße 120/121 | D-10115 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | https://www.charite.de
            
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to