taoeffect / empress

Re-decentralize email. Make it secure. Make it simple. Make it yours.
https://twitter.com/EmpressMail
48 stars 6 forks source link

dsync and larch don't do the same thing #47

Open taoeffect opened 9 years ago

taoeffect commented 9 years ago

Larch will preserve the INBOX. prefix that's found on many servers, whereas dsync, with the way we're using it, won't. This will result in a situation where if both methods are used to sync mail, a whole bunch of duplicate folders will be created.

Meaning, larch will create .INBOX.foobar and dsync will create .foobar.

Since larch does this on its own and there doesn't seem to be a way to fix it, I think we should change dsync to behave like larch does (since I'm guessing that's a possibility).

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6454644-dsync-and-larch-don-t-do-the-same-thing?utm_campaign=plugin&utm_content=tracker%2F8064840&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8064840&utm_medium=issues&utm_source=github).
taoeffect commented 9 years ago

I honestly don't know what the "proper" behavior here is, and it doesn't help that I have no idea why these INBOX. folders are created in some instances and not in others.

bgw commented 9 years ago

The INBOX folders seem unnecessary, and we could use the --to-folder option to remove it. I think doing so would fix #50 and #52. I would like to verify first though, that for accounts that aren't migrated, dovecot won't produce the INBOX folder automatically. As far as I can tell, it shouldn't.

taoeffect commented 9 years ago

The INBOX folders seem unnecessary, and we could use the --to-folder option to remove it.

How exactly would that work? The default for larch is INBOX, and we're using --all which seems to possibly be mutually exclusive to that..?

See also this comment.