https://bugzilla.novell.com/show_bug.cgi?id=788299 https://bugzilla.novell.com/show_bug.cgi?id=788299#c0 Summary: SuSEconfig.postfix looses parameter in master.cf (amavisd, postfix, master, install) Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i686 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: christian.eberl@workingbits.at QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=512050) --> (http://bugzilla.novell.com/attachment.cgi?id=512050) patch for SuSEconfig.postfix User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0 The first execution of SuSEconfig.postfix drops "smtpd_client_restrictions" override option(s) and leads to a duplicated entry in master.cf. This happens inside the SuSEconfig.postfix script, while checking for the override option "smtpd_client_restrictions". This option is lost and instead the previous found parameter is duplicated into the new master.cf. Although this happens within the commented section of master.cf, the affacted postfix parameter(s) may be applied to an uncommented section. At least for amavisd users, the affected changes go to an uncommented section. Chances are to see these duplicated entries right after installing postfix (or on any installed system with postfix). It seems there are circumstances where SuSEconfig.postfix gets automatically executed and some where it isn't executed. I can't report the exact steps I took, but I had both while testing. As this is by default in a commented section, the original line can also be manually inserted. Reproducible: Always Steps to Reproduce: 1. restore master.cf from original rpm distribution 1a. (keep a backup of original master.cf) 2. ensure /etc/sysconfig/mail: MAIL_CREATE_CONFIG="yes" 3. execute SuSEconfig.postfix Actual Results: duplicated line: #submission inet n - n - - smtpd # -o smtpd_tls_security_level=encrypt # -o smtpd_sasl_auth_enable=yes # -o smtpd_sasl_auth_enable=yes Expected Results: unmodified copy: #submission inet n - n - - smtpd # -o smtpd_tls_security_level=encrypt # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject The patch produces the expected result, but need analysis because my Perl knowledge is limited. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.