2011-10-14 12:14:18 |
James Page |
bug |
|
|
added bug |
2011-10-14 13:01:52 |
James Page |
dovecot (Ubuntu): importance |
Undecided |
High |
|
2011-10-14 13:01:55 |
James Page |
dovecot (Ubuntu): assignee |
|
James Page (james-page) |
|
2011-10-14 13:12:02 |
James Page |
description |
The mail-stack-delivery package includes a dovecot auth file - 01-mail-stack-delivery.auth.
This is installed to /etc/dovecot/auth.d; however
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-stack-delivery.conf as detailed below:
# Authentication configuration
auth_mechanisms = plain login
service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/dovecot-auth {
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
ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Fri Oct 14 13:10:50 2011
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: dovecot
UpgradeStatus: No upgrade log present (probably fresh install) |
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-stack-delivery.conf (see original bug report) for dovecot to ensure that supported auth mechanisms are enabled and the socket for postfix is created. |
|
2011-10-14 13:12:33 |
James Page |
dovecot (Ubuntu): status |
New |
In Progress |
|
2011-10-14 13:16:24 |
Launchpad Janitor |
branch linked |
|
lp:~james-page/ubuntu/oneiric/dovecot/fix-postfix-sasl |
|
2011-10-14 13:23:38 |
James Page |
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-stack-delivery.conf (see original bug report) for dovecot to ensure that supported auth mechanisms are enabled and the socket for postfix is created. |
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-stack-delivery.conf (see original bug report) for dovecot to ensure that supported auth mechanisms are enabled and the socket for postfix is created.
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/smtpd[11876]: warning: SASL: Connect to private/dovecot-auth failed: No such file or directory
Oct 14 13:58:14 mercury postfix/smtpd[11876]: fatal: no SASL authentication mechanisms
Oct 14 13:58:15 mercury postfix/master[11834]: warning: process /usr/lib/postfix/smtpd pid 11876 exit status 1
Oct 14 13:58:15 mercury postfix/master[11834]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
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-stack-delivery.auth.
This is installed to /etc/dovecot/auth.d; however
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-stack-delivery.conf as detailed below:
# Authentication configuration
auth_mechanisms = plain login
service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/dovecot-auth {
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
ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Fri Oct 14 13:10:50 2011
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_GB:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: dovecot
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2011-10-14 13:24:46 |
James Page |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-10-14 13:27:42 |
James Page |
nominated for series |
|
Ubuntu Oneiric |
|
2011-10-14 13:27:42 |
James Page |
bug task added |
|
dovecot (Ubuntu Oneiric) |
|
2011-10-14 13:27:49 |
James Page |
dovecot (Ubuntu Oneiric): milestone |
|
oneiric-updates |
|
2011-10-14 13:28:13 |
James Page |
nominated for series |
|
Ubuntu Precise |
|
2011-10-14 13:28:13 |
James Page |
bug task added |
|
dovecot (Ubuntu Precise) |
|
2011-10-14 13:28:25 |
James Page |
dovecot (Ubuntu Oneiric): importance |
Undecided |
High |
|
2011-10-14 13:48:09 |
James Page |
dovecot (Ubuntu Oneiric): assignee |
|
James Page (james-page) |
|
2011-10-14 13:48:12 |
James Page |
dovecot (Ubuntu Oneiric): status |
New |
In Progress |
|
2011-10-14 13:48:16 |
James Page |
dovecot (Ubuntu Precise): status |
In Progress |
New |
|
2011-10-15 10:05:08 |
Launchpad Janitor |
dovecot (Ubuntu): status |
New |
Confirmed |
|
2011-10-17 22:27:40 |
Clint Byrum |
dovecot (Ubuntu Oneiric): status |
In Progress |
Fix Committed |
|
2011-10-17 22:27:43 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2011-10-17 22:27:45 |
Clint Byrum |
tags |
amd64 apport-bug oneiric |
amd64 apport-bug oneiric verification-needed |
|
2011-10-18 21:37:25 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/dovecot |
|
2011-10-19 11:46:00 |
James Page |
dovecot (Ubuntu Precise): status |
Confirmed |
In Progress |
|
2011-10-19 17:50:11 |
Launchpad Janitor |
dovecot (Ubuntu Precise): status |
In Progress |
Fix Released |
|
2011-10-21 01:43:22 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/dovecot |
|
2011-11-22 12:13:46 |
Martin Pitt |
tags |
amd64 apport-bug oneiric verification-needed |
amd64 apport-bug oneiric verification-done |
|
2011-11-24 05:54:31 |
Launchpad Janitor |
dovecot (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|