Not able to log in to Webmail/IMAP

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:00:41 UTC

Modified:

2017-02-12 03:06:52 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Not able to log in to Webmail/IMAP

Symptoms

Unable to log in to Webmail/IMAP for example.com . It fails with the below errors:

courier-imapd: info@example.com: chdir(/var/qmail/mailnames/example.com/info) failed!!
courier-imapd: error: Permission denied
courier-imapd: LOGIN FAILED, method=PLAIN, ip=[::1]
courier-imapd: authentication error: Permission denied

or

dovecot: service=imap, user=info@example.com, ip=[127.0.0.1]. Error: opendir(/var/qmail/mailnames/example.com/applications/Maildir) failed: Permission denied (euid=30(popuser) egid=31(popuser) missing +r perm: /var/qmail/mailnames/example.com/applications/Maildir, we're not in group 516)

Cause

Incorrect permissions for /var/qmail/mailnames/example.com/ directory. It should be as follows:

# stat /var/qmail/mailnames/example.com/ | grep Access
Access: (0700/drwx------) Uid: ( 30/ popuser) Gid: ( 31/ popuser)
Access: 2015-12-23 16:59:20.527983735 +0700

Resolution

Correct the permissions as below:

# chown -R popuser:popuser /var/qmail/mailnames/example.com/

Make sure /var/qmail/mailnames/domain.tld/applications/Maildir/ has the same permissions

Have more questions? Submit a request
Please sign in to leave a comment.