VM
From Peyton Hall Documentation
According to Robert Lupton, here's what you need to do to get VM to work with the IMAP server:
In case it's helpful, here's what I ended up with in my ~/.vm file for using vm with the new imap server. I deleted the complicated-looking line to also read mail from /var/spool.
The brave/naive could simply say:
(load-file "/u/rhl/.vm") (setq vm-spool-files (list (imap-mbox "INBOX" "inbox") (imap-mbox "GNATS" "user.rhl.GNATS") (imap-mbox "backups" "user.rhl.backups") ))
but then they'd get all my other weird bindings too.
(setq vm-folder-directory "~/Mail/") ;; ;; Helper function for spool files ;; (defun imap-mbox (inbox spoolname) "Return a list (inbox spoolname inbox.crash), where inbox is interpreted relative to vm-folder-directory Useful for use with vm-spool-files, e.g. (setq vm-spool-files (list (imap-mbox \"INBOX\" \"inbox\") (imap-mbox \"GNATS\" \"user.rhl.GNATS\") )) " (list (concat vm-folder-directory inbox) (concat "imap:mail.astro.princeton.edu:143:" spoolname ":login:" (getenv "USER") ":*") (concat vm-folder-directory inbox ".crash"))) ;; ;; Actually set those spool files ;; (setq vm-spool-files (list (imap-mbox "INBOX" "inbox") (imap-mbox "GNATS" "user.rhl.GNATS") (imap-mbox "backups" "user.rhl.backups")))