Bug 39151 - Configuration error prevents Postfix from sending mails
Configuration error prevents Postfix from sending mails
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-3-errata
Assigned To: Daniel Tröder
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-12 11:50 CEST by Daniel Tröder
Modified: 2015-09-02 12:58 CEST (History)
3 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 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>