Github messages for mblaze
 help / color / 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, back to index

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

Github messages for mblaze

Archives are clonable: git clone --mirror http://inbox.vuxu.org/mblaze-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.mblaze


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git