Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using MailDir as a Backend for Gnus

I am using offlineimap to sync my gmail account to a locak maildir, then using gnus to read that directory everything is fine but gnus uses its own flags for marking read unread status of messages and they are not synced back to gmail. is there a way to force gnus to use standart maildir flags?

like image 889
Hamza Yerlikaya Avatar asked Apr 06 '10 18:04

Hamza Yerlikaya


3 Answers

I use offlineimap and dovecot to download and serve my mail locally. I also use GNUS. Getting dovecot to work kept me from using GNUS for quite a while since GNUS's support for maildir is so lousy. This is what I needed to make dovecot work:

mail_location = maildir:~/Mail:LAYOUT=fs:INBOX=~/Mail/INBOX

One of the really nice parts of my solution is that I have a real and working offline sync, so that when the network is unavailable (approximate 80% of the time while on campus) I still can check and sort my mail.

like image 193
monotux Avatar answered Oct 04 '22 03:10

monotux


This has been fixed in nnmaildir in Gnus trunk as of 2012-09-05. The fix appeared in the Gnus version released with Emacs 24.3.

like image 26
legoscia Avatar answered Oct 04 '22 05:10

legoscia


A solution is to use a local imap server (as dovecot) to look at your maildir, and to use gnus to access to this imap server.

like image 30
Rémi Avatar answered Oct 04 '22 04:10

Rémi