mail-stack-delivery does not install postfix->dovecot sasl authentication with dovecot 2.x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Oneiric |
Fix Released
|
High
|
James Page | ||
Precise |
Fix Released
|
High
|
James Page |
Bug Description
SRU Information:
IMPACT: Attempting to send email to postfix using STARTTLS connections against the default mail-stack-delivery package fails as dovecot has not created a sasl authentication socket for postfix to communicate over.
FIX: Add updated configuration to 01-mail-
TEST CASE:
1) Install mail-stack-delivery on a fresh server install
- Access Internet site option and ensure server is configured with a FQDN
2) Restart dovecot carefully i.e. stop dovecot; pause; start dovecot (bug 873390)
3) Configure a mail client (i.e. thunderbird) with an account on the mail server:
- Ensure outgoing mail configuration uses STARTTLS with a valid username/password on the mail server
- Ensure inbound server configuration uses IMAP with SSL/TLS with a valid username/password
- Accept certificates (they are self signed)
4) Send an email to the account on the mail server using the mail server:
- Send will fail with the following error in /var/log/mail.log
Oct 14 13:58:14 mercury postfix/
Oct 14 13:58:14 mercury postfix/
Oct 14 13:58:15 mercury postfix/
Oct 14 13:58:15 mercury postfix/
With the fix in place the mail is sent successfully and should appear in the associated inbox.
REGRESSION POTENTIAL: Limited - this function is already broken in oneiric and the change is relatively isolated.
----
The mail-stack-delivery package includes a dovecot auth file - 01-mail-
This is installed to /etc/dovecot/
1) dovecot 2.x by default does not try_include files in this directory
2) the auth configuration does not work with dovecot 2.x
I think the auth configuration can now be included in 01-mail-
# Authentication configuration
auth_mechanisms = plain login
service auth {
# Postfix smtp-auth
unix_listener /var/spool/
mode = 0660
user = postfix
group = postfix
}
}
With the package in its current state postfix cannot SASL authenticate against dovecot.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: mail-stack-delivery 1:2.0.13-1ubuntu3
ProcVersionSign
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Fri Oct 14 13:10:50 2011
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: dovecot
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in dovecot (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
description: | updated |
Changed in dovecot (Ubuntu): | |
status: | New → In Progress |
Changed in dovecot (Ubuntu Oneiric): | |
assignee: | nobody → James Page (james-page) |
status: | New → In Progress |
Changed in dovecot (Ubuntu Precise): | |
status: | In Progress → New |
Changed in dovecot (Ubuntu Precise): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done removed: verification-needed |
Fixed packaged uploaded to oneiric-proposed.