[nmh-workers] mhrecoll

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[nmh-workers] mhrecoll

Krullen Van De Trap
I have written a utility that queries a recoll database and puts
the results in an MH folder, similar to how mairix does.
https://apenstaartje.catsy.org/fossil/mhrecoll

--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers
Reply | Threaded
Open this post in threaded view
|

Re: mhrecoll

Ralph Corderoy
Hi Krullen,

> I have written a utility that queries a recoll database and puts the
> results in an MH folder, similar to how mairix does.
> https://apenstaartje.catsy.org/fossil/mhrecoll

Thanks for letting us know.  So by using recoll it can search nmh's
emails, the tar-file attachment in a MIME email, the MS Word document
inside that?  It would be nice to see some example queries on that page
to encourage folks to make the effort to try it by seeing it in action.

--
Cheers, Ralph.

--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers
Reply | Threaded
Open this post in threaded view
|

Re: mhrecoll

Krullen Van De Trap
Dear Ralph,

Indeed, you could do as you indicate with mhrecoll. Here is an example
of that.

$ mhrecoll recipient:nmh-workers date:2019-09-09/
$ scan +recoll -width 72
   1   Mon *Krullen Van De Tr  Re: Your confirmation is required to join
   2   Mon *Krullen Van De Tr  Re: Your confirmation is required to join
   3  11:23 Ralph Corderoy     Re: [nmh-workers] mhrecoll<<Return-Path:
   4  20:00 Andy Bradford      [nmh-workers] inc: Unable to find a line
   5   Mon  Krullen Van De Tr  [nmh-workers] mhrecoll<<Return-Path: <nmh
   6  21:45 Michael Richardso  Re: [nmh-workers] strace show # pauses/ta
   7  00:50 Ken Hornstein      Re: [nmh-workers] strace show # pauses/ta
   8  21:04 Ken Hornstein      Re: [nmh-workers] inc: Unable to find a l
   9   Mon  [hidden email]    Re: [nmh-workers] strace show # pauses/ta
  10  20:10 Michael Richardso  Re: [nmh-workers] strace show # pauses/ta

But you can also search other files, such as the mhrecoll Python files,
which are inside zip files and not attached to emails.

$ mhrecoll rfc822 recoll external_body
$ scan -width 72
   1  12Aug krullen            __init__.py<<Content-Type: text/x-python
   2  12Aug krullen            mhrecoll/__init__.py<<#!/usr/bin/env pyth
   3+  Sun  krullen            mhrecoll/__init__.py<<#!/usr/bin/env pyth

Cordially,
Krullen van de Trap

--
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers