Mew の初期設定
[up : Mew メモへ]


(1) im のセットアップ (以下 [Enter] は改行
$ imsetup  [Enter]
Where is your home directory? [/home/aman]  [Enter]
Where is your Mail directory? [/home/aman/Mail]  [Enter]
Where is your News directory? [/home/aman/News]  [Enter]
What is your E-mail address(es)? [aman@sambo.idi.com] aman@soft.comp.kyutech.ac.jp  [Enter]
What kind of mail spool do you use? (local/POP/IMAP) [local]  [Enter] ← もし,別ホストからメールを取り込むつもりなら,そのホストを指定して [Enter]
What is your SMTP server name or IP address? [localhost]  [Enter] ← もし,別ホストが SMTP サーバになっているのなら,そのサーバを指定して [Enter]
Do you want to use value of Content-Length header for delimitation for local
mail? (Answer yes if your OS supports Content-Length header like Solaris 2.x,
otherwise answer no.) [no]  [Enter]
Does your system can detect write errors without fsync(2)? (You can answer yes,
if your home directory is on local file system, otherwise answer no.) [no]  [Enter]

Directory /home/aman/.im created.
Setup /home/aman/.im/Config.

(2) ~/.emacs の設定
以下の内容を ~/.emacs に追加する.
もし,mew に関する記述が既に存在しているときは,そちらの方をコメントアウトする.
(注意)字下げは全て Ctrl-i で行なうこと,スペースではエラーになる.
(setq load-path
      (append '("/usr/share/emacs/site-lisp/mew")
              load-path))

(setq mew-mail-domain-list
      '("soft.comp.kyutech.ac.jp"))
(setq mew-from "aman@soft.comp.kyutech.ac.jp")

(autoload 'mew "mew" nil t)
(autoload 'mew-read "mew" nil t)
(autoload 'mew-send "mew" nil t)
(setq mew-reply-to nil)
(setq mew-icon-directory "a directory where Mew's image files are installed.")
(autoload 'mew-user-agent-compose "mew" nil t)
(if (boundp 'mail-user-agent)
    (setq mail-user-agent 'mew-user-agent))
(if (fboundp 'define-mail-user-agent)
    (define-mail-user-agent
      'mew-user-agent
      'mew-user-agent-compose
      'mew-draft-send-letter
      'mew-draft-kill
      'mew-send-hook))
(setq mew-use-overlay-keymap nil)



  [up : Mew メモへ]