5 ms·
I actually use Gnus and Mutt with my Gmail accounts, via the offlineimap http://github.com/jgoerzen/offlineimap http://github.com/jgoerzen/offlineimap Python ap
by tumult 17y ago
I actually use Gnus and Mutt with my Gmail accounts, via the offlineimap http://github.com/jgoerzen/offlineimap http://github.com/jgoerzen/offlineimap Python app. It creates a (ridiculously huge) maildir and then I can freely browse it with Gnus, Mutt or any other MUA. It syncs read/unread, labels/folders, etc. both directions. It has filtering, renaming, and other nice stuff you can put between your maildirs and Gmail accounts.
I run it on a cronjob. With this setup, I get the great Gmail interface (and push support to my iPhone/Nexus One) when I'm on the go, and the lightning-fast Gnus/Mutt interfaces for blazing through mailing lists when I'm at a computer.
One problem is that sometimes offlineimap throws exceptions and doesn't finish a sync. I think it needs some touching up or updating. I haven't lost any data, though.
- tome 17y agoThis sounds really cool. How does it deal with conflicts?
- tumult 17y agoI believe like IMAP normally does -- newest takes priority.
- avar 17y agoWould you mind posting your offlineimap and Gnus configuration (sans passwords) somewhere. I've had a few false starts with Gnus and always get lost customizing something. Maybe there's a nice tutorial for this somewhere?
- d0mine 17y ago;; Gnus ;; . http://jfm3-repl.blogspot.com/2007_12_01_archive.html (setq mail-user-agent 'gnus-user-agent) ; always use gnus for email (setq message-send-mail-partially-limit nil) ; never split messages (setq message-signature nil) ; no .signature (add-hook 'message-send-hook 'ispell-message) ; spell check on sent ;; . encrypt .authinfo file (require 'epa-file) (epa-file-enable) (setq epa-file-cache-passphrase-for-symmetric-encryption t) ;; . define mail/news sources (setq gnus-select-method '(nnnil "") gnus-secondary-select-methods '( (nnml "") ;; to add rss: type G R in *Group* buffer; when asked, paste url (nnimap "gmail" (nnimap-authinfo-file "/path/to/.authinfo.gpg") (nnimap-address "imap.gmail.com") (nnimap-server-port 993) (nnimap-stream ssl)) )) ;; Accessing the [Gmail] folders http://www.emacswiki.org/emacs/GnusGmail (setq gnus-invalid-group-regexp "[:`'\"]\\|^$") (setq gnus-ignored-newsgroups "") ;; After that, S s to the groups as specified above. Before doing ;; anything else, G c configure each Gmail line, and hit [done]. Gnus ;; will pick up “another” group, this time without the nnimap+gmail ;; designator. C-k the old group and it works! (I don’t know why; I ;; originally wanted gcc-self “nnimap+gmail:[Gmail]/Sent Mail” on ;; INBOX and this was the easiest way to arrange that. Magically, it ;; picked up the new INBOX and everything worked, even across ;; sessions.) ;; . save sent items (setq gnus-message-archive-method '(nnimap "gmail")) (setq gnus-message-archive-group "nnimap+gmail:[Gmail]/Sent Mail") (setq gnus-gcc-mark-as-read t) ;; . (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-date gnus-thread-sort-by-total-score)) (setq gnus-summary-line-format "%U%R%z %d %I%(%[%-25,25n%]%) %s\n")
- surki 17y agoDid you try Wanderlust(emacs)? I previously used to have offlineimap(gmail) + Mutt. Wanderlust has wonderful support for IMAP.
- there 17y agoi use mutt with header+body caching, and a small patch to write those cached messages in a maildir format (http://jcs.org/notaweblog/2008/09/29/making_mutt_useful_offline/ http://jcs.org/notaweblog/2008/09/29/making_mutt_useful_offl...). this lets me access imap quickly and directly and always have fresh messages, not have to continually run something from cron on my laptop when i'm not reading mail, and still have a full cache of messages to access offline in maildir format if i need it. on my server i have procmail setup to write a copy of every incoming message (that isn't to a mailing list) to an "allmail" folder that i rotate yearly. this lets me prune my inbox without fear of losing anything, as i occasionally have to search through the allmail folder to find an old email. using mutt's body searching usually finds what i need, and since all of those messages are cached offline, it's relatively quick. for the rare times when i need to find something that mutt can't find on its own, i use mairix to search the local maildirs, which writes search results to a new maildir, which i can read in mutt.
- vsync 17y agoI thought of setting up offlineimap -- I'm a huge Gnus fan -- but more so I don't have nnml hierarchies only accessible from only one machine. How do you handle Gnus's grotesque Maildir support though? I'm given to understand it doesn't support Maildir flags and will put its own flags off to the side where nothing else (including, presumably, offlineimap) can read them. That and it makes a ton of links to the specific filename for its indices so I imagine everything would break and there'd be lots of space lossage if offlineimap moves messages around under it. If you're having good luck with offlineimap/nnmaildir though then that's encouraging and I might try that.