Menu

Moving and deleting emails won't sync

Help
tashtseng
2010-03-01
2013-06-12
  • tashtseng

    tashtseng - 2010-03-01

    I have Snow Leopard 10.6.2 running iCal, Apple Mail and Address Book with Exchange 2003.  I got everything setup including LDAP.  Everything is working great except when I move or delete an email after it is received, the exchange will not synchronize or reflect the move/delete until I close out the email client.  I have also tried this on Thunderbird and getting the same issue.  Basically  Exchange will only see the move/delete event after I close the email client.  However, if I read a new email the "READ" message is correctly reflected on Exchange. 

    This is an issue when trying to synchronize multiple email clients and mobile (iPhone and Android) phones.  The only way the deleted emails or moved emails can properly reflected on the Exchange server is when I close out my email client.  If not I will get duplicated emails.

    Can someone confirm this is an issue?  Is there any way to resolve this problem?

     
  • Anonymous

    Anonymous - 2010-04-05

    I'm running into the same thing.  Unread/read status is updating fine and items I move in Outlook sync to Thunderbird via davmail.  But moves from Thunderbird from the Inbox to subfolders under Inbox do not seem to sync back up with Exchange.  If I move it back from the subfolder to the Inbox from Thunderbird then check in Outlook, I now have two copies of the same email.  Have tried using 3.6.4-954 as well as installed from SVN this morning.

    I'm not 100% certain this is a davmail problem, it could be a Thunderbird config issue to make it play nice with davmail but I haven't been able to come up with anything to make it behave.

     
  • Mickael Guessant

    Well, this is not a thunderbird or DavMail bug, but a side effect of the IMAP protocol:
    Message move does not exist in IMAP, thus the move is a delete followed by a create.
    And a delete is not immediate with IMAP: you need to EXPUNGE the folder to actually
    delete a message.

    You could try to adjust Thunderbird advanced IMAP properties if you need immediate sync.

     
  • Mickael Guessant

    More precisely, set

    mail.imap.expunge_after_delete=true
    
     
  • Dave Kellermanns

    Is there any other way to set this? I have the same problem on my iPad mail client.

     
  • Mickael Guessant

    Ok, due to popular demand, a new setting is available in SVN trunk:  davmail.imapAutoExpunge

    Enable this flag to delete messages immediately over IMAP.

     
  • Dave Kellermanns

    So - as I'm new "here" - how do we get a version that supports this and how is it set (configured)?

     

Log in to post a comment.