;;;
;;; elmo-split の設定
;;; from http://www.boreas.dti.ne.jp/~miyoshi/EvilTips/
(autoload 'elmo-split "elmo-split" "Split messages on the folder." t)
;; 振り分けの対象となるフォルダを指定
(setq elmo-split-folder (list (concat "&surdo@mac.com")))
;; ログファイルの指定
(setq elmo-split-log-file "~/.elmo/split-log")
;; 振り分けルールの指定
(setq elmo-split-rule
'(
((match subject "\\aaa") "+aaa")
((match subject "\\bbb") "+bbb")
((match subject "\\ccc") "+ccc")
((match subject "ddd \\[#") "+ddd")
;; X-ML-Name: があれば、それを名前とするフォルダに移動
;((match x-ml-name "\\(.*\\)") "+\\1")
;; ...
;; どれにもマッチしなかったものを `+inbox' へ
(t "+inbox")))