Bug 38049 - 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 4.0-1-errata
Assigned To: Sönke Schwardt-Krummrich
Felix Botner
:
: 38065 (view as bug list)
Depends on:
Blocks: 38062
  Show dependency treegraph
 
Reported: 2015-03-16 12:44 CET by Sönke Schwardt-Krummrich
Modified: 2015-03-25 16:43 CET (History)
2 users (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-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>