[Dovecot] uid / gid and systemusers

xamiw at arcor.de xamiw at arcor.de
Sun Jan 8 17:37:10 EET 2012


Hi all,

I'm facing a problem when a user (q and g in this example) is logging into dovecot. Can anybody tell some hint?

Thanks in advance.

George

/var/log/mail.log:
...
Jan  8 16:18:28 test dovecot: User q is missing UID (see mail_uid setting)
Jan  8 16:18:28 test dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=<q>, method=PLAIN, rip=AAA.BBB.CCC.DDD, lip=EEE.FFF.GGG.HHH TLS    <--- edited by me
Jan  8 16:18:28 test dovecot: dovecot: User g is missing UID (see mail_uid setting)
Jan  8 16:18:28 test dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=<g>, method=PLAIN, rip=AAA.BBB.CCC.DDD, lip=EEE.FFF.GGG.HHH TLS    <--- edited by me

/etc/dovecot/dovecot.conf:
protocols = imaps
disable_plaintext_auth = yes
shutdown_clients = yes
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl = yes
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
mbox_write_locks = fnctl dotlock
auth default {
  mechanisms = plain
  passdb shadow {
  }
}

/etc/passwd:
...
g:x:1000:1000:test1,,,:/home/g:/bin/bash
q:x:1001:1001:test2,,,:/home/q:/bin/bash

/etc/group:
...
g:x:1000:
q:x:1001:



More information about the dovecot mailing list