I am running a test server as root.
My environment is Debian Jessie.
I have created a user1 account on the server using virtualmin.
When I try to login as user1 in usermin (port 20000), I can login but I get the message:
An error occurred listing mail in this folder : Failed to login to POP3 server : [AUTHENTICATIONFAILED] Authentication failed.
I can login as user1 by using telnet (port 110).
When I look at the dovecot.log file, I can see that the password used is not the one of user1.
Instead the root password is used by usermin…
How do I override this behavior?
Thank you.
dovecot.log
Nov 20 22:45:02 auth-worker(6892): Debug: pam(user1,127.0.0.1): lookup service=dovecot
Nov 20 22:45:02 auth-worker(6892): Debug: pam(user1,127.0.0.1): #1/1 style=1 msg=Password:
Nov 20 22:45:04 auth-worker(6892): Info: pam(user1,127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) (given password: root_password)
Nov 20 22:45:06 auth: Debug: client passdb out: FAIL 1 user=user1
Nov 20 22:45:06 auth: Debug: auth client connected (pid=6946)
Nov 20 22:45:06 auth: Debug: client in: AUTH 1 PLAIN service=imap secured session=co9i0QQlwwB/AAAB lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=39363 resp=AHBvcnR1bnVzAGVzY2FMaXVNODV2YUxvcg== (previous base64 data may contain sensitive data)
Nov 20 22:45:10 auth-worker(6892): Debug: pam(user1,127.0.0.1): lookup service=dovecot
Nov 20 22:45:10 auth-worker(6892): Debug: pam(user1,127.0.0.1): #1/1 style=1 msg=Password:
Nov 20 22:45:12 auth-worker(6892): Info: pam(user1,127.0.0.1): pam_authenticate() failed: Authentication failure (password mismatch?) (given password: root_password)
Nov 20 22:45:14 auth: Debug: client passdb out: FAIL 1 user=user1
Nov 20 22:45:14 imap-login: Info: Disconnected (auth failed, 1 attempts in 8 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<co9i0QQlwwB/AAAB>
Nov 20 22:45:14 imap-login: Info: Disconnected (auth failed, 1 attempts in 16 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<xFvl0AQlwgB/AAAB>
Nov 20 22:45:14 imap-login: Info: Disconnected (auth failed, 1 attempts in 20 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<C2Sj0AQlwQB/AAAB>
Nov 20 23:51:31 master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
dovecot -n
OS: Linux 3.16.0-4-686-pae i686 Debian 8.2
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
mail_location = maildir:~/Maildir
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 {
driver = pam
}
protocols = imap pop3 pop3
ssl = no
userdb {
driver = passwd
}