I have configured mail-to-activity but when I run the task to fetch mails, I get an error message in job's log (without any details) and this kind of message in IMAP server log:
Oct 8 14:00:01 bazylia dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=10.117.113.20, lip=10.117.113.5, TLS, session=<OrpYmpYhbQAKdXEU>
This mail is 'firstname.lastname@example.org'. I have set user name ('kontakt') and password and obviously CiviCRM can connect to IMAP server. How can I debug this?