[Dovecot] auth both system and virtual users

Gerry Reno greno at verizon.net
Tue Oct 31 02:54:43 UTC 2006


I've setup dovecot to auth both system and virtual users but it is refusing
to work.  It keeps saying user is not found.  Is there something more that I
need to set?


dovecot.conf:
============================================================================
=
 default_mail_env = maildir:/var/mail/%1.1u/%u/Maildir
 mail_extra_groups = mail
protocol imap {
}
protocol pop3 {
}
protocol lda {
  postmaster_address = postmaster at example.com
}
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
  mechanisms = plain
  passdb passwd-file {
    args = /etc/dovecot.deny
    deny = yes
  }
  passdb passwd-file {
    args = /etc/imap.passwd
  }
  passdb pam {
  }
  userdb passwd {
  }
  user = root
}
dict {
}
plugin {
}
============================================================================
=


maillog:
============================================================================
=
Oct 30 20:12:00 grp-01-10-01 dovecot: Killed with signal 15
Oct 30 20:12:03 grp-01-10-01 dovecot: Dovecot v1.0.rc7 starting up
Oct 30 20:12:04 grp-01-10-01 dovecot: auth(default): passwd-file
/etc/dovecot.de
ny: Read 0 users
Oct 30 20:12:04 grp-01-10-01 dovecot: auth(default): passwd-file
/etc/imap.passw
d: Read 1 users
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default): client in: AUTH    1
PLAIN   service=IMAP    secured lip=::ffff:127.0.0.1    rip=::ffff:127.0.0.1
resp=AHR1c2VyAHBhc3M=
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default):
passwd-file(tuser,::ffff:12
7.0.0.1): unknown user
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default): client out: OK     1
user=tuser
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default): master in: REQUEST 1
30764   1
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default):
passwd(tuser,::ffff:127.0.0
.1): unknown user
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default):
userdb(tuser,::ffff:127.0.0
.1): user not found from userdb
Oct 30 20:12:24 grp-01-10-01 dovecot: auth(default): master out: NOTFOUND
1
Oct 30 20:12:24 grp-01-10-01 dovecot: imap-login: Internal login failure:
user=<
tuser>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
~
============================================================================
=




More information about the dovecot mailing list