Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-10 Thread Kip DeGraaf

On 9 Oct 2014, at 3:36, Benny Kjær Nielsen wrote:

We can try taking MailMate out of the equation. Use Terminal to 
connect to the server like this:


openssl s_client -connect imap.mail.me.com:993

When it has connected then write the following with your login 
details:


0 LOGIN username password

I have no problems with my own account, but I do not have two-step 
verification enabled.


Well it looks like Apple is the problem, I've filed a support ticket 
with them.


Whether I use my iCloud regular password or a brand new App-Specific 
password I get


0 NO [AUTHENTICATIONFAILED] Authentication failed

after the '0 LOGIN myusername password' entry.

I've so stumped the Apple support team that I've been passed to an 
escalation team, spent 45 minutes on the phone with them and now I'm due 
for a callback the next day.


Thank you for the suggestion about using the openssl connect, it cut 
through a lot of potential finger pointing by Apple Support and squarely 
demonstrated the issue was theirs.___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-09 Thread Benny Kjær Nielsen

On 8 Oct 2014, at 17:54, Kip DeGraaf wrote:


Sorry, should have mentioned that in the previous posting.

Build 4551 is what I was running.  I've grabbed 4555 this morning, 
made a new App-Specific Password, still unable to use iCloud mail.


...

If it would help, I'm happy to give you a copy of the connection log 
from Apple Mail for my iCloud account.


No, it won't help me. `AUTH=ATOKEN` appears to be completely 
undocumented and therefore not something I can use.


We can try taking MailMate out of the equation. Use Terminal to connect 
to the server like this:


openssl s_client -connect imap.mail.me.com:993

When it has connected then write the following with your login details:

0 LOGIN username password

I have no problems with my own account, but I do not have two-step 
verification enabled.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-08 Thread Kip DeGraaf

Sorry, should have mentioned that in the previous posting.

Build 4551 is what I was running.  I've grabbed 4555 this morning, made 
a new App-Specific Password, still unable to use iCloud mail.


I've removed the IMAP Source and reimported it a couple of times now.  
I've made sure that the IMAP username is just the username and not the 
full email address, while still using full email for SMTP.


And while the connection doctor available in Apple Mail leaves a bit to 
be desired, it does show, as does the Apple Mail account preferences, 
that it is using Apple Token to get connected to iCloud Mail.


If it would help, I'm happy to give you a copy of the connection log 
from Apple Mail for my iCloud account.



On 8 Oct 2014, at 2:35, Benny Kjær Nielsen wrote:


On 8 Oct 2014, at 1:11, Kip DeGraaf wrote:

For what it's worth, I had to go into my Manage Apple ID section to 
enable Two-step verification before I could create App-Specific 
Passwords.


However, even after enabling that and creating an App-Specific 
Password, I still get this in my Activity Viewer:


Make sure you are not affected by a bug in one of the recent test 
versions. This bug could roll back your IMAP settings to something 
that didn't work in the past (and therefore you changed it). For 
iCloud accounts this could be the use of a full email address as 
username instead of only the username part of the email address.


23:00:06 S: * OK [CAPABILITY st11p00mm-iscream012 14G 
XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] 
iSCREAM ready to rumble


Off topic: I guess Apple Mail uses “AUTH=ATOKEN” to login. I'm 
offline at the time of writing this and cannot look it up, but I do 
know it is not supported by MailMate.


Was asked for the password twice even though I had already set the 
password in the Edit IMAP Account section.


When authentication fails then MailMate keeps on asking. I did make 
some recent changes to password handling which means I'm not ruling 
out any new bugs.


If you still cannot make it work then let's debug the issue off list.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-08 Thread Benny Kjær Nielsen

On 7 Oct 2014, at 23:41, Scott A. McIntyre wrote:


On 8 Oct 2014, at 8:35, Steve Mayer wrote:

You should have received an email from Apple a few weeks back 
concerning the requirement of using app specific passwords for third 
party apps accessing iCloud.  It appears they turned this on today.


I guess I'll be receiving a lot of feedback related to this the next few 
days :-)


Seems a bit strange that this does not include Apple Mail. I wonder what 
prevents a third party app from pretending to be Apple Mail…


I was able to generate an app specific password for MailMate and the 
login worked again fine.


