Cannot login to dovecot IMAP/POP3

When i try to login to my email account on Microsoft outlook 2010 and text account settings it gives me this error:

Log onto incoming mail server (IMAP): The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP).

The mail.err log:

Mar 17 13:43:30 mail dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=1882, input bytes=0
Mar 17 13:43:59 mail dovecot: auth: Fatal: APOP mechanism can’t be supported with given passdbs
Mar 17 13:43:59 mail dovecot: master: Error: service(auth): command startup failed, throttling for 60 secs
Mar 17 13:44:32 mail dovecot: imap-login: Error: Timeout waiting for handshake from auth server. my pid=1886, input bytes=0

And this is for IMAP/POP3 neither work. SMTP is working perfectly fine though.


Hmm, are you attempting to use the APOP protocol with Outlook? It looks like the error is specific to APOP, which isn’t typically used by default.

You may want to try using standard IMAP, which should work out of the box.

If that doesn’t help, what output do you see if you run the command “dovecot -n”?


I have the same issue.

When I run “dovecot -n” I see: (d6601f4ec): /etc/dovecot/dovecot.conf

Pigeonhole version 0.4.21 (92477967)

OS: Linux 4.15.0-22-generic x86_64 Ubuntu 18.04 LTS

auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = maildir:~/Maildir:INDEX=/var/lib/dovecot-virtualmin/index/%u:CON TROL=/var/lib/dovecot-virtualmin/control/%u
mail_privileged_group = mail
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_cert = </etc/dovecot/private/dovecot.pem
ssl_cipher_list = ECDHE-RSA-AES256-SHA384:AES256-SHA256:AES256-SHA256:RC4:HIGH:M EDIUM:+TLSv1:+TLSv1.1:+TLSv1.2:!MD5:!ADH:!aNULL:!eNULL:!NULL:!DH:!ADH:!EDH:!AESG CM
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd

Are there any obvious mistakes in that configuration?

i have the same issue. please help us about that

@amirb322 You are a spam? Or user that needs real help?