memo.xight.org

/ / memo.xight.org

2006-02-02

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
カテゴリ: [mew][Postfix]
2006-02 /

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-12-02 10:52
Copyright © 2005 xight.org All Rights Reserved.