Great tip, Steve, thanks.  That was it indeed.

I've had so many mails from Apple for dev testing on 10.10 that this 
particular one slipped by me.


Worth noting for others!


Well, if I received such an email in my iCloud account then I also 
missed it (and apparently also deleted it).


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-08 Thread Benny Kjær Nielsen

On 8 Oct 2014, at 1:11, Kip DeGraaf wrote:

For what it's worth, I had to go into my Manage Apple ID section to 
enable Two-step verification before I could create App-Specific 
Passwords.


However, even after enabling that and creating an App-Specific 
Password, I still get this in my Activity Viewer:


Make sure you are not affected by a bug in one of the recent test 
versions. This bug could roll back your IMAP settings to something that 
didn't work in the past (and therefore you changed it). For iCloud 
accounts this could be the use of a full email address as username 
instead of only the username part of the email address.


23:00:06 S: * OK [CAPABILITY st11p00mm-iscream012 14G 
XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] 
iSCREAM ready to rumble


Off topic: I guess Apple Mail uses “AUTH=ATOKEN” to login. I'm 
offline at the time of writing this and cannot look it up, but I do know 
it is not supported by MailMate.


Was asked for the password twice even though I had already set the 
password in the Edit IMAP Account section.


When authentication fails then MailMate keeps on asking. I did make some 
recent changes to password handling which means I'm not ruling out any 
new bugs.


If you still cannot make it work then let's debug the issue off list.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-07 Thread Kip DeGraaf
For what it's worth, I had to go into my Manage Apple ID section to 
enable Two-step verification before I could create App-Specific 
Passwords.


However, even after enabling that and creating an App-Specific Password, 
I still get this in my Activity Viewer:


22:59:57 Running action
22:59:57 Sending request (15)
22:59:57 Handling request
22:59:57 Ready to run action
22:59:57 Clearing connection to imap.mail.me.com
22:59:57 Trying to connect to imap.mail.me.com on port 993
22:59:57 Successful connection on socket 57.
22:59:57 Initiating secure connection...
22:59:57 Setup of secure connection complete (TLSv1).
22:59:57  Cipher: AES256-SHA  SSLv3 Kx=RSA  Au=RSA  
Enc=AES(256)  Mac=SHA1
22:59:57 S: * OK [CAPABILITY st11p00mm-iscream023 14G XAPPLEPUSHSERVICE 
IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] iSCREAM ready to rumble 
(14G:13928) st11p00mm-iscream023 [37:501:22:59:57:9B]

22:59:57 Retrieving password (keychain or user request)
22:59:57 C: A0 AUTHENTICATE PLAIN ••
23:00:01 S: A0 NO [AUTHENTICATIONFAILED] Authentication failed
23:00:01 Error: Server response: “A0 NO [AUTHENTICATIONFAILED] 
Authentication failed”. Command attempted: “A0 AUTHENTICATE PLAIN 
••”.

23:00:01 Retrieving password (keychain or user request)
23:00:05 C: A1 AUTHENTICATE PLAIN ••
23:00:05 Error: TCP socket was unexpectedly closed.
23:00:05 S:
23:00:05 Error code: 2
23:00:05 Failed action (1000). Reset observed read/write timeouts: 8/8

23:00:05 Handling reply
23:00:05 Running action
23:00:05 Sending request (13)
23:00:05 Handling request
23:00:05 Trying to disconnect nicely (8)...
23:00:05 C: A2 LOGOUT
23:00:05 Error: TCP socket was unexpectedly closed.
23:00:05 S:
23:00:05 Clearing connection to imap.mail.me.com
23:00:06 Ready to run action
23:00:06 Clearing connection to imap.mail.me.com
23:00:06 Trying to connect to imap.mail.me.com on port 993
23:00:06 Successful connection on socket 57.
23:00:06 Initiating secure connection...
23:00:06 Setup of secure connection complete (TLSv1).
23:00:06  Cipher: AES256-SHA  SSLv3 Kx=RSA  Au=RSA  
Enc=AES(256)  Mac=SHA1
23:00:06 S: * OK [CAPABILITY st11p00mm-iscream012 14G XAPPLEPUSHSERVICE 
IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] iSCREAM ready to rumble 
(14G:640) st11p00mm-iscream012 [27:247:23:00:06:BD]

