From uwe at stderr.spb.ru Fri Dec 5 17:28:59 2025 From: uwe at stderr.spb.ru (Valery Ushakov) Date: Fri, 5 Dec 2025 19:28:59 +0300 Subject: [tin-dev] maildir (mailbox format) support? Message-ID: Hi, Some of my mailboxes became quite large, so I switched them from mbox to maildir format. I read quite a few mailing lists via nntp at gmane with tin and save select articles into mailboxes in my ~/Mail. Now that I switched to maildir mailbox format, I no longer can save to those mailboxes directly from tin. I have to save to a temporary mbox and then in mutt move the messages. How much trouble would it be to add maildir mailbox support to tin? (Mailbox name completion under $maildir, the directory, not the mailbox format would be awesome too). Or do I miss something obvious here? (I guess I can always pipe to an external program, like procmail as an alternative) TIA! -uwe From urs at tin.org Wed Dec 17 21:58:35 2025 From: urs at tin.org (Urs =?UTF-8?Q?Jan=C3=9Fen?=) Date: Wed, 17 Dec 2025 21:58:35 +0100 Subject: [tin-dev] maildir (mailbox format) support? References: Message-ID: Note that tin-dev at tin.org is a restricted list, you as non member can't send to it without manual approval. In Valery Ushakov wrote: > Hi, > Some of my mailboxes became quite large, so I switched them from mbox > to maildir format. I read quite a few mailing lists via nntp at gmane > with tin and save select articles into mailboxes in my ~/Mail. Now > that I switched to maildir mailbox format, I no longer can save to > those mailboxes directly from tin. I have to save to a temporary mbox > and then in mutt move the messages. How much trouble would it be to > add maildir mailbox support to tin? (Mailbox name completion under save.c:save_and_process_art() and post.c:append_mail() should be the two functions which would need to be adjusted (and while beeing at it somehow merged ,-). You way ant to have a look at misc.c:strfpath() which offers some formats which may help ("=%G/new" or "=%P/new"). As I don't use maildir I doubt I will do anything in that direction, but patches are welcome. > $maildir, the directory, not the mailbox format would be awesome too). > Or do I miss something obvious here? (I guess I can always pipe to an > external program, like procmail as an alternative) Sure, but I doubt this is more comfortable than still saving to a mailbox from tin and postprocess it externaly.