1

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 'kontakt@mydmain.com'. I have set user name ('kontakt') and password and obviously CiviCRM can connect to IMAP server. How can I debug this?

1

According to this page, the most common reason for your error is that your server only accepts STARTTLS connections on port 143.

If this is your situation, then you can either connect over SSL on port 993 if your server allows it, or you can connect using STARTTLS. Note that there are some caveats to connecting over TLS: See here and here.

0

You need to use a IMAP password that does not contain weird/special characters. CiviCRM uses IMAP client that provides user password in such a way that my server (Dovecot) returns an information about bad password format/quoting.

I used tcpdump to track this error.

The password was #iCE+&G-UFF"D and I have changed it to alphanumeric ones.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.