Cannot login to dovecot IMAP/POP3

5 posts / 0 new
Last post
#1 Thu, 03/17/2016 - 13:49
Trey2k

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.

Thu, 03/17/2016 - 18:54
andreychek

Howdy,

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"?

-Eric

Sun, 06/03/2018 - 16:47
NDDT

I have the same issue.

When I run "dovecot -n" I see:

# 2.2.33.2 (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?

Tue, 11/06/2018 - 15:32
amirb322

i have the same issue. please help us about that

Wed, 11/07/2018 - 17:55
marcelorp

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