メールの変換
% mh2maildir -courier -f -r -R Mail Maildir
... read from directory Mail/ and store in /home/yoshiki/Maildir/.inbox: processed 0 mails
... read from directory Mail/queue and store in /home/yoshiki/Maildir/.queue: processed 0 mails
... read from directory Mail/mdrop and store in /home/yoshiki/Maildir/.mdrop: processed 0 mails
... read from directory Mail/attach and store in /home/yoshiki/Maildir/.attach: processed 0 mails
... read from directory Mail/postq and store in /home/yoshiki/Maildir/.postq: processed 0 mails
不要なフォルダの削除
% cd ~/Maildir
% mv .inbox/cur/* cur
% mv .inbox/new/* new
% mv .inbox/tmp/* tmp
% rm -rf .inbox .draft .queue .postq
mewの設定
;; For IMAP
(setq mew-proto "%")
(setq mew-imap-user "yoshiki")
(setq mew-imap-server "localhost")
;; ローカルのメールボックスを利用する
(setq mew-mailbox-type 'maildir)
(setq mew-mbox-command "incm")
;; パスワードの保存
(setq mew-use-cached-passwd t)
;; 送ったメールのバックアップフォルダを指定
(setq mew-fcc "%Sent")
(setq mew-imap-trash-folder "%Trash")
mewの振り分け設定を変更
"+振り分け先フォルダ" を "%振り分け先フォルダ" に(setq mew-refile-guess-alist
'(
("To:"
; Debian-users ML
("debian-users@debian.or.jp" . "%debian-users")
)
)
)
mewを起動してフォルダ再読み込み
3ZIMAP case value (default):
Collecting mailbox list...done
Reference
MH to Maildirhttp://www.yugen.org/~saka/linux/mh2maildir.html
Informatik-Vollmer - mh2maildir
http://www.informatik-vollmer.de/software/mh2maildir
IMAP FAQ
http://itc.sfc.keio.ac.jp/cns/imap/faq.html