Latest install cannot get incoming email to work

I am a bit baffled. I cannot egt the incoming email setup to work. I installed the latest SugarCRM 6.5.22 and the IMAP settings worked. I then Created a new installation of the latest SuiteCRM and I cannot get the IMAP settings to work. I have tried everything I can think of.

The settings are correct and work on every other device, i.e. mobile, tablet, desktop etc.

I control the mail server.

Settings should be
Server: mail.mydomain.com
Protocol: IMAP
Port: 993

All of the credential are correct. On the server side I get these errors in the log when I press the test connection button in SuiteCRM

Sep 6 14:04:41 vps1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=x.x.x.x, lip=x.x.x.x, TLS, session=<QO+lxhMf2wBQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=x.x.x.x, lip=x.x.x.x, TLS, session=<XKGmxhMf3ABQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=x.x.x.x, lip=x.x.x.x, TLS, session=<kT2nxhMf3QBQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=x.x.x.x, lip=x.x.x.x, TLS, session=</dKnxhMf3gBQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>,rip=x.x.x.x, lip=x.x.x.x, TLS, session=<hYSoxhMf3wBQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>,rip=x.x.x.x, lip=x.x.x.x, TLS, session=<7C6pxhMf4ABQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=x.x.x.x, lip=x.x.x.x, TLS, session=<T22qxhMf4QBQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=x.x.x.x, lip=x.x.x.x, TLS, session=<grOrxhMf4gBQsZO+>
Sep 6 14:04:41 vps1 dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>,rip=x.x.x.x, lip=x.x.x.x, TLS, session=<EeysxhMf4wBQsZO+>

Its like it is not sending any information to he server to login.

Any help appreciated please.

Cheers
Spart

Hi,

Are your permissions for your SuiteCRM Instance set to the correct values? It may differ slightly depending on if it is a Linux or a Windows host.

Also, When trying to Test Connection or when sending a Test E-mail through SuiteCRM, do you get any error messages in your Suitecrm.log or sugarcrm.log files?

Any luck, I’m having the same problem with a SuiteCRM and Dovecot installation. Can authenticate to other IMAP servers from other email providers, but will not work on Dovecot. Bit baffled… SuiteCRM and Dovecot are on different services. Couldn’t find any firewall errors either. Have installed the CM route certificates to the SuiteCRM server in case it was an SSL issue - hasn’t solved the issue. Planning to migrate SuiteCRM to the Dovecot server at some point so maybe this might solve it…

You have to allow plaintext login.
In the folder /etc/dovecot/conf.d edit 10-auth.conf and set:
disable_plaintext_auth = no
It will work… :slight_smile: