https://bugzilla.novell.com/show_bug.cgi?id=873324 https://bugzilla.novell.com/show_bug.cgi?id=873324#c0 Summary: config.postfix strips off arguments to smtpd Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Michael.Zapf@web.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 If spamassassin shall be used with Postfix, an argument like "-o content_filter=spamassassin" must be added to the smtp line in master.cf. However, the config.postfix script strips off these arguments: line 866: if( /\#?\s*(smtp\s+inet.*?smtpd)/ ) { matches until "smtpd" and thus clears a trailing "-o content-filter=spamassassin" The arguments can neither be put in the following line, since lines 924 ff. of config.postfix } elsif ( /\#?\s\s(-o\s+content_filter=.*)/ ) { if ( $use_amavis ne "yes" ) { $line = "# ".$1; comment out that line unless amavis is set to be used. Reproducible: Always Steps to Reproduce: 1. Add "-o content_filter=spamassassin" at the end of the line for smtp in master.cf, or as a new line after the line for smtp. Do not enable amavis. 2. Call /usr/sbin/config.postfix Actual Results: Arguments containing "content_filter" are stripped off or commented out. Expected Results: Arguments shall be retained. Can be worked around by manually editing master.cf after the last call of config.postfix. MAIL_CREATE_CONFIG should be set to "no". However, this is merely avoiding the issue, not fixing it. -- 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.