[Dovecot] user uknown

Harford, Ken kharford at constantcontact.com
Fri Feb 8 00:12:39 EET 2013


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 at 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 = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem

Here is what I am seeing in logs:

Dovecot:
Feb 07 17:05:27 auth: Debug: master in: USER    1       ctctsc9 at p2-ctctmon.<domain>  service=lda
Feb 07 17:05:27 auth: Debug: passwd-file(ctctsc9 at p2-ctctmon.constantcontact.com): lookup: user=ctctsc9 at p2-ctctmon.<domain> file=/etc/dovecot.ctctmon/p2-ctctmon.<domain>/userdb
Feb 07 17:05:27 auth: Info: passwd-file(ctctsc9 at 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 at 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


More information about the dovecot mailing list