First post - How to troubleshoot IMAP from Exchange server

wtm wtmonroe.ls at gmail.com
Thu Oct 29 21:07:11 GMT 2015


Hello,

I've been using offlineimap (6.5.4) on Xubuntu 14.04 LTS for the last few
weeks
quite successfully to check my work (Exchange supporting IMAP) and personal
(Gmail) accounts until this morning when my work account just stopped
working.
I made no changes to my account and, as far as my system adminstrator could
tell, the email server configuration hadn't changed either.

My =~/.offlineimaprc= is:

[general]
accounts = Gmail, Work, Listservs
maxsyncaccounts = 3

[Account Gmail]
localrepository = GmailLocal
remoterepository = GmailRemote
# Minutes between syncs
autorefresh = 1
# Number of quick-syncs between autorefreshes. Quick-syncs do not update if
the
# only changes were to IMAP flags
quick = 10

[Repository GmailLocal]
type = Maildir
localfolders = ~/Maildir/Gmail

[Repository GmailRemote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = GMAILUSER
remotepass = GMAILPASSWORD
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 3
realdelete = no
keepalive = 60
holdconnectionopen = yes

[Account Work]
localrepository = WorkLocal
remoterepository = WorkRemote
autorefresh = 1
quick = 10

[Repository WorkLocal]
type = Maildir
localfolders = ~/Maildir/Work

[Repository WorkRemote]
type = IMAP
remotehost = EXCHANGE.SERVER
remoteuser = USERNAME
remotepass = PASSWORD
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 3
keepalive = 60
holdconnectionopen = yes

[Account Listservs]
localrepository = ListservsLocal
remoterepository = ListservsRemote
autorefresh = 5
quick = 10

[Repository ListservsLocal]
type = Maildir
localfolders = ~/Maildir/Listservs

[Repository ListservsRemote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = LISTSERVUSERNAME
remotepass = LISTSERVPASSWORD
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
maxconnections = 3
realdelete = no
keepalive = 60
holdconnectionopen = yes

I'm really at a loss as to how to troubleshoot it.  I tried running the
following command where "Work" is the account I'm trying to troubleshoot:

=offlineimap -d imap -a Work=

And the output I received was:

 Processing account Work
 Establishing connection to EXCHANGE.SERVER:993
 [imap]:   05:37.20 Account sync Work imaplib2 version 2.33
 [imap]:   05:37.20 Account sync Work imaplib2 debug level 5, buffer level 3
EXCHANGE.SERVER writer:
 [imap]:   05:37.24 EXCHANGE.SERVER writer starting
EXCHANGE.SERVER reader:
 [imap]:   05:37.24 EXCHANGE.SERVER reader starting using poll
Account sync Work:
 [imap]:   05:37.24 Account sync Work _request_push(continuation, None, {})
= DOOB0
 [imap]:   05:37.24 Account sync Work None:DOOB0.ready.wait
EXCHANGE.SERVER reader:
 [imap]:   05:37.27 EXCHANGE.SERVER reader poll => [(4, 1)]
 [imap]:   05:37.27 EXCHANGE.SERVER reader rcvd 53
 [imap]:   05:37.28 EXCHANGE.SERVER reader < * OK The Microsoft Exchange
IMAP4 service is ready.\r\n
EXCHANGE.SERVER handler:
 [imap]:   05:37.34 EXCHANGE.SERVER handler starting
 [imap]:   05:37.34 EXCHANGE.SERVER handler untagged_responses[OK] 0 +=
["The Microsoft Exchange IMAP4 service is ready."]
 [imap]:   05:37.34 EXCHANGE.SERVER handler state_change_free.set
 [imap]:   05:37.34 EXCHANGE.SERVER handler _request_pop(continuation,
(False, '* OK The Microsoft Exchange IMAP4 service is ready.')) = DOOB0
 [imap]:   05:37.34 EXCHANGE.SERVER handler None:DOOB0.ready.set
Account sync Work:
 [imap]:   05:37.34 Account sync Work _get_untagged_response(OK) => ['The
Microsoft Exchange IMAP4 service is ready.']
 [imap]:   05:37.34 Account sync Work state => NONAUTH
 [imap]:   05:37.34 Account sync Work [async] CAPABILITY ()
 [imap]:   05:37.34 Account sync Work state_change_pending.acquire
 [imap]:   05:37.34 Account sync Work state_change_pending.release
 [imap]:   05:37.34 Account sync Work _request_push(DOOB1, CAPABILITY, {})
= DOOB1
 [imap]:   05:37.34 Account sync Work data=DOOB1 CAPABILITY
 [imap]:   05:37.34 Account sync Work CAPABILITY:DOOB1.ready.wait
EXCHANGE.SERVER writer:
 [imap]:   05:37.34 EXCHANGE.SERVER writer > DOOB1 CAPABILITY\r\n
EXCHANGE.SERVER reader:
 [imap]:   05:37.34 EXCHANGE.SERVER reader poll => [(4, 1)]
 [imap]:   05:37.34 EXCHANGE.SERVER reader rcvd 136
 [imap]:   05:37.34 EXCHANGE.SERVER reader < * CAPABILITY IMAP4 IMAP4rev1
AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN UIDPLUS CHILDREN IDLE NAMESPACE
LITERAL+\r\n
 [imap]:   05:37.34 EXCHANGE.SERVER reader < DOOB1 OK CAPABILITY
completed.\r\n
EXCHANGE.SERVER handler:
 [imap]:   05:37.34 EXCHANGE.SERVER handler untagged_responses[CAPABILITY]
0 += ["IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN UIDPLUS CHILDREN
IDLE NAMESPACE LITERAL+"]
 [imap]:   05:37.34 EXCHANGE.SERVER handler state_change_free.set
 [imap]:   05:37.34 EXCHANGE.SERVER handler _request_pop(DOOB1, ('OK',
['CAPABILITY completed.'])) = DOOB1
 [imap]:   05:37.34 EXCHANGE.SERVER handler CAPABILITY:DOOB1.ready.set
Account sync Work:
 [imap]:   05:37.34 Account sync Work _get_untagged_response(CAPABILITY) =>
['IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN UIDPLUS CHILDREN IDLE
NAMESPACE LITERAL+']
 [imap]:   05:37.34 Account sync Work _untagged_response(OK, ?, CAPABILITY)
=> ['IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN UIDPLUS CHILDREN IDLE
NAMESPACE LITERAL+']
 [imap]:   05:37.34 Account sync Work CAPABILITY: ('IMAP4', 'IMAP4REV1',
'AUTH=NTLM', 'AUTH=GSSAPI', 'AUTH=PLAIN', 'UIDPLUS', 'CHILDREN', 'IDLE',
'NAMESPACE', 'LITERAL+')
 [imap]: Attempting plain authentication
 [imap]:   05:37.34 Account sync Work [sync] LOGIN ('USERNAME',
'"PASSWORD"')
 [imap]:   05:37.34 Account sync Work state_change_pending.acquire
 [imap]:   05:37.34 Account sync Work _request_push(DOOB2, LOGIN, {}) =
DOOB2
 [imap]:   05:37.34 Account sync Work data=DOOB2 LOGIN USERNAME "PASSWORD"
 [imap]:   05:37.34 Account sync Work LOGIN:DOOB2.ready.wait
EXCHANGE.SERVER writer:
 [imap]:   05:37.34 EXCHANGE.SERVER writer > DOOB2 LOGIN USERNAME
"PASSWORD"\r\n
EXCHANGE.SERVER reader:
 [imap]:   05:37.37 EXCHANGE.SERVER reader poll => [(4, 1)]
 [imap]:   05:37.37 EXCHANGE.SERVER reader rcvd 24
 [imap]:   05:37.37 EXCHANGE.SERVER reader < DOOB2 NO LOGIN failed.\r\n
EXCHANGE.SERVER handler:
 [imap]:   05:37.37 EXCHANGE.SERVER handler state_change_free.set
 [imap]:   05:37.37 EXCHANGE.SERVER handler _request_pop(DOOB2, ('NO',
['LOGIN failed.'])) = DOOB2
 [imap]:   05:37.37 EXCHANGE.SERVER handler LOGIN:DOOB2.ready.set
Account sync Work:
 [imap]:   05:37.37 Account sync Work state_change_pending.release
EXCHANGE.SERVER handler:
 [imap]:   05:37.37 EXCHANGE.SERVER handler NO response: LOGIN failed.
Account sync Work:
 ERROR: While attempting to sync account 'Work'
  LOGIN failed.

 [imap]:   06:37.62 Account sync Work state_change_pending.release
 ERROR: While attempting to sync account 'Work'
  LOGIN failed.

I'd really appreciate any advice on how to troubleshoot this.  Thanks for
your
time.

Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20151029/4ff56af8/attachment-0002.html>


More information about the OfflineIMAP-project mailing list