Fix typo, you have schme.
Aki
Is that an error, a warning? I don't understand why dovecot tell me that "No such file or directory" because really it does exist.Hi,
I get this error even when user logins succesfully:
Mar 7 10:41:16 mail dovecot: auth: Debug: client in: AUTH#0111#011CRAM-MD5#011service=imap#011secured#011session=maOgttJmCADAqHoB#011lip=192.168.122.202#011rip=192.168.122.1#011lport=993#011rport=36872
Mar 7 10:41:16 mail dovecot: auth: Debug: client passdb out: CONT#0111#011PDYyMjM4NTMwODIyODI0MDguMTUyMDQzMDA3NkBtYWlsLmV4YW1wbGUuY29tPg==
Mar 7 10:41:16 mail dovecot: auth: Debug: client in: CONT<hidden>
Mar 7 10:41:16 mail dovecot: auth: Debug: passwd-file(sergio@example.com,192.168.122.1,<maOgttJmCADAqHoB>): lookup: user=sergio@example.com file=/etc/dovecot/users
Mar 7 10:41:16 mail dovecot: auth: Debug: client passdb out: OK#0111#011user=sergio@example.com
Mar 7 10:41:16 mail dovecot: auth: Debug: master in: REQUEST#0112080243713#01110733#0111#011b99fa14550a72c26f219b7dd4ffa6f27#011session_pid=10736#011request_auth_token
Mar 7 10:41:16 mail dovecot: auth: Error: passwd-file(sergio@example.com,192.168.122.1,<maOgttJmCADAqHoB>): stat(schme=CRAM-MD5 username_format=sergio@example.com /etc/dovecot/users) failed: No such file or directory
Mar 7 10:41:16 mail dovecot: auth: Debug: master userdb out: USER#0112080243713#011sergio@example.com#011uid=12345#011gid=12345#011home=/home/vmail/sergio@example.com#011auth_token=34a7660e0c85afacd29709561b0bc7e024942955
Mar 7 10:41:16 mail dovecot: imap-login: Login: user=<sergio@example.com>, method=CRAM-MD5, rip=192.168.122.1, lip=192.168.122.202, mpid=10736, TLS, session=<maOgttJmCADAqHoB>
Dovecot configuration is as follows:
auth_debug = yes
auth_mechanisms = cram-md5 plain login
auth_verbose = yes
disable_plaintext_auth = no
first_valid_uid = 1000
mail_location = maildir:/home/vmail/%d/%n/Maildir
mbox_write_locks = fcntl
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 {
args = scheme=CRAM-MD5 username_format=%u /etc/dovecot/users
driver = passwd-file
}
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0666
}
}
ssl_cert = </etc/pki/tls/certs/mailcert.pem
ssl_key = </etc/pki/tls/private/mailkey.pem
userdb {
args = schme=CRAM-MD5 username_format=%u /etc/dovecot/users
driver = passwd-file
}
userdb {
args = uid=vmail gid=vmail home=/home/vmail/%u
driver = static
}