LDAP related "postconf: warning" with most recent build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

LDAP related "postconf: warning" with most recent build

Ralf Hildebrandt-2
% postconf -h queue_directory
 
gives me a lot of LDAP related warnings:

postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: query_filter=(proxyAddresses=smtp:%s)
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: start_tls=yes
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: bind_pw=xxx
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: version=3
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: bind_dn=yyy
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: server_host=10.28.0.31?      10.28.0.32
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: result_attribute=mail
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: search_base=dc=laborberlin,dc=intern

mail_version = 3.3-20170730

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG, 80333 München
                                           
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
Reply | Threaded
Open this post in threaded view
|

Re: LDAP related "postconf: warning" with most recent build

Wietse Venema
Ralf Hildebrandt:

> % postconf -h queue_directory
>  
> gives me a lot of LDAP related warnings:
>
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: query_filter=(proxyAddresses=smtp:%s)
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: start_tls=yes
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: bind_pw=xxx
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: version=3
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: bind_dn=yyy
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: server_host=10.28.0.31?      10.28.0.32
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: result_attribute=mail
> postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: search_base=dc=laborberlin,dc=intern
>
> mail_version = 3.3-20170730

Does not reproduce when I create a file with those entries, and use
it as alias_maps.

% cat /etc/postfix/laborberlin.com.cf
query_filter=(proxyAddresses=smtp:%s)
start_tls=yes
bind_pw=xxx
version=3
bind_dn=yyy
server_host=10.28.0.31?      10.28.0.32
result_attribute=mail
search_base=dc=laborberlin,dc=intern
foo=bar
% postconf >/dev/null
postconf: warning: /etc/postfix/main.cf, line 649: overriding earlier entry: alias_maps=proxy:hash:/etc/aliases
postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: foo=bar

        Wietse

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: LDAP related "postconf: warning" with most recent build

Ralf Hildebrandt-2
* Wietse Venema <[hidden email]>:

> Ralf Hildebrandt:
> > % postconf -h queue_directory
> >  
> > gives me a lot of LDAP related warnings:
> >
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: query_filter=(proxyAddresses=smtp:%s)
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: start_tls=yes
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: bind_pw=xxx
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: version=3
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: bind_dn=yyy
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: server_host=10.28.0.31?      10.28.0.32
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: result_attribute=mail
> > postconf: warning: ldap:/etc/postfix/laborberlin.com.cf: unused parameter: search_base=dc=laborberlin,dc=intern
> >
> > mail_version = 3.3-20170730
>
> Does not reproduce when I create a file with those entries, and use
> it as alias_maps.

Odd:

3.3-20170722 no warnings
3.3-20170728 warnings
3.3-20170729 warnings
3.3-20170730 warnings

# sh src/postconf/extract_cfg.sh
src/postconf/extract_cfg.sh: line 74: m4: command not found

I installed m4, rebuilt, and the warnings are gone.

--
[*] sys4 AG

https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG, 80333 München
                                           
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein