On 2019-05-19 18:30, Ulrich Lauther wrote: > Probably because my mailbox grew to large, this mechanism failed: > suddenly I saw very old messages first. To repair this I edited the > mailbox (using vi) and deleted old messages. Now it works again, but > the status flags are funny: all messages are flagged as "old". Also, > I see files BOGUS.<user>.nnnn under /var/mail which are in mailbox > format.
Well, this is why I prefer Maildir boxes. Couldn't resist; yes, I know Maildirs have their own disadvantages. To answer one of your specific questions: the flags are in a custom header, namely Status: or X-Status: (I don't remember which of these mutt uses). See for example https://docs.python.org/3/library/mailbox.html#mailbox.mboxMessage -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.
