Hi, I upgraded to version 2.1.1 from version 1.0.7 and I am having issues with postfix and dovecot reading my userdb file.
Here is my dovecot config:
# 2.1.1: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-308.1.1.el5 x86_64 CentOS release 5.7 (Final) auth_debug = yes auth_socket_path = /var/run/dovecot/auth-userdb default_internal_user = vmail default_login_user = dovecot disable_plaintext_auth = no auth_mechanisms = plain log_path = /var/log/dovecot.log mail_debug = yes mail_location = maildir:~/Maildir mbox_write_locks = fcntl namespace inbox { inbox = yes location = prefix = } passdb { args = username_format=%u /etc/dovecot.ctctmon/%d/userdb driver = passwd-file } postmaster_address = postmaster@example.com protocols = imap lmtp service auth { unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service imap { process_limit = 1024 } ssl = required ssl_cert =
Here is what I am seeing in logs:
Dovecot: Feb 07 17:05:27 auth: Debug: master in: USER 1 ctctsc9@p2-ctctmon.<domain> service=lda Feb 07 17:05:27 auth: Debug: passwd-file(ctctsc9@p2-ctctmon.constantcontact.com): lookup: user=ctctsc9@p2-ctctmon.<domain> file=/etc/dovecot.ctctmon/p2-ctctmon.<domain>/userdb Feb 07 17:05:27 auth: Info: passwd-file(ctctsc9@p2-ctctmon.<domain>): unknown user Feb 07 17:05:27 lda: Debug: auth input: Feb 07 17:05:27 auth: Debug: master out: NOTFOUND 1
Postfix: Feb 7 17:07:51 p2-ctctmon101 postfix/pipe[17969]: C91831C8168: to=ctctsc1@p2-ctctmon.domain, relay=dovecot, delay=0.1, delays=0.09/0/0/0.02, dsn=5.1.1, status=bounced (user unknown)
Userdb: ctctsc1:$1$e3k3Xp.u$QdSaJMh79dhivHUuaToDO0:::ctctsc1
Any ideas would be greatly appreciated!!
Ken
- Harford, Ken kharford@constantcontact.com 2013.02.07 23:12:
passdb { args = username_format=%u /etc/dovecot.ctctmon/%d/userdb driver = passwd-file
http://wiki2.dovecot.org/AuthDatabase/PasswdFile
%u expects user@domain in the file
Userdb: ctctsc1:$1$e3k3Xp.u$QdSaJMh79dhivHUuaToDO0:::ctctsc1
Add the domain component to ctctsc1 in this file or set username_format=%n.
Regards Thomas
participants (2)
-
Harford, Ken
-
Thomas Leuxner