Notmuch with multiple imap accounts?

Jameson Rollins jrollins at finestructure.net
Mon Dec 6 14:16:42 PST 2010


On Tue, 07 Dec 2010 08:43:58 +1100, Bart Bunting <bart at ursys.com.au> wrote:
> I have recently had to split my mail in to two imap accounts.
> 
> Up until now I have been using notmuch with no issues with one account
> and offlineimap.
> 
> All my email is under ~/MAIL.
> 
> I can configure offlineimap with two accounts each in a different
> directory.  However I am not sure how I can configure notmuch to work in
> this way?  If anyone has any tips or pointers that would be greatly
> appreciated.  I presume what I need to do is to move my two maildirs
> under a common directory and tell notmuch to index that?  Or is there a
> way to have notmuch look at multiple maildirs?

Hi, Burt.  Notmuch indexes everything recursively under the top-level
directory specified in the notmuch database.path config variable.  If
~/MAIL is your primary directory, then as long as offlineimap delivers
mail from all imap accounts to directories under that path, then there
should be no problem.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101206/a550bfa3/attachment.pgp>


More information about the notmuch mailing list