23:00:06 Reusing latest used password
23:00:06 C: A0 AUTHENTICATE PLAIN ••
23:00:10 S: A0 NO [AUTHENTICATIONFAILED] Authentication failed
23:00:10 Error: Server response: “A0 NO [AUTHENTICATIONFAILED] 
Authentication failed”. Command attempted: “A0 AUTHENTICATE PLAIN 
••”.

23:00:10 Retrieving password (keychain or user request)
23:00:12 Error: Failed to retrieve password for account.
23:00:12 Error code: 4
23:00:12 Failed action (1000). Reset observed read/write timeouts: 8/8

23:00:12 Handling reply

Was asked for the password twice even though I had already set the 
password in the Edit IMAP Account section.


On 7 Oct 2014, at 17:41, Scott A. McIntyre wrote:


On 8 Oct 2014, at 8:35, Steve Mayer wrote:


Scott,

You should have received an email from Apple a few weeks back 
concerning the requirement of using app specific passwords for third 
party apps accessing iCloud.  It appears they turned this on today.


I was able to generate an app specific password for MailMate and the 
login worked again fine.



Great tip, Steve, thanks.  That was it indeed.

I've had so many mails from Apple for dev testing on 10.10 that this 
particular one slipped by me.


Worth noting for others!

Scott

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-07 Thread Scott A. McIntyre



On 8 Oct 2014, at 8:35, Steve Mayer wrote:


Scott,

You should have received an email from Apple a few weeks back 
concerning the requirement of using app specific passwords for third 
party apps accessing iCloud.  It appears they turned this on today.


I was able to generate an app specific password for MailMate and the 
login worked again fine.



Great tip, Steve, thanks.  That was it indeed.

I've had so many mails from Apple for dev testing on 10.10 that this 
particular one slipped by me.


Worth noting for others!

Scott

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-07 Thread Steve Mayer

Scott,

  You should have received an email from Apple a few weeks back 
concerning the requirement of using app specific passwords for third 
party apps accessing iCloud.  It appears they turned this on today.


  I was able to generate an app specific password for MailMate and the 
login worked again fine.



--
Steve Mayer
smaye...@me.com

On 7 Oct 2014, at 14:33, Scott A. McIntyre wrote:


Hi,

For what it's worth, as of a few minutes ago MailMate seems unable to 
authenticate to iCloud for email again.


Server response: “A0 NO [AUTHENTICATIONFAILED] Authentication 
failed”. Command attempted: “A0 AUTHENTICATE PLAIN 
••”.


However, it works fine for Mail.app and iCloud -- and yes, my IMAP 
username is only the username component, not the domain.


Not sure if this is an Apple issue or MailMate issue; I updated to the 
latest Alpha and that's when I've been stuck unable to authenticate.


Cheers,

Scott
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-07 Thread Scott A. McIntyre

Hi,

For what it's worth, as of a few minutes ago MailMate seems unable to 
authenticate to iCloud for email again.


Server response: “A0 NO [AUTHENTICATIONFAILED] Authentication 
failed”. Command attempted: “A0 AUTHENTICATE PLAIN 
••”.


However, it works fine for Mail.app and iCloud -- and yes, my IMAP 
username is only the username component, not the domain.


Not sure if this is an Apple issue or MailMate issue; I updated to the 
latest Alpha and that's when I've been stuck unable to authenticate.


Cheers,

Scott
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-03 Thread Benny Kjær Nielsen

On 3 Oct 2014, at 21:53, Zi Yan wrote:


Thanks. After removing @me.com part, I can login.

The weird thing is before 4469, I was able to login without any 
problem.


Anyway, I will remember not to put my entire email address there 
again.


Ah, that's my fault. The first beta I sent out today (fetched by ~70 
people before I pulled it) had a bug which would reset any changes done 
in the past to the IMAP hostname or username. You have probably made 
this change (removing `me.com`) once before. Sorry about that!


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-03 Thread Zi Yan
Thanks. After removing @me.com part, I can login.

The weird thing is before 4469, I was able to login without any problem.

Anyway, I will remember not to put my entire email address there again.

