jdd wrote:
Le 05/04/2017 à 08:54, Per Jessen a écrit :
Yeah. It's not so important, I was just annoyed my changes got thrown out :-)
do you notice any main.cf* other file?
like main.cf.rpmnew
There are two: /etc/postfix/main.cf /etc/postfix/main.cf.default
but if this confirms it could be worth a bug report, the usual openSUSE way being not to touch any manually changed file
I have just repeated it - new Leap422 installation: # rpm -q openslp exim postfix package openslp is not installed package exim is not installed package postfix is not installed # zypper in postfix syslog-ng Then I edited /etc/postfix/main.cf, deleted all the stuff following "smtpd_recipient_restrictions" (sasl, tls and mysql stuff), added this at the end of main.cf : configdir=/etc/postfix/ alias_maps = hash:$configdir/mailman-aliases virtual_alias_maps = pcre:$configdir/mailman-regexp virtual_alias_domains = hash:$configdir/mailman-domains Then I tried starting postfix with "systemctl start postfix", which fails as openslp is not installed (bug#958329,882442,1032454). Nonetheless, my main.cf was now changed: configdir=/etc/postfix/ alias_maps = hash:/etc/aliases virtual_alias_domains = hash:/etc/postfix/virtual smtp_sasl_auth_enable = no smtp_sasl_security_options = smtp_sasl_password_maps = smtpd_sasl_auth_enable = no smtpd_use_tls = no smtpd_tls_CAfile = smtpd_tls_CApath = smtpd_tls_cert_file = smtpd_tls_key_file = relay_clientcerts = smtpd_tls_ask_ccert = no smtpd_tls_received_header = no smtp_use_tls = no smtp_enforce_tls = no smtp_tls_CAfile = smtp_tls_CApath = smtp_tls_cert_file = smtp_tls_key_file = smtp_tls_session_cache_database = My guess is that this is done by "ExecStartPre=/etc/postfix/system/config_postfix". Maybe that script should be made to check if main.cf has been changed after installation and then leave it alone. -- Per Jessen, Zürich (10.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org