Am 16.01.2014 22:04, schrieb Wietse Venema: > li...@rhsoft.net: >> well, i found a clear bug >> >> sendmail: warning: /etc/postfix/main.cf, line 160: overriding earlier entry: >> smtpd_relay_restrictions=permit_mynetworks, permit_sasl_authenticated, >> reject_unauth_destination >> __________________________________ >> >> cat main.cf | grep smtpd_relay_restrictions >> smtpd_relay_restrictions = permit_mynetworks, >> permit_sasl_authenticated, >> reject_unauth_destination >> smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated >> defer_unauth_destination >> __________________________________ >> >> postfix *must not* add the second line at the end of "main.cf" if >> the first one already exists > > The only difference is that this Postfix version REPORTS > duplicate lines. It was added before Postfix 2.11.0
* i see this only on one machine * the first line was added running 2.10 long ago * whatever added the default line at the end of the file * for sure no human person, otherwise the = char would be as in the first line * the only one who touches "main.cf" is the upgrade-script this is also adding permanently these lines even if you "fix" them by set the = char on the ame position as for the rest of the config file readme_directory = /usr/share/doc/postfix-2.11.0/README_FILES sample_directory = /usr/share/doc/postfix-2.11.0/samples sendmail_path = /usr/sbin/sendmail html_directory = no setgid_group = postdrop command_directory = /usr/sbin manpage_directory = /usr/share/man daemon_directory = /usr/libexec/postfix newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq queue_directory = /var/spool/postfix mail_owner = postfix data_directory = /var/lib/postfix