How to Use Email with (X)Emacs and VM (POP3)

VM (View Mail) insists to use it's own mailfolders. With this feature, it's not possible to synchronise the mailserver and the local copy.

With the following configuration, all the mails are kept on the server and accessible with Webmail. VM will never tell the server to delete mails.

You'll need to set the following entrys in your .emacs file:

(setq vm-spool-files (list
    (concat "pop.phys.ethz.ch:110:apop:"
        (getenv "USER") ":☆")))
(setq vm-imap-expunge-after-retrieving nil)