cleidigh / Localfolder-TB

Thunderbird Add-On to add additional local folders to accounts
Mozilla Public License 2.0
14 stars 6 forks source link

Sync local foders #47

Open Tommy-30 opened 3 years ago

Tommy-30 commented 3 years ago

I want to sync Thunderbird's local folders. Thunderbird with LocalFolders are installed on PC1 and PC2 in a LAN network. What should be done so that the two Thunderbirds synchronize the local folders and their contents with each other. Where exactly are the paths entered?

TJCCKM commented 1 year ago

I had the same idea. I wanted to have all of my computers be able to share a common set of folders where I keep an email archive dump offline. I did some minor testing. This is all on Windows.

I created directory c:\users\me\EmailArchives\mycomputer\TestFolder I created a LocaFolders folder on PC1, and gave path c:\users\me\EmailArchives\mycomputer\TestFolder Then I created a network share on that EmailArchives folder, giving everyone, full control

On PC2 I created a LocalFolder folder and pointed it to \PC1\EmailArchives\TestFolder

This seems to work okay, but emails saved toTestFolder on PC1 do not show up in PC2 until I move something on PC2 in to the TestFolder (and the new emails it doesn't show up on PC1, until something more is put in the folder on PC1)

At some point a bit later Thunderbird hung up when I left TestFolder and went back to it, while it was selected on PC2. I am guess the file was locked.

I think this is probably out scope for what LocalFolder was supposed to do and pretty sure Thunderbird isn't designed to consider multiple computers/instances will be accessing a local folder at the same time.

While syncing is maybe not going to work, you could still do something similar and name your folders prefixed by PC1 or PC2 as long as you remember to either shutdown TB on the other pc when moving stuff, or treat the remote folder as read only...

I think I will now instead install hMailServer on one PC, create an account there, and have an that account on all my thunderbird clients, and use it's inbox/subfolders for my mail archive

cleidigh commented 1 year ago

@TJCCKM Yes LocalFolders was not intended for synchronization. Having two instances of TB manipulating the mbox and msf indexes is not stable. You might try TBSync add on. @cleidigh