Ask / Submit
3

email: cannot log in to MacOS IMAP server [released]

asked 2013-12-28 03:24:21 +0300

epsilonijk gravatar image

updated 2014-07-31 14:52:14 +0300

jiit gravatar image

I didn't succeed in connecting to our MacOS IMAP server. I tried both SSL and TLS. The email app reports "authentication failed" but the login/password is definitely correct.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by VDVsx
close date 2015-03-03 14:39:06.591970

Comments

Can you check the log files from the IMAP server? If you have developer mode enabled, set in /home/nemo/.config/QtProject/Messageserver.conf:

[StdStreamLog]
Enabled=1

Then run message server in foreground pkill messageserver5; /usr/bin/messageserver5 and reproduce, any errors?

Kontio ( 2013-12-28 13:52:43 +0300 )edit

Sure, will do so soon! Thanks for the instructions!

epsilonijk ( 2013-12-28 16:47:33 +0300 )edit

These lines look like the reason for the failure:

[27216] Dez. 28 20:31:06 [Debug] IMAP :  "3" SEND a006 LOGIN myuser <password hidden> 
[27216] Dez. 28 20:31:06 [Debug] IMAP :  "3" RECV: a006 NO [ALERT] Unsupported authentication mechanism.
epsilonijk ( 2013-12-28 21:33:12 +0300 )edit

@Kontio Here are the available capabilities:

[27216] Dez. 28 20:34:31 [Debug] IMAP :  "3" SEND a003 CAPABILITY 
[27216] Dez. 28 20:34:31 [Debug] IMAP :  "3" RECV: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE XAPPLEPUSHSERVICE AUTH=CRAM-MD5 AUTH=X-PLAIN-SUBMIT AUTH=DIGEST-MD5 AUTH=GSSAPI
epsilonijk ( 2013-12-28 21:38:05 +0300 )edit

let's ping @VDVsx do you see anything wrong? I don't :-(

Kontio ( 2013-12-29 00:17:05 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2014-01-07 13:31:11 +0300

VDVsx gravatar image

updated 2014-01-07 13:32:07 +0300

CRAM-MD5 is only supported for STMP. However it should work if you manually edit the settings to use it, follow similar steps to this ones[1], skip 5 and in 6 do:

    ag-tool update-service ACCT_ID email int:imap4/authentication=3

[1] - https://together.jolla.com/question/3057/temporary-fix-to-email-not-syncing-problem/

edit flag offensive delete publish link more

Comments

@epsilonijk - What kind of apple email is this the free account former 'me' ?

VDVsx ( 2014-01-20 08:18:41 +0300 )edit

@VDVsx No, this is a company MacOS mail server. I don't know the exact version. If important, I can try to find out.

epsilonijk ( 2014-01-20 12:56:26 +0300 )edit

@epsilonijk - Would be good to know what mail server is running there. Thanks.

VDVsx ( 2014-01-20 15:44:51 +0300 )edit
1

answered 2015-03-03 14:38:56 +0300

VDVsx gravatar image

Fixed in 1.1.2 / Yliaavanlampi, now the auths are selected according to the advertised capabilities, from more secure to less secure, supported auths are:

XOAUTH2 for google accounts

CRAM-MD5, PLAIN, LOGIN for general IMAP/SMTP accounts.

edit flag offensive delete publish link more

Question tools

Follow
4 followers

Stats

Asked: 2013-12-28 03:24:21 +0300

Seen: 490 times

Last updated: Mar 03 '15