From: leahneukirchen <leahneukirchen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] mlist -i ignores mails in maildir/new
Date: Fri, 15 May 2020 18:15:25 +0200 [thread overview]
Message-ID: <20200515161525.JpqTya_SqRF_XA9wkSH-7pKw1AtOmzj4CXJhL5_TbH4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-164@inbox.vuxu.org>
[-- 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).
parent reply other threads:[~2020-05-15 16:15 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-164@inbox.vuxu.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200515161525.JpqTya_SqRF_XA9wkSH-7pKw1AtOmzj4CXJhL5_TbH4@z \
--to=leahneukirchen@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).