IMAP synchronisation with Thunderbird

Hello

Every time I go on holiday with my Samsung tablet with K-9 installed, synchronisation with K-9 and Thunderbird on my desktop computer is non existent as far as I can see

I open up K-9 and all the emails from my last holiday are there, and they do not auto delete even though they are no longer in Thunderbird.

Nothing seems to synchronise in either direction, or very little perhaps.

Can anyone help me please?

1 Like

Are you sure you are using IMAP?

1 Like

Hello

Pretty sure

In K-9, I can see my settings for incoming and outgoing servers and all my accounts show SMTP and not POP

In Thunderbird on my desktop, I can only see Account settings rather than incoming and outgoing and they too show SMTP

But I did notice that Enable sync was not active in Folder settings so that might be the problem?

Also, as I use my tablet only for holidays, could the problem be that the server does not synch emails after a certain length of time?

Thanks for the help anyway ByteHamster

1 Like

SMTP is for sending, that’s the same for POP and IMAP. Try looking for the incoming server settings

2 Likes

I have IMAP for my mail account (server is imaps.aruba.it) and I’m seeing something very similar. Emails that I delete or archive from my phone (Thunderbird) are still shown as unread in the inbox when I log in through the webmail. Synchronisation is active in the settings. Is there anything specific I could check?

Edit: Thunderbird 12.1 on Android 15 (Fairphone 5)

That sounds like something I experience with Thunderbird without regards to whether I am using K9 or not. Thunderbird seems to be lazy about synchronizing move operations to the server. It normally eventually does synchronize if I wait 10+ minutes. It probably happens more quickly if you click the Get Messages button. I think this might be specific to the type of IMAP server—Thunderbird seems to synchronize folder moves for Office365 accounts almost instantly whereas my Courier IMAP exhibits the behavior you are describing for example. Maybe Thunderbird is tripping up over itself when it synchronizes both “mark read” and “move” operations at the same time so it ends up almost always scheduling a retry on the “move” operation. K9 seems not to have this issue. If I execute a move in K9 it shows up in Thunderbird almost instantly regardless of which server I am using.

Did changing the synchronize settings help?

It does sound to me like you have manual fetch turned on instead of polling or push. I’d enable at least polling on the tablet for the main folders you use and leave it off for auxiliary ones. But then you have to remember to manually synchronize the auxiliary folders when you need one.

The issue is the same described here Courier IMAP (4.15) stopped synchronizing moves after ~~Play Store~~ F-Droid(?) updated me to K9-12.1 and the workaround in the linked github issue is working for me (disable automatic IMAP namespace).

Oh, by Thunderbird you meant the Android app. I thought you meant desktop. Oops.

The OP’s post is a different issue.

yes, it looks like it helped

1 Like

Hello everyone

I thought the answers had solved this problem but nope. K9 is just not syncronizing. Emails deleted on my desktop computer are still showing in K9 on my Galaxy tablet despite all my efforts to get the settings right

Can you log in via a browser to see what your mailbox looks like?

I’ve got a hunch you are deleting in Thunderbird, and it’s not syncing to the server. But k9 is in sync with the server.

You may want to try some experiments of deleting a message from Thunderbird and watching the other two. Or deleting online and seeing if Thunderbird and K9 sync the change.

In K9, can you test the Fetching and Send connections for this account?

  1. Settings
  2. Pick the account
  3. Fetching mail or Sending mail
  4. Incoming Server or Outgoing Server
  5. Next
  6. (repeat for the other method)

Hello Oldie

That was an interesting idea and I’ve just checked it on two email platforms, but nope, it’s not that. Both platforms had exactly the same number of emails in both the send and out boxes as Thunderbird

As I only turn on my Tablet with K9 only once every 6 months or so, I wonder if that has something to do with this problem, like the synchronisation doesn’t work if an email is say more than 3 months old

I will do a live experiment as you say though at some point

Thanks