Milan Milošević
2013-Oct-12 20:24 UTC
[Dovecot] Problem with Dovecot after upgrade to Debian 7.0 (stable)
Dear all,
few days ago I updated Debian to the latest stable and since then
Dovecot is not working. I use Dovecot as LDA for Postfix and also for
IMAP access. Also I used SASL and everything was ok before update. After
I updated to Dovecot 2.1.7 (it used to be 1.x before) it looks like that
e-mail delever is working but I can not configure IMAP access to work.
All users/passwords are stored as local users in /etc/passwd
When I tried to connect to imap log file shows:
Oct 12 22:16:16 seenet-mtp dovecot: auth-worker(24788): Debug:
pam(user at mydomain.com,178.x.y.z): lookup service=dovecot
Oct 12 22:17:16 seenet-mtp dovecot: auth: Error: auth worker: Aborted
request: Lookup timed out
Also tested access opensasl clent and after I tried to log in I have
received:
* OK Waiting for authentication process to respond..
tar NO [UNAVAILABLE] Temporary authentication failure.
[seenet-mtp:2013-10-12 20:20:27]
# doveconf -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.2
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = plain
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c
mail_location = maildir:/%h/mail
namespace inbox {
inbox = yes
location mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix }
passdb {
driver = pam
}
protocols = " imap"
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
syslog_facility = local0
userdb {
driver = passwd
}
Please help,
Milan
ps. Sorry for my English.
Reindl Harald
2013-Oct-12 20:32 UTC
[Dovecot] Problem with Dovecot after upgrade to Debian 7.0 (stable)
Am 12.10.2013 22:24, schrieb Milan Milo?evi?:> Dear all, > > few days ago I updated Debian to the latest stable and since then Dovecot is not working. I use Dovecot as LDA for > Postfix and also for IMAP access. Also I used SASL and everything was ok before update. After I updated to Dovecot > 2.1.7 (it used to be 1.x before) it looks like that e-mail delever is working but I can not configure IMAP access > to work.1.x to 2.x is a *major upgrade* so look in your syslog (not the maillog) and the next time before oyu do a migration i suggest https://www.google.at/search?q=upgrade+dovecot+1.x+to+2.x which will result at the following instructions *before* start the upgrade http://wiki2.dovecot.org/Upgrading/2.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20131012/51a28755/attachment.bin>
Steffen
2013-Oct-12 21:12 UTC
[Dovecot] Problem with Dovecot after upgrade to Debian 7.0 (stable)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Milan Milo?evi? wrote:> Oct 12 22:16:16 seenet-mtp dovecot: auth-worker(24788): Debug: > pam(user at mydomain.com,178.x.y.z): lookup service=dovecot Oct 12 > 22:17:16 seenet-mtp dovecot: auth: Error: auth worker: Aborted > request: Lookup timed out > > Also tested access opensasl clent and after I tried to log in I > have received: > > * OK Waiting for authentication process to respond.. tar NO > [UNAVAILABLE] Temporary authentication failure. > [seenet-mtp:2013-10-12 20:20:27] >> protocols = " imap" service auth { unix_listener > /var/spool/postfix/private/auth { mode = 0666 } }service auth { client_limit = 12500 unix_listener auth-client { mode = 0766 } unix_listener auth-userdb { mode = 0766 user = vmail } } I'm pretty sure you need some of these above, too. You have only the Postfix auth demon, but none of the Dovecot-internal one. Please check out the default config and add your configs to it. - -- Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEVAwUBUlm7M13r2wJMiz2NAQLLFgf+IrY1pMATHgQ3N5SOQ1eqVL0yjZx1GfUR ueCk5rAKvQ9b+ZUn7YVFaHJVie5lCZVYlQMx+4EG8BPxUNQIR84jmje9xhVRrNrF 3qBxYD8ksuDeVMaf4nX9wV2XnYmMe9M3tCKqSLyWksmmC2p+OCBdp996UW26gR2C suIR5162IXFpolRhcTCt/4BMRh6wodcl6A52J+jpKr9iU3EuNrAX/bDaYBL1tYsu w6VXU/HGXhl8xIbQwASnbtdqPii5PVTkRWZtPgHeOWdQ3oZ6N2gPO9O/3e7N3wzl cjJkzxLJ07nXwuFsVV3mKtUFYCcDVpR/DuWOm9qZEirxozeRkg+RkA==9PL1 -----END PGP SIGNATURE-----