[nmh-workers] archival and searching of nmh folders

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

[nmh-workers] archival and searching of nmh folders

Michael Richardson-5

I have about 3G of email on my desktop under Mail/ (67K emails)
and 3G (70K emails) on another machine in my "archive".  okay, not a huge
amount by "modern" standards, but it's still a lot.

And I'm loosing stuff.
Like many others, I've wanted an IMAP server on top of this stuff accessible
to me only, but the options of that have been well bashed here.

Anyone running some text search on top of their folders?

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     [hidden email]  http://www.sandelman.ca/        |   ruby on rails    [







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

signature.asc (497 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: archival and searching of nmh folders

Paul Fox-3
michael wrote:
 >
 > I have about 3G of email on my desktop under Mail/ (67K emails)
 > and 3G (70K emails) on another machine in my "archive".  okay, not a huge
 > amount by "modern" standards, but it's still a lot.
 >
 > And I'm loosing stuff.
 > Like many others, I've wanted an IMAP server on top of this stuff accessible
 > to me only, but the options of that have been well bashed here.
 >
 > Anyone running some text search on top of their folders?

you're looking for "mairix".  i install it via debian/ubuntu package,
but google will find you the sources quickly.  it's fantastic.

paul
=----------------------
paul fox, [hidden email] (arlington, ma, where it's 8.6 degrees)


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

Re: archival and searching of nmh folders

Robert Elz
    Date:        Sun, 20 Jan 2019 21:35:00 -0500
    From:        Paul Fox <[hidden email]>
    Message-ID:  <[hidden email]>

  | you're looking for "mairix".  i install it via debian/ubuntu package,
  | but google will find you the sources quickly.  it's fantastic.

It is available in pkgsrc too (from NetBSD, though it also runs on
lots of other systems) so I thought I would give it a try.

Easy to build and install, not difficult to configure, but after that,
a bit of a nightmare...

While it supposedly understands mh format, it doesn't understand
mh drafts (with the ----- separator between header and body, rather
than the blank line) and complains about all of those.

It also complains about stuff it shouldn't really be looking at at all,
if I read its doc correctly, like (non text attachmants encoded in
formats it doesn't understand, like x-uuencode ... I have lots of very
very old messages - my mh directory dwarfs the one mentioned
in the question) and has not real idea (it seems) what to do with
filenames for attachments which are not ascii (or something, I have
lots of those as well.)

But the killer is that eventually the indexing operation simply dumped core.

kre


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

Re: archival and searching of nmh folders

Eduardo Alvarez
On Mon, Jan 21, 2019, at 2:00 AM, Robert Elz wrote:

>     Date:        Sun, 20 Jan 2019 21:35:00 -0500
>     From:        Paul Fox <[hidden email]>
>     Message-ID:  <[hidden email]>
>
>   | you're looking for "mairix".  i install it via debian/ubuntu package,
>   | but google will find you the sources quickly.  it's fantastic.
>
> It is available in pkgsrc too (from NetBSD, though it also runs on
> lots of other systems) so I thought I would give it a try.
>
> Easy to build and install, not difficult to configure, but after that,
> a bit of a nightmare...
>
> While it supposedly understands mh format, it doesn't understand
> mh drafts (with the ----- separator between header and body, rather
> than the blank line) and complains about all of those.
>
> It also complains about stuff it shouldn't really be looking at at all,
> if I read its doc correctly, like (non text attachmants encoded in
> formats it doesn't understand, like x-uuencode ... I have lots of very
> very old messages - my mh directory dwarfs the one mentioned
> in the question) and has not real idea (it seems) what to do with
> filenames for attachments which are not ascii (or something, I have
> lots of those as well.)
>
> But the killer is that eventually the indexing operation simply dumped core.
>
> kre
>
>
> --
> nmh-workers
> https://lists.nongnu.org/mailman/listinfo/nmh-workers
>

You might also like to look into notmuch if mairix is not to your liking. It also understands MH.

--
  Eduardo Alvarez
  [hidden email]

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

Re: archival and searching of nmh folders

hymie
In reply to this post by Paul Fox-3
Paul Fox writes:
>michael wrote:
 
> > Anyone running some text search on top of their folders?
>
>you're looking for "mairix".  i install it via debian/ubuntu package,
>but google will find you the sources quickly.  it's fantastic.

I know somebody else moved away from mairix, but I just wanted to
note that I set up in about 10 minutes, and it's pretty cool.

The biggest problem I've found is that it (still) doesn't read into
MIME-encrusted email.  That's the feature I **really** need.

It took a little effort to get the search syntax down, but probably,
all you need to know is
   mairix d:30d- searchstring
to search the last month of emails.  Assuming you set up your
.mairixrc correctly, it creates a new MH folder containing (links to)
the emails that matched the search.

--hymie!     http://lactose.homelinux.net/~hymie    [hidden email]

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