Using MailDir as a Backend for Gnus
I am using off开发者_Go百科lineimap 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?
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.
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.
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.
AFAIK, the situation has not improved about nnmaildir and gnus since this.
For this exact situation, I'm now using mutt, setting Emacs as its editor.
Here is everything the official manual has to say about maildirs and GNUS - I personally couldn't find there what you're looking for, but then again I'm a mew user, maybe you'll notice something I didn't. I hear, though, that Wanderlust has the best maildir support of all the Emacs mail readers.
精彩评论