Offlineimap with notmuch and dovecot

Ryan Kavanagh rak at debian.org
Fri Nov 23 20:33:44 GMT 2012


Hi Rainer,

On Fri, Nov 23, 2012 at 08:26:20PM +0100, Rainer M Krug wrote:
> What is the best configuration for offlineimap, notmuch and dovecot?
> Is there a good way of doing this? I have offlinimap and notmuch
> running nicely, but don't get dovecot to work with it.

I have offlineimap sync from remote imap to local dovecot, where dovecot
is setup to put my mail in ~/.maildb/GMAIL in a maildir++ format. This
location can be changed to suit your wishes by changing dovecot's
mail_location setting, e.g., my in set to:

 mail_location = maildir:%h/.maildb/GMAIL:LAYOUT=maildir++

My offlineimaprc syncing from several remote hosts to local dovecot can
be found here[0]. notmuch is called from the appropriate postsynchook.
My notmuch-config can be found here[1]. I only use notmuch via
notmuch-mutt[2], so the above configs might not work if you want
notmuch-{emacs,vim}.

Hope this helps, let me know if you have any questions.

Ryan

[0] https://github.com/ryanakca/ryanakca-dotfiles/blob/ea323b1a1d31379244daa469e8d5f79740acbdb7/.offlineimaprc
[1] https://github.com/ryanakca/ryanakca-dotfiles/blob/ea323b1a1d31379244daa469e8d5f79740acbdb7/.notmuch-config
[2] http://upsilon.cc/~zack/blog/posts/2011/01/how_to_use_Notmuch_with_Mutt/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1876 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20121123/e03612bd/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list