Page 1 of 1

Problem with imap ssl login

Posted: Thu Jun 29, 2017 7:39 pm
by murgal
Hi!

I setup a let's encrypt certs for my domain, next add correct lines to dovecot.conf and exim template, rebuild mail domains etc. And still i have problem with login to mail server (tried to connect via 993/465, plain in thunderbird, username correct, [email protected])

Code: Select all

Jun 29 19:58:33 imap-login: Info: Aborted login (no auth attempts in 0 secs): user=<>, rip=XXXXXX, lip=XXXXXX, TLS, session=<812RDB1T9ABZSIT1>
Jun 29 19:59:55 imap-login: Info: Aborted login (no auth attempts in 0 secs): user=<>, rip=XXXXXX, lip=XXXXXX, TLS, session=<6CN5ER1TTwBZSIT1>

Whats wrong?

Code: Select all

root@mydc1:/var/log# dovecot -n
# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.8
auth_mechanisms = plain login
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
log_path = /var/log/dovecot.log
mail_access_groups = mail
mail_location = maildir:%h/mail/%d/%n
mail_privileged_group = mail
passdb {
  args = scheme=MD5-CRYPT username_format=%n /etc/exim4/domains/%d/passwd
  driver = passwd-file
}
protocols = imap pop3
service auth {
  unix_listener auth-client {
    group = mail
    mode = 0660
    user = dovecot
  }
  user = dovecot
}
ssl_cert = </home/admin/conf/web/ssl.DOMAIN.DOMAIN.crt
ssl_key = </home/admin/conf/web/ssl.DOMAIN.DOMAIN.pl.key
userdb {
  args = username_format=%n /etc/exim4/domains/%d/passwd
  driver = passwd-file
}