[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[VM] Setting up VM for the first time - imap to read on the server
From: |
James Freer |
Subject: |
[VM] Setting up VM for the first time - imap to read on the server |
Date: |
Mon, 6 Aug 2012 22:09:12 +0100 |
I'm hoping i've made the right choice of the available email clients
Gnus, VM, WL, MH-E to read email on the server. I basically want to
use the simplest and fastest app which from what i've read is VM. Gnus
seems really good but rather too configurable for my taste. I
currently use Alpine but having now started to use emacs for editing
it seems appropriate to make the change. Basically i want to use a
mail client that frees me from the Gmail adverts and allows fullscreen
view of emails. Ideally i would like conversation threads but i think
i'll need to download headers for that.
What i don't understand is the stunnel i think?
I get this when i've entered the password
IMAP protocol error: "unexpected char (10)"
At present i've chosen to keep the VM in the .emacs until i've had a
bit more experience of emacs and have configured everything as i want
it. I've borrowed a .vm file from a blog but still can't get it to
work.
I'd be very grateful if someone could put me write - i've done a lot
of reading but got confused somewhere.
thanks
james
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Notes for VM setup to read Gmail via IMAP on the server ;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; What to install
;;; sudo apt-get vm stunnel4 emacs-w3m
;;; Notes: stunnel4 (to allow tls within ssl)
;;; emacs-w3m (browser for the irritating html!)
;;; Using .emacs initially so set vm init file to nil
(setq vm-init-file nil)
;;(add-to-list 'load-path "~/Dropbox/vm/lisp")
(require 'vm-autoloads)
(setq mail-user-agent 'vm-user-agent)
(setq vm-folder-directory "~/Mail")
(setq vm-primary-inbox "~/Mail/vminbox")
(setq vm-crash-box "~/Mail/inbox.crash.mbox")
(setq vm-imap-expunge-after-retrieving nil)
(setq vm-mutable-frames nil)
(setq vm-imap-account-alist
'(("imap-ssl:imap.gmail.com:993:*:login:address@hidden:*")))
(setq vm-primary-inbox
"imap-ssl:imap.gmail.com:993:*:login:address@hidden:*")
;; (setq vm-debug t) not required
;; (setq vm-keep-imap-buffers t) incorrect
;; (setq vm-imap-log-sessions t) not required
(setq vm-use-menus 1)
(setq vm-stunnel-program "stunnel")
(setq send-mail-function 'smtpmail-send-it
message-send-mail-function 'smtpmail-send-it
smtpmail-starttls-credentials
'(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials
(expand-file-name "~/.authinfo")
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
smtpmail-debug-info t)
(require 'smtpmail)
(setq mail-default-headers "From: James Freer <address@hidden>\n")
(setq vm-mime-type-converter-alist
'(("text/html" "text/plain" "elinks -dump /dev/stdin")
("message/delivery-status" "text/plain")
("application/zip" "text/plain" "listzip")
("application/x-zip-compressed" "text/plain" "zipinfo /dev/stdin")
("application/x-www-form-urlencoded" "text/plain")
("message/disposition-notification" "text/plain")
("application/mac-binhex40" "application/octet-stream" "hexbin -s")))
;;(define-key vm-mode-map "#" 'vm-imap-synchronize) incorrect
- [VM] Setting up VM for the first time - imap to read on the server,
James Freer <=