massive update to fix issues from htmltest

This commit is contained in:
Don Harper 2020-08-22 16:32:22 -05:00
parent a6ebb354c8
commit 878ae417aa
88 changed files with 548 additions and 567 deletions

View file

@ -8,25 +8,11 @@ tags = ["cli","email","search"]
Search your email!
==================
One of the features that most of the pretty GUI mailers offer you is the
ability to search your email. While this is not a feature I use
regularly, it is one which when you need it, you really need it. I have
used [grepmail](http://grepmail.sf.net) in the past, but it slow for me
(it scans the mail files every time) and the big thing for me is that is
only supports [mbox](http://en.wikipedia.org/wiki/Mbox) files, and I use
[maildir](http://en.wikipedia.org/wiki/Maildir) since I use
[offlineimap](http://software.complete.org/software/projects/show/offlineimap).
One of the features that most of the pretty GUI mailers offer you is the ability to search your email. While this is not a feature I use regularly, it is one which when you need it, you really need it. I have used grepmail (was at grepmail.sf.net) in the past, but it slow for me (it scans the mail files every time) and the big thing for me is that is only supports [mbox](https://en.wikipedia.org/wiki/Mbox) files, and I use [maildir](https://en.wikipedia.org/wiki/Maildir) since I use [offlineimap](https://software.complete.org/software/projects/show/offlineimap).
I recently found [mairix](http://www.rpcurnow.force9.co.uk/mairix/).
While I have not been using it long, so far I am very impressed with it.
It uses an index to speed up the search process, and it smartly adds
only new or changed files to the index. The first indexing run was only
a few seconds on my archive of almost 15,000 mail messages. I have it
scheduled to update the index every 15 minutes, and I never notice the
load this will put on the system.
I recently found [mairix](https://www.rpcurnow.force9.co.uk/mairix/). While I have not been using it long, so far I am very impressed with it. It uses an index to speed up the search process, and it smartly adds only new or changed files to the index. The first indexing run was only a few seconds on my archive of almost 15,000 mail messages. I have it scheduled to update the index every 15 minutes, and I never notice the load this will put on the system.
To integrated mairix with mutt, I wrote a quick little script to search
from within (or without) mutt:
To integrated mairix with mutt, I wrote a quick little script to search from within (or without) mutt:
#!/bin/bash
#===============================================================================
@ -111,5 +97,4 @@ Then, I bound this to "S\'' from within mutt:
macro index,pager S "!mailsearch\n"
This will give me a reminder of the search command, run the search, and
then give me the search results in a new mutt session.
This will give me a reminder of the search command, run the search, and then give me the search results in a new mutt session.