On Thu, Jan 18, 2018 at 12:27:35PM +0100, Ulrich Lauther wrote:
> On Thu, Jan 18, 2018 at 05:29:38PM +0800, Yubin Ruan wrote:
> > Hi,
> >
> > I know one can hit / or l (i.e., limit) and then apply a search pattern to
> > search for messages in the current mailbox. But can we apply this to
> > multiple
> > mailboxes? I would like to search for matched messages in all mailboxes and
> > then put them into a separate mailbox. For example, I have 10 mailboxes and
> > now I want to search in these 10 mailboxes for messages that have me in the
> > "To: " field and then put them into a separate mailbox.
> >
> > Yubin
>
> Take a look at grepm http://www.barsnick.net/sw/grepm.html.
>
> grepm puts the matching messages into a temporay mailbox under /tmp.
Thanks Ulrich,
but I am using the Maildir format while grepmail can only handle mbox format.
Yubin