Why do I get shadow(usr@domain.com,127.0.0.1): unknown user when I can login just fine?


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Dovecot

Why do I get shadow(usr@domain.com,127.0.0.1): unknown user when I can login just fine?Last Modified: Mar 27, 2014, 1:26 pm
Dovecot uses 2 seperate login databases to authenticate.
One is for the system passwords.  This is called "shadow" and uses the /etc/shadow file.
The other is for virtual pop accounts. They live in the /etc/virtual/domain.com/passwd files.

A valid email account of either type will only exists in one of these database, not both, but both are checked to attempt to validate the user.  If the email account does not exist in the first one, then the error will show up, even though it exists in the 2nd database.  This is normal.

Sample message

Nov  7 00:59:47 server dovecot[13778]: auth(default): shadow(user@domain.com,127.0.0.1): unknown user
Nov  7 00:59:47 server dovecot[13778]: auth(default): passwd(user@domain.com,127.0.0.1): unknown user

You can hide these errors by setting

auth_verbose = no
auth_debug = no

in the "## Authentication processes" section of your /etc/dovecot/dovecot.conf

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST