Francois Marier: Searching through the contents of emails in mutt
Mutt has a built-in feature for search the body of emails in the current mailbox (see ESC-b) but it's also possible to make this extremely fast by plugging-in external tools. Here's a quick description of my mairix setup.
After installing the package,
Then you need to run mairix once to index all of your emails:
Finally, the last bit of setup is in ~/.muttrc:
If you use GPG, you should also add this to your ~/.muttrc to make sure that mairix can see all of your messages by saving them as clear text:
After installing the package,
apt-get install mairixcreate a .mairixrc in your home directory containing something like:
base=/home/username/Mail(This assumes that you store your mail in ~/Mail and that you want the search results in a new ~/Mail/search maildir folder.)
maildir=inbox:archives*:sent*
mbox=debian*:jokes
mfolder=search
database=/home/username/Mail/.mairix_database
Then you need to run mairix once to index all of your emails:
mairixwhich you will of course want to run regularly. I created this cronjob in /etc/cron.d/mairix-username:
17,37,57 * * * * username /usr/bin/on_ac_power && /usr/bin/mairix(To avoid waking up the hard drive needlessly, I prefer to restrict the indexing runs for when I'm running on AC power. Take that out if you're not running it on a laptop.)
Finally, the last bit of setup is in ~/.muttrc:
macro index \eb 'c=search'<enter><shell-escape>'mairix ' 'Enter Mairix search term'which makes mairix take over the ESC-b shortcut.
If you use GPG, you should also add this to your ~/.muttrc to make sure that mairix can see all of your messages by saving them as clear text:
set fcc_clear=yes
bind index s decrypt-save
bind pager s decrypt-save
Using Xfce on your laptop running Debian? The battery plugin is
unusable? Don't panic, we're aware of this.
Basically, the situation is a mess, for some reasons:
I thought the spanish region of Extremadura had 4 million inhabitants and 200000 computers running GNU/Linex, a custom Debian distribution.
Some readers might not now that Debian is in this annual process where we
After the approval of
duplicate ssh-agents.
I have ssh-agent start in .xsession, but apparently somebody else also starts it up
and I have two distinct ssh-agents. Hmmm.
Does anybody have any connections to Sybase? If so, could you nudge the
developers to 
I handle bug reports and email communication as soon as possible, but it
does not mean that it may take month or even more to get reply. I'm not
working full time on my free software projects, I do it only in my free
time. Besides this I have regular job and I also have a real life with
another hobbies.
So if you wrote me something, just try to be patient, sending another
emails to urge your issue won't help anybody. I will just have more
unread mail to process until I get to real work.
I've spent a lot of hours over the weekend stripping out markup on
I was recently forced to face
For the past few years, Google has been running their