What mailbox format is being used during the failures, maildir or mbox? Might make a difference. (I've always thought maildir is safer than mbox, because one maildir file gets corrupted and one message is lost, while one mbox bit gets flipped and all the messages are lost.)
dep Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
Anno domini 2021 Mon, 28 Jun 17:54:15 +0000 dep via tde-users scripsit:
What mailbox format is being used during the failures, maildir or mbox? Might make a difference. (I've always thought maildir is safer than mbox, because one maildir file gets corrupted and one message is lost, while one mbox bit gets flipped and all the messages are lost.)
That's a good pont. I use maildir just for that reason. But maildir manages flags via filenames, so it might be a filename gone wild (as Michael said in the other mail).
Nik
dep Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/ ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
On 2021-06-28 13:09:16 Dr. Nikolaus Klepp wrote:
Anno domini 2021 Mon, 28 Jun 17:54:15 +0000
dep via tde-users scripsit:
What mailbox format is being used during the failures, maildir or mbox? Might make a difference. (I've always thought maildir is safer than mbox, because one maildir file gets corrupted and one message is lost, while one mbox bit gets flipped and all the messages are lost.)
That's a good pont. I use maildir just for that reason. But maildir manages flags via filenames, so it might be a filename gone wild (as Michael said in the other mail).
Nik
The questions then are, must the filenames contain only ASCII characters, and if so, is there a tool to scan for such non-conforming filenames?
Leslie -- Operating System: Linux Distribution: openSUSE Leap 15.3 x86_64 Desktop Environment: Trinity Qt: 3.5.0 TDE: R14.0.10 tde-config: 1.0
Anno domini 2021 Mon, 28 Jun 15:24:56 -0500 J Leslie Turriff scripsit:
On 2021-06-28 13:09:16 Dr. Nikolaus Klepp wrote:
Anno domini 2021 Mon, 28 Jun 17:54:15 +0000
dep via tde-users scripsit:
What mailbox format is being used during the failures, maildir or mbox? Might make a difference. (I've always thought maildir is safer than mbox, because one maildir file gets corrupted and one message is lost, while one mbox bit gets flipped and all the messages are lost.)
That's a good pont. I use maildir just for that reason. But maildir manages flags via filenames, so it might be a filename gone wild (as Michael said in the other mail).
Nik
The questions then are, must the filenames contain only ASCII characters, and if so, is there a tool to scan for such non-conforming filenames?
In theory the characterset and filename format used by maildir is well defined, e.g.: 1619077924.27553.FnAjk:2,RS 1624538432.5263.6czTL:2,S
where the part till ":" is the mails uniq id, "2" is the version (there are rumours of a "1"), and flags (P)assed, (R)eplied, (S)een, (T)rashed, (D)raft. I think dovecot uses 26 char fixed lenght names and small chars for not set flags - IMO that's why dovecot and kmail cannot use the same directory tree.
So question is what goes wrong with the indices? IMO these are special to kmail. I think they got introduced ages ago to speed up the scanning of the directory tree.
Nik
On Monday 28 June 2021 04:06:37 pm Dr. Nikolaus Klepp wrote:
Anno domini 2021 Mon, 28 Jun 15:24:56 -0500 J Leslie Turriff scripsit:
The questions then are, must the filenames contain only ASCII characters, and if so, is there a tool to scan for such non-conforming filenames?
In theory the characterset and filename format used by maildir is well defined, e.g.: 1619077924.27553.FnAjk:2,RS 1624538432.5263.6czTL:2,S
Hey Nik (or anyone else), do you know where I can dig up the spec's for maildir's characterset requirements (or actually TDE's KMail implementation of such would be better)?
Best, Michael
said Michael via tde-users: | On Monday 28 June 2021 04:06:37 pm Dr. Nikolaus Klepp wrote: | > Anno domini 2021 Mon, 28 Jun 15:24:56 -0500 | > | > J Leslie Turriff scripsit: | > > The questions then are, must the filenames contain only ASCII | > > characters, and if so, is there a tool to scan for such | > > non-conforming filenames? | > | > In theory the characterset and filename format used by maildir is well | > defined, e.g.: 1619077924.27553.FnAjk:2,RS | > 1624538432.5263.6czTL:2,S | | Hey Nik (or anyone else), do you know where I can dig up the spec's for | maildir's characterset requirements (or actually TDE's KMail | implementation of such would be better)?
Helpful?
https://doc.dovecot.org/admin_manual/mailbox_formats/maildir/
-- dep
Pictures: http://www.ipernity.com/doc/depscribe/album Column: https://www.athensnews.com/opinion/columns/the_view_from_mudsock_heights/
On Tuesday 29 June 2021 11:00:37 am dep via tde-users wrote:
said Michael via tde-users: | On Monday 28 June 2021 04:06:37 pm Dr. Nikolaus Klepp wrote: | > Anno domini 2021 Mon, 28 Jun 15:24:56 -0500 | > | > J Leslie Turriff scripsit: | > > The questions then are, must the filenames contain only ASCII | > > characters, and if so, is there a tool to scan for such | > > non-conforming filenames? | > | > In theory the characterset and filename format used by maildir is well | > defined, e.g.: 1619077924.27553.FnAjk:2,RS | > 1624538432.5263.6czTL:2,S | | Hey Nik (or anyone else), do you know where I can dig up the spec's for | maildir's characterset requirements (or actually TDE's KMail | implementation of such would be better)?
Helpful?
https://doc.dovecot.org/admin_manual/mailbox_formats/maildir/
Well that's convoluted! Nor does it indicate what it considers as a valid characterset(s) to use to create the pid/uid. I’ll swag printable ASCII and see what shakes out from there. If it works I’ll post the script here.
Thanks!, Michael
Anno domini 2021 Tue, 29 Jun 11:28:51 -0500 Michael via tde-users scripsit:
On Tuesday 29 June 2021 11:00:37 am dep via tde-users wrote:
said Michael via tde-users: | On Monday 28 June 2021 04:06:37 pm Dr. Nikolaus Klepp wrote: | > Anno domini 2021 Mon, 28 Jun 15:24:56 -0500 | > | > J Leslie Turriff scripsit: | > > The questions then are, must the filenames contain only ASCII | > > characters, and if so, is there a tool to scan for such | > > non-conforming filenames? | > | > In theory the characterset and filename format used by maildir is well | > defined, e.g.: 1619077924.27553.FnAjk:2,RS | > 1624538432.5263.6czTL:2,S | | Hey Nik (or anyone else), do you know where I can dig up the spec's for | maildir's characterset requirements (or actually TDE's KMail | implementation of such would be better)?
Helpful?
https://doc.dovecot.org/admin_manual/mailbox_formats/maildir/
Well that's convoluted! Nor does it indicate what it considers as a valid characterset(s) to use to create the pid/uid. I’ll swag printable ASCII and see what shakes out from there. If it works I’ll post the script here.
I think you'll have to look at kmails code to get decent description. maildir of kmail ist not maildir of dovecot nor maildir of postfix or cyrus. All are close, but not identical.
Nik
Thanks!, Michael ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...