Suggested configuration for using Emacs to read email on Hermes: From: Matthew Vernon Newsgroups: ucam.comp.mail Subject: Re: Withdrawal of insecure access to Hermes Date: 14 Mar 2005 11:57:30 +0000 Message-ID: <7j4qfel9yb.fsf@rapun.sel.cam.ac.uk> References: ps10@cus.cam.ac.uk (Pat Stewart) writes: > > See http://www.cam.ac.uk/cs/email/muasettings.html For reference, I have VM configured thusly: (setq vm-primary-inbox "imap-ssl:imap.hermes.cam.ac.uk:993:inbox:login:mcv21:*") ;Note you need stunnel installed for this to work, but that should be ;available on most systems that have VM (setq vm-stunnel-program "/usr/sbin/stunnel") (setq vm-imap-expunge-after-retrieving 'nil) (setq vm-imap-server-list '( "imap-ssl:imap.hermes.cam.ac.uk:993:inbox:login:mcv21:*" ) ) VM seems to interact badly with message order from IMAP servers. An improvement is to sort messages by date when they arrive. This still isn't ideal - probably someone needs to write a patch to order by IMAP folder order? Anyway, this is what I use currently: (defun vm-auto-sort-new () "Sort messages in date order." (interactive) (condition-case nil (save-window-excursion (save-excursion (vm-sort-messages "date"))))) (add-hook 'vm-arrived-message-hook 'vm-auto-sort-new) HTH, Matthew -- `O'-----0 `O'---. `O'---. `O'---. \___| | \___|0-/ \___|/ \___| | | /\ | | \ | |\ | | The Dangers of modern veterinary life $Cambridge: hermes/doc/misc/emacs-vm.txt,v 1.1 2005/03/14 16:53:30 fanf2 Exp $