memo.xight.org

日々のメモ

IMAP, Maildir形式への移行

メールの変換

% 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を起動してフォルダ再読み込み

3Z
IMAP case value (default):
Collecting mailbox list...done

Reference

MH to Maildir
http://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

ウィンドウをサムネイルで切り替えるソフトウェア

Reference

SmallWindows
http://smallwindows.sourceforge.net/
WindowLister(Japanese)
http://homepage2.nifty.com/taks-2/WindowLister/

via

Going My Way: シンプルに現在開いているウィンドウをサムネイルで表示するSmallWindows
http://kengo.preston-net.com/archives/002434.shtml
Going My Way: 表示中のウィンドウをサムネイルで切り替えるWindowLister
http://kengo.preston-net.com/archives/001442.shtml