[notmuch] How to index /var/spool/mail with notmuch

Tassilo Horn tassilo at member.fsf.org
Sun Nov 22 13:00:58 PST 2009


Jed Brown <jed at 59A2.org> writes:

Hi Jed,

>>   - I run a local IMAP server (dovecot) and access it using Gnus
>>   - Dovecot stores its mails in /var/spool/mail/ in some one file per
>>     message format
>
> How about
>
> $ mkdir -p ~/mail/spool
> $ ln -s /var/spool/mail/$USER/{cur,new,tmp} ~/mail/spool
>
> and point notmuch at ~/mail (or specifically ~/mail/spool).

Brilliant idea.  :-)

Ok, now it's indexing my 63000 mails.  10 minutes to go.

Bye,
Tassilo


More information about the notmuch mailing list