Wanderlust

Wanderlustで学校のメールを読む/送るときに結構はまったので.wlを貼っとく.

;; IMAP
(setq elmo-imap4-default-server "imap.ecc.u-tokyo.ac.jp")
(setq elmo-imap4-default-port 993)
(setq elmo-imap4-default-user "xxxxxx@mail.ecc.u-tokyo.ac.jp")
(setq elmo-imap4-default-authenticate-type 'clear)
(setq elmo-imap4-default-stream-type 'ssl)

;; SMTP
(setq wl-smtp-posting-server "smtp.ecc.u-tokyo.ac.jp")
(setq wl-smtp-posting-port 465)
(setq wl-smtp-posting-user "xxxxxx@mail.ecc.u-tokyo.ac.jp")
(setq wl-smtp-authenticate-type "login")
(setq wl-smtp-connection-type 'ssl)
(setq smtp-end-of-line "\n")

(setq ssl-program-arguments
      '("s_client"
        "-quiet"
        "-host" host
        "-port" service
        ))

これでメールの読み書きができている.

(setq smtp-end-of-line "\n")

っていう一行が味噌で, これがないとメール送信時に固まるので注意.