offlineimap icon indicating copy to clipboard operation
offlineimap copied to clipboard

Feature request: Allow custom format for maildir filename

Open asdf8dfafjk opened this issue 3 years ago • 5 comments

Currently a filename like 1674828985_3.57912.HOSTNAME,U=244,FMD5=844bb96d088d057aa1b32ac1fbc67b56:2, is both unwieldy, and also has restricted character : which disallows syncing this file to windows or android. Please consider allowing a custom filename format.

Ideally I'd like all parts to be identifiable in the default format, just like FMD5 is clearly labelled as such.

asdf8dfafjk avatar Jan 27 '23 15:01 asdf8dfafjk

Also the current format includes the hostname of the machine which is not convenient when offlineimap is used from different machines to fetch emails and then these emails are synced on a backup which is stored on a common server.

The filenames should remain stable.

fmore-xyz avatar Jun 13 '23 20:06 fmore-xyz

👍 I agree with interoperability, of the default format for the maildir filenames, between OS windows, android, linux, mac, etc.

chris001 avatar Jun 15 '23 03:06 chris001

So I recently learnt that the filename is actually a standard: https://cr.yp.to/proto/maildir.html

Hopefully there is a way to change colon though :-)

asdf8dfafjk avatar Jun 16 '23 22:06 asdf8dfafjk

Yes, it is a standard.

About your question about colon, please, check the manpage and search for maildir-windows-compatible = yes

This flag solves it?

Regards kix

-- Rodolfo García Peñas (kix) http://www.kix.es/

"I asked him once how to change the key bindings and Dave said 'You use the Change Configuration command. On Unix it is abbreviated as cc.' Dave Conroy and Lawrence Stewart.

Enviado desde Proton Mail móvil

-------- Mensaje original -------- El 17 jun 2023 0:02, asdfasdf escribió:

So I recently learnt that the filename is actually a standard: https://cr.yp.to/proto/maildir.html

Hopefully there is a way to change colon though :-)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>

thekix avatar Jun 17 '23 23:06 thekix

Yes, @thekix thanks!

asdf8dfafjk avatar Jun 24 '23 12:06 asdf8dfafjk