Bug 39151

Summary: Configuration error prevents Postfix from sending mails
Product: UCS Reporter: Daniel Tröder <troeder>
Component: MailAssignee: Daniel Tröder <troeder>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 CC: birkefeld, gohmann, walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.0-3-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:

Description Daniel Tröder univentionstaff 2015-08-12 11:50:28 CEST
Postfix' SMTP client does only support Cyrus SASL (and not Dovecot SASL like the server). When Dovecot is installed Postfix SASL is switched to Dovecots SASL implementation. Wrongly also the SMTP (and LMTP) client is switched to Dovecots-SASL, which prevents Postfix from sending mails.

Forum post: http://forum.univention.de/viewtopic.php?f=28&t=4264

All new Mailserver-Installations that use a relay are affected.
Comment 1 Daniel Tröder univentionstaff 2015-08-12 18:50:18 CEST
Postfix' smtp client now always uses the Cyrus SASL implementation.

Commit: 62964
YAML: 62965
Comment 2 Philipp Hahn univentionstaff 2015-08-21 08:30:07 CEST
r63151 | Bug #39151 Mail: Fix YAML bug reference
 62964 -> Bug #39151
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2015-08-26 16:22:53 CEST
Problem is reproducible.

---[man 5 postconf]---
smtp_sasl_type (default: cyrus)
       The  SASL  plug-in  type  that the Postfix SMTP client should use for 
       authentication.  The available types are listed with the "postconf -A" 
       command.

smtpd_sasl_type (default: cyrus)
       The SASL plug-in type that the Postfix SMTP server should use for  
       authentication.  The available types are listed with the "postconf -a" 
       command.
---[cut]---


root@master40:~# postconf -A
cyrus
root@master40:~# postconf -a
cyrus
dovecot
root@master40:~# 

OK: r62964
OK: r62965 + 63151
Added r63243
REOPEN: univention-mail-postfix can be shipped for UCS 4.0-2, correct?
    → sed -i '/^version:/s/3/2,3/' 2015-08-12-univention-mail-postfix.yaml
OK: code change
OK: functional test
OK: patch has been merged to UCS 4.1
Comment 4 Daniel Tröder univentionstaff 2015-08-27 08:48:18 CEST
Added version tag for 4.0-2 in commit 63274.
Comment 5 Felix Botner univentionstaff 2015-09-01 12:37:30 CEST
(In reply to Daniel Tröder from comment #4)
> Added version tag for 4.0-2 in commit 63274.

OK - YAML

(i did no functional test, i just checked the version in the yaml file)
Comment 6 Janek Walkenhorst univentionstaff 2015-09-02 12:58:39 CEST
<http://errata.univention.de/ucs/4.0/296.html>