Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

IMAP for my office e-mail has stopped working

After upgrading from Snow Leopard to Lion, IMAP to my office e-mail has stopped working in Mail.app. My g-mail and other organisation IMAP services are still functioning fine.


Asking around the office, this seems to be a common problem with Lion. Any ideas?


Many thanks.

Mac OS X (10.7)

Posted on Jul 20, 2011 6:56 AM

Reply
28 replies

Jul 20, 2011 10:45 PM in response to swiftorific

Had the same problem with one IMAP account... here's what my genius of an ISP guy told me:


"go into the preferences in

Mail and look at the settings, for the imap

server and try turning off the "Use SSL", save it and see if it works.


If it does, go back in and turn SSL back on.


My theory is with the SSL cert, maybe it wasn't moved or another copy taken

which is used to encrypt the connection."


Worked for me! (Thanks Bruce)

Jul 20, 2011 11:59 PM in response to steven228

steven228 wrote:


I have the same problem on an IMAP server I host for myself using SSL. From the server side it looks like the client drops -- from the Mail.app log it looks like the server rejects AUTHENTICATE PLAIN **** as having a bad argument.


You're absolutely right. Checking the log...


READ Jul 21 07:55:53.774 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:imap.myhost.com -- port:993 -- socket:0x7f97c7d5f220 -- thread:0x7f97ca65df60

* OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] mailsrv1.myhost.com IMAP4rev1 2007e.404 at Thu, 21 Jul 2011 07:55:53 +0100 (BST)



WROTE Jul 21 07:55:53.778 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:imap.myhost.com -- port:993 -- socket:0x7f97c7d5f220 -- thread:0x7f97ca8428a0

1.15 AUTHENTICATE PLAIN ********************



READ Jul 21 07:55:53.779 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:imap.myhost.com -- port:993 -- socket:0x7f97c7d5f220 -- thread:0x7f97ca8428a0

1.15 BAD Missing or invalid argument to AUTHENTICATE


So... how do we fix this?

Jul 21, 2011 8:53 AM in response to steven228

Good job! I never thought of quickly setting up an IMAP server and trying against it. So far, I have the same problem with my IMAP server at work.


However, there is one issue: the connection to the MobileMe server (which is also IMAP) works perfectly.


When investigating from the Connection Doctor, with the server from work I get this:

CONNECTED Jul 21 11:02:28.233 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.myhost.com -- port:993 -- socket:0x7f91b9d79540 -- thread:0x7f91b98514e0


READ Jul 21 11:02:28.297 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.myhost.com -- port:993 -- socket:0x7f91b9d79540 -- thread:0x7f91b98514e0

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2008 Double Precision, Inc. See COPYING for distribution information.


WROTE Jul 21 11:02:28.302 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.myhost.com -- port:993 -- socket:0x7f91b9d79540 -- thread:0x7f91b8541180

1.19 AUTHENTICATE PLAIN

With the server from MobileMe, I get this:

CONNECTED Jul 21 11:02:28.515 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.me.com -- port:993 -- socket:0x7f91b9e64f30 -- thread:0x7f91b9857670


READ Jul 21 11:02:29.633 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.me.com -- port:993 -- socket:0x7f91b9e64f30 -- thread:0x7f91b9857670

* OK [CAPABILITY mmp0291 IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 IDLE AUTH=PLAIN AUTH=PLAIN] Messaging Multiplexor (Oracle Communications Messaging Exchange Server 7.4-20.01 (built Nov 21 2010))


WROTE Jul 21 11:02:29.744 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.me.com -- port:993 -- socket:0x7f91b9e64f30 -- thread:0x7f91b9cd9a60

1.20 AUTHENTICATE PLAIN ****************************


READ Jul 21 11:02:30.070 [kCFStreamSocketSecurityLevelNegotiatedSSL] -- host:mail.me.com -- port:993 -- socket:0x7f91b9e64f30 -- thread:0x7f91b9cd9a60

1.20 OK User logged in

So, the AUTHENTICATE lines differ. I don't know what those '*'-s mean.

IMAP for my office e-mail has stopped working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.