Mailer check problems

Hello,

We’ve just installed Trudesk and looking forward to use this fully. Our problem now is that we have some issues connecting to our self-hosted Exchange 2010 infrastructure using IMAP.

The error logs we get after various attempts is two of the follwing depending on the settings.

IMAP Port 143:

debug: message=Logging in is disabled on this server, stack=Error: Logging in is disabled on this server
at Connection.<anonymous> (/etc/trudesk/node_modules/imap/lib/Connection.js:1655:15)
at Connection._resTagged (/etc/trudesk/node_modules/imap/lib/Connection.js:1535:22)
at Parser.<anonymous> (/etc/trudesk/node_modules/imap/lib/Connection.js:194:10)
at Parser.emit (events.js:198:13)
at Parser._resTagged (/etc/trudesk/node_modules/imap/lib/Parser.js:175:10)
at Parser._parse (/etc/trudesk/node_modules/imap/lib/Parser.js:139:16)
at Parser._tryread (/etc/trudesk/node_modules/imap/lib/Parser.js:82:15)
at Socket.Parser._cbReadable (/etc/trudesk/node_modules/imap/lib/Parser.js:53:12)
at Socket.emit (events.js:198:13)
at emitReadable_ (_stream_readable.js:555:12)
at process._tickCallback (internal/process/next_tick.js:63:19), source=authentication

IMAP Port 993:

1/27 12:27:38 [18649] - debug:  message=139716542625600:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:, stack=Error: 139716542625600:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

at Socket.ondata (internal/wrap_js_stream.js:64:22)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (_stream_readable.js:269:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17), source=socket

I’m looking forward to your assistance!

Edit: We are using Trudesk version 1.1.2!

Kind regards,
Mattias

Turn of SSLv3 and connect on 993.

Hello,

SSLv3 is disabled on our Exchange 2010 server since a couple of years ago, I just rechecked to be sure. But we still get the above results when connecting on port 993?

Any more ideas?

Kind regards,
Mattias

Do you have SSLv3 turned off on the trudesk mail check settings?

I use Exchange 2010 for my development testing and it works flawless if SSLv3 is disabled on Trudesk.

Hello!

Finally found the problem. The certificate used for IMAP was not bound correctly after an update for some time ago, after deleting some old certificates and being sure that the IMAP service used the new certificate, Trudesk connected properly to the Exchange server.

Although we encountered another error when fetching the actual mail… Will troubleshoot a little bit more before posting again!

Thank you for the help Polonel!

Kind regards