--
Best Regards
Yan Zi

On 3 Oct 2014, at 15:17, Benny Kjær Nielsen wrote:

> On 3 Oct 2014, at 20:36, Zi Yan wrote:
>
>> After updating to 4469, I am not able to connect to my iCloud mailbox.
>> After I update to 4551, I am still not able to connect.
>>
>> The error is always authentication failed.
>>
>> I tried my iCloud password, application-specific password. Neither works.
>
> The most frequent problem with iCloud is the username for the IMAP settings. 
> It should only be the username part of your email address and not the full 
> email address. If that doesn't help then provide your account settings.
>
> The recommended settings can be found 
> [here](http://support.apple.com/kb/ht4864). Interestingly (and 
> inconsistently) Apple writes that the entire email address should be used for 
> SMTP, but that does not seem to matter for my test account.
>
> By the way, r4551 should be able to import your iCloud account from Apple 
> Mail. You can test this by right-clicking the account to “Remove Source” and 
> then use “File ▸ Import Accounts…” to import it.
>
> -- 
> Benny
> ___
> mailmate mailing list
> mailmate@lists.freron.com
> http://lists.freron.com/listinfo/mailmate


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Cannot connect to iCloud mailbox

2014-10-03 Thread Benny Kjær Nielsen

On 3 Oct 2014, at 20:36, Zi Yan wrote:


After updating to 4469, I am not able to connect to my iCloud mailbox.
After I update to 4551, I am still not able to connect.

The error is always authentication failed.

I tried my iCloud password, application-specific password. Neither 
works.


The most frequent problem with iCloud is the username for the IMAP 
settings. It should only be the username part of your email address and 
not the full email address. If that doesn't help then provide your 
account settings.


The recommended settings can be found 
[here](http://support.apple.com/kb/ht4864). Interestingly (and 
inconsistently) Apple writes that the entire email address should be 
used for SMTP, but that does not seem to matter for my test account.


By the way, r4551 should be able to import your iCloud account from 
Apple Mail. You can test this by right-clicking the account to “Remove 
Source” and then use “File ▸ Import Accounts…” to import it.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


[MlMt] Cannot connect to iCloud mailbox

2014-10-03 Thread Zi Yan
After updating to 4469, I am not able to connect to my iCloud mailbox.
After I update to 4551, I am still not able to connect.

The error is always authentication failed.

I tried my iCloud password, application-specific password. Neither works.

Need some help. Thanks.

Here is the log:
18:29:38 Handling reply
18:29:38 Running action
18:29:38 Sending request (48)
18:29:38 Handling request
18:29:38 Trying to disconnect nicely (8)...
18:29:38 C: A2 LOGOUT
18:29:38 Error: Error sending data.
18:29:38 Clearing connection to imap.mail.me.com
18:29:40 Ready to run action
18:29:40 Clearing connection to imap.mail.me.com
18:29:40 Trying to connect to imap.mail.me.com on port 993
18:29:40 Successful connection on socket 82.
18:29:40 Initiating secure connection...
18:29:40 Setup of secure connection complete (TLSv1).
18:29:40  Cipher: AES256-SHA  SSLv3 Kx=RSA  Au=RSA  
Enc=AES(256)  Mac=SHA1
18:29:40 S: * OK [CAPABILITY st11p00mm-iscream035 14F XAPPLEPUSHSERVICE IMAP4 
IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN] iSCREAM ready to rumble (14F:16052) 
st11p00mm-iscream035 [20:501:18:29:39:3F]
18:29:40 Reusing latest used password
18:29:40 C: A0 AUTHENTICATE PLAIN ••
18:29:43 S: A0 NO [AUTHENTICATIONFAILED] Authentication failed
18:29:43 Error: Server response: “A0 NO [AUTHENTICATIONFAILED] Authentication 
failed”. Command attempted: “A0 AUTHENTICATE PLAIN ••”.
=
18:29:43 Retrieving password (keychain or user request)
18:29:45 Error: Failed to retrieve password for account.
18:29:45 Error code: 4
18:29:45 Failed action (1000). Reset observed read/write timeouts: 8/8

18:29:45 Handling reply


--
Best Regards
Yan Zi


signature.asc
Description: OpenPGP digital signature
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate