Remote mail is being deleted after sync

Kevin kjloc76 at gmail.com
Thu May 14 01:30:49 BST 2015


Hello all,

I'm experiencing an issue where my email is being deleted on the Remote
side leaving my inbox (and other folders) completely empty.  The mail is
now all sitting within my local maildirs and subsequent syncs do not send
any of it back up to the remote side.  As you can see if the --info output
below, my nametrans settings match in both directions so from what I can
tell, it should just be syncing those folders leaving the messages on both
sides.  I've pasted the output of 'offlineimap --info' below as well as a
few key lines from the debug logs.  Full debug logs can be viewed here:
http://pastebin.com/w5JQiYtq  Any help would be greatly appreciated!
Thanks!

$ offlineimap --info
OfflineIMAP 6.5.5
  Licensed under the GNU GPL v2+ (v2 or any later version)
Remote repository 'REMOTE_myuser at mydomain.com': type 'IMAP'
Host: outlook.office365.com Port: 993 SSL: True
Establishing connection to outlook.office365.com:993
Server supports ID extension.
Server welcome string: * OK The Microsoft Exchange IMAP4 service is ready.
[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
Server capabilities: ('IMAP4', 'IMAP4REV1', 'AUTH=PLAIN', 'AUTH=XOAUTH2',
'SASL-IR', 'UIDPLUS', 'MOVE', 'ID', 'UNSELECT', 'CLIENTACCESSRULES',
'CHILDREN', 'IDLE', 'NAMESPACE', 'LITERAL+')

folderfilter= FILTER_myuser_mydomain_com

nametrans= REMOTETRANS_myuser_mydomain_com

Folderlist:
 alerts
 Calendar (disabled)
 Contacts (disabled)
 Drafts -> drafts
 INBOX -> inbox
 Journal (disabled)
 Notes (disabled)
 Outbox (disabled)
 Sent Items -> sent
 Junk Email -> spam
 Tasks (disabled)
 Deleted Items -> trash

Local repository 'LOCAL_myuser at mydomain.com': type 'Maildir'
nametrans= LOCALTRANS_myuser_mydomain_com

Folderlist:
 alerts
 drafts -> Drafts
 inbox -> INBOX
 sent -> Sent Items
 spam -> Junk Email
 trash -> Deleted Items

--

2015-05-12 01:39:26 INFO: Syncing INBOX: IMAP -> Maildir
2015-05-12 01:39:26 DEBUG: Loading message list for Maildir[inbox]
2015-05-12 01:39:26 DEBUG: Message list for Maildir[inbox] loaded: 0
messages
2015-05-12 01:39:27 DEBUG: Message list for IMAP[INBOX] loaded: 103 messages
2015-05-12 01:39:27 DEBUG: Syncing messages IMAP[INBOX] -> Maildir[inbox]
2015-05-12 01:39:27 INFO: [DRYRUN] Copy 75 messages from INBOX[
REMOTE_myuser at mydomain.com] to LOCAL_myuser at mydomain.com
2015-05-12 01:39:27 DEBUG: Syncing messages Maildir[inbox] -> IMAP[INBOX]
2015-05-12 01:39:27 INFO: [DRYRUN] Deleting 28 messages
(1429054:1429058,1429060:1429072,1429074:1429081,1429084,1429086) in
IMAP[INBOX]
2015-05-12 01:39:27 DEBUG: [imap]:   39:27.20 Account sync
myuser at mydomain.com state => LOGOUT

These are a few lines from the debug log that I find peculiar.  The 3rd
line above is definitely false, the local 'inbox' folder has over 10,000
items in it.  The second to last line shows it deleting messages from the
remote inbox, but these are message it just sync'd from remote to local.
Nothing was ever marked for expunge in any MUA at all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150513/0f472b14/attachment-0002.html>


More information about the OfflineIMAP-project mailing list