Bug 38049

Summary: Optional arguments for smtpd processes
Product: UCS Reporter: Sönke Schwardt-Krummrich <schwardt>
Component: MailAssignee: Sönke Schwardt-Krummrich <schwardt>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 CC: walkenhorst, wiesenthal
Version: UCS 4.0   
Target Milestone: UCS 4.0-1-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 38062    

Description Sönke Schwardt-Krummrich univentionstaff 2015-03-16 12:44:54 CET
For adding 3rd party applications with milter interface it is nececssary to add additional arguments to specific lines within the master.cf.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-03-17 13:52:29 CET
Added 2 new UCR prefixes that allow to add additional arguments for the smtpd processes of the smtp/25 and the smtps/465 service:
- mail/postfix/mastercf/options/smtp/...
- mail/postfix/mastercf/options/smtps/...

An argument like "-o foo=bar" for the service "smtps" has to be defined this way:
mail/postfix/mastercf/options/smtps/foo="bar"

The previous arguments of the smtps service have been converted into UCR variables and will be set automatically during the update/installation:
  "-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes"
==>
  mail/postfix/mastercf/options/smtps/smtpd_tls_wrappermode?yes
  mail/postfix/mastercf/options/smtps/smtpd_sasl_auth_enable?yes

There should be no functional change in master.cf after installing this package. Only the order of lines or the order of the additional arguments may change.

univention-mail-postfix (9.0.0-14)

2015-03-13-univention-mail-postfix.yaml
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-03-18 09:12:40 CET
*** Bug 38065 has been marked as a duplicate of this bug. ***
Comment 3 Felix Botner univentionstaff 2015-03-18 11:03:13 CET
OK - template
OK - ucr vars
OK - /etc/postfix/master.cf
OK - smtp, smtps, tls, authentication
OK - ucs-test -s mail

OK - 2015-03-13-univention-mail-postfix.yaml
Comment 4 Janek Walkenhorst univentionstaff 2015-03-25 16:43:20 CET
<http://errata.univention.de/ucs/4.0/124.html>