Github messages for mblaze
 help / color / mirror / Atom feed
* Re: [ISSUE] [CLOSED] mlist -i ignores mails in maildir/new
       [not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-164@inbox.vuxu.org>
@ 2020-05-15 16:15 ` leahneukirchen
  0 siblings, 0 replies; only message in thread
From: leahneukirchen @ 2020-05-15 16:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]

Closed issue by semarie on mblaze repository

https://github.com/leahneukirchen/mblaze/issues/164

Description:
Filenames in `maidir/new` doesn't have maildir info part. The format is `uniq` and not `uniq:info` according to https://cr.yp.to/proto/maildir.html .

But `mlist -i` [skips file entries](https://github.com/leahneukirchen/mblaze/blob/71e2318c810522599e3b9283cef8f26bf51d4d1c/mlist.c#L76) if it doesn't contains `":2,"` substring, resulting ignoring any message in `maildir/new`.

The following commands permits to reproduce the problem:
```sh
# create maildir with few messages
$ mkdir -p maildir/{new,tmp,cur}
$ touch maildir/cur/1325341040.3.localhost:2, maildir/new/1325341040.1.localhost maildir/new/1325341040.2.localhost

$ mlist maildir
maildir/cur/1325341040.3.localhost:2,
maildir/new/1325341040.1.localhost
maildir/new/1325341040.2.localhost

$ mlist -i maildir
     1 unseen    0 flagged       1 msg  maildir
```

`mlist -i` reports only 1 message (instead of 3) and 1 unseen (instead of 3).

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-15 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-164@inbox.vuxu.org>
2020-05-15 16:15 ` [ISSUE] [CLOSED] mlist -i ignores mails in maildir/new leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).