Bug 38062 - Optional arguments for smtpd processes
Optional arguments for smtpd processes
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 3.2-5-errata
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
:
Depends on: 38049
Blocks: 31738
  Show dependency treegraph
 
Reported: 2015-03-17 13:19 CET by Sönke Schwardt-Krummrich
Modified: 2015-03-25 14:04 CET (History)
1 user (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2015-03-17 13:19:23 CET
Has to be implemented for UCS 3.2, too.

+++ This bug was initially created as a clone of Bug #38049 +++

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:38 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 (8.0.13-9)

2015-03-17-univention-mail-postfix.yaml

@QA: the changes have been comitted with the bug number 38049 in SVN.
Comment 2 Felix Botner univentionstaff 2015-03-18 11:05:06 CET
OK - template
OK - ucr vars
OK - /etc/postfix/master.cf
OK - smtp, smtps, tls, authentication
OK - ucs-test -s mail

OK - 2015-03-17-univention-mail-postfix.yaml
Comment 3 Janek Walkenhorst univentionstaff 2015-03-25 14:04:58 CET
<http://errata.univention.de/ucs/3.2/300.html>