<?xml version="1.0" encoding="utf-8"?><?rss version="1.0"?><rdf:RDF xmlns:image="http://purl.org/rss/1.0/modules/image/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xml:lang="ja" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns="http://purl.org/rss/1.0/">
  <channel rdf:about="http://donrails.araki.net/archives/id/5997">
<title>ARAKI notes</title><link>http://donrails.araki.net/archives/id/5997</link><description>ARAKI notes</description>    <items>
      <rdf:Seq>
<rdf:li rdf:resource="http://donrails.araki.net/archives/id/5997"/>      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="http://donrails.araki.net/archives/id/5997">
<link>http://donrails.araki.net/archives/id/5997</link><dc:subject>mail</dc:subject><dc:subject>google</dc:subject><title>[mail][google] wanderlust&#12363;&#12425;gmail (for domain)  imap&#12434;&#12388;&#12363;&#12358;&#12424;&#12358;&#12395;&#12375;&#12390;&#12415;&#12427;</title><!-- wiliki --><description>とあるはてな社員の日記にいろいろと詳しいのだが、すっかりgmail脳になってしまっていて、久しぶりにwanderlustをつかったら、jkで移動できないのがどうにも困ってしまったのでそのあたりもあわせて設定してみた。ほとんどはこのオリジナルの設定をはっつけただけなので、差分はキーバインド(define-key wl-summary-mode-map &quot;!&quot; 'st-wl-summary-refile-spam)
(define-key wl-summary-mode-map &quot;\M-u&quot; 'wl-summary-mark-as-unread)
(define-key wl-summary-mode-map &quot;j&quot; 'wl-summary-next) ; move to older
(define-key wl-summary-mode-map &quot;k&quot; 'wl-summary-prev) ; move to newer
(define-key wl-summary-mode-map &quot;c&quot; 'wl-summary-write) ; compose
(define-key wl-summary-mode-map &quot;r&quot; 'wl-summary-reply-with-citation) ; reply
(define-key wl-summary-mode-map &quot;#&quot; 'wl-summary-delete) ; Delete
ヘッダ表示の絞りこみ(setq wl-message-use-header-narrowing t)
;; summary-mode ですべての header を一旦除去
(setq mime-view-ignored-field-list '(&quot;^.*&quot;))
;; そのうえで必要なものだけを表示
(setq mime-view-visible-field-list
      '(&quot;^Subject:&quot; &quot;^From:&quot; &quot;^To:&quot; &quot;^Cc:&quot; &quot;^Date:&quot;))
(setq wl-summary-move-order 'new)
あとはまあ .folderの設定で認証のときのusernameに @ と ドメイン名がはいるために、&quot;&quot; でくくってやらないといけないくらい。%inbox:&quot;user@your.domain&quot;/clear@imap.gmail.com:993!
とりあえず .wlの全部。;; IMAP サーバの設定
(setq elmo-imap4-default-server &quot;imap.gmail.com&quot;)
(setq elmo-imap4-default-user &quot;user@for.your.domain&quot;)
(setq elmo-imap4-default-authenticate-type 'clear)
(setq elmo-imap4-default-port '993)
(setq elmo-imap4-default-stream-type 'ssl)
(setq elmo-imap4-use-modified-utf7 t) ; 日本語フォルダ対策
(setq ssl-program-name &quot;openssl&quot;)
;(setq ssl-program-arguments '(&quot;s_client&quot; &quot;-quiet&quot; &quot;-host&quot; host &quot;-port&quot; service))       
;; SMTP サーバの設定
(setq wl-smtp-connection-type 'starttls)
(setq wl-smtp-posting-port 587)
(setq wl-smtp-authenticate-type &quot;plain&quot;)
(setq wl-smtp-posting-user &quot;username&quot;)
(setq wl-smtp-posting-server &quot;smtp.gmail.com&quot;)
(setq wl-local-domain &quot;for.your.domain&quot;)
;; デフォルトのフォルダ
(setq wl-default-folder &quot;%inbox&quot;)
;; フォルダ名補完時に使用するデフォルトのスペック
(setq wl-default-spec &quot;%&quot;)
(setq wl-draft-folder &quot;%[Gmail]/Drafts&quot;) ; Gmail IMAPの仕様に合わせて
(setq wl-trash-folder &quot;%[Gmail]/Trash&quot;)
(setq wl-folder-check-async t) ; 非同期でチェックするように
(setq wl-dispose-folder-alist
      (cons '(&quot;^%inbox&quot; . remove) wl-dispose-folder-alist))
(setq wl-message-use-header-narrowing t)
;; summary-mode ですべての header を一旦除去
(setq mime-view-ignored-field-list '(&quot;^.*&quot;))
;; そのうえで必要なものだけを表示
(setq mime-view-visible-field-list
      '(&quot;^Subject:&quot; &quot;^From:&quot; &quot;^To:&quot; &quot;^Cc:&quot; &quot;^Date:&quot;))
(setq wl-summary-move-order 'new)
;; gmail like key
(defun st-wl-summary-refile-spam ()
  (interactive)
  (wl-summary-refile (wl-summary-message-number) &quot;%[Gmail]/Spam&quot;)
  (wl-summary-next))
(define-key wl-summary-mode-map &quot;!&quot; 'st-wl-summary-refile-spam)
(define-key wl-summary-mode-map &quot;\M-u&quot; 'wl-summary-mark-as-unread)
(define-key wl-summary-mode-map &quot;j&quot; 'wl-summary-next) ; move to older
(define-key wl-summary-mode-map &quot;k&quot; 'wl-summary-prev) ; move to newer
(define-key wl-summary-mode-map &quot;c&quot; 'wl-summary-write) ; compose
(define-key wl-summary-mode-map &quot;r&quot; 'wl-summary-reply-with-citation) ; reply
(define-key wl-summary-mode-map &quot;#&quot; 'wl-summary-delete) ; Delete
</description><content:encoded><![CDATA[<p><a href="http://d.hatena.ne.jp/stanaka/20071025/1193286440">とあるはてな社員の日記</a>にいろいろと詳しいのだが、すっかりgmail脳になってしまっていて、久しぶりにwanderlustをつかったら、jkで移動できないのがどうにも困ってしまったのでそのあたりもあわせて設定してみた。</p><p>ほとんどはこのオリジナルの設定をはっつけただけなので、差分はキーバインド</p><pre>(define-key wl-summary-mode-map &quot;!&quot; 'st-wl-summary-refile-spam)
(define-key wl-summary-mode-map &quot;\M-u&quot; 'wl-summary-mark-as-unread)
(define-key wl-summary-mode-map &quot;j&quot; 'wl-summary-next) ; move to older
(define-key wl-summary-mode-map &quot;k&quot; 'wl-summary-prev) ; move to newer
(define-key wl-summary-mode-map &quot;c&quot; 'wl-summary-write) ; compose
(define-key wl-summary-mode-map &quot;r&quot; 'wl-summary-reply-with-citation) ; reply
(define-key wl-summary-mode-map &quot;#&quot; 'wl-summary-delete) ; Delete
</pre><p>ヘッダ表示の絞りこみ</p><pre>(setq wl-message-use-header-narrowing t)
;; summary-mode ですべての header を一旦除去
(setq mime-view-ignored-field-list '(&quot;^.*&quot;))
;; そのうえで必要なものだけを表示
(setq mime-view-visible-field-list
      '(&quot;^Subject:&quot; &quot;^From:&quot; &quot;^To:&quot; &quot;^Cc:&quot; &quot;^Date:&quot;))
(setq wl-summary-move-order 'new)
</pre><p>あとはまあ .folderの設定で認証のときのusernameに @ と ドメイン名がはいるために、&quot;&quot; でくくってやらないといけないくらい。</p><pre>%inbox:&quot;user@your.domain&quot;/clear@imap.gmail.com:993!
</pre><p>とりあえず .wlの全部。</p><pre>;; IMAP サーバの設定
(setq elmo-imap4-default-server &quot;imap.gmail.com&quot;)
(setq elmo-imap4-default-user &quot;user@for.your.domain&quot;)
(setq elmo-imap4-default-authenticate-type 'clear)
(setq elmo-imap4-default-port '993)
(setq elmo-imap4-default-stream-type 'ssl)
(setq elmo-imap4-use-modified-utf7 t) ; 日本語フォルダ対策
(setq ssl-program-name &quot;openssl&quot;)
;(setq ssl-program-arguments '(&quot;s_client&quot; &quot;-quiet&quot; &quot;-host&quot; host &quot;-port&quot; service))       
;; SMTP サーバの設定
(setq wl-smtp-connection-type 'starttls)
(setq wl-smtp-posting-port 587)
(setq wl-smtp-authenticate-type &quot;plain&quot;)
(setq wl-smtp-posting-user &quot;username&quot;)
(setq wl-smtp-posting-server &quot;smtp.gmail.com&quot;)
(setq wl-local-domain &quot;for.your.domain&quot;)
;; デフォルトのフォルダ
(setq wl-default-folder &quot;%inbox&quot;)
;; フォルダ名補完時に使用するデフォルトのスペック
(setq wl-default-spec &quot;%&quot;)
(setq wl-draft-folder &quot;%[Gmail]/Drafts&quot;) ; Gmail IMAPの仕様に合わせて
(setq wl-trash-folder &quot;%[Gmail]/Trash&quot;)
(setq wl-folder-check-async t) ; 非同期でチェックするように
(setq wl-dispose-folder-alist
      (cons '(&quot;^%inbox&quot; . remove) wl-dispose-folder-alist))
(setq wl-message-use-header-narrowing t)
;; summary-mode ですべての header を一旦除去
(setq mime-view-ignored-field-list '(&quot;^.*&quot;))
;; そのうえで必要なものだけを表示
(setq mime-view-visible-field-list
      '(&quot;^Subject:&quot; &quot;^From:&quot; &quot;^To:&quot; &quot;^Cc:&quot; &quot;^Date:&quot;))
(setq wl-summary-move-order 'new)
;; gmail like key
(defun st-wl-summary-refile-spam ()
  (interactive)
  (wl-summary-refile (wl-summary-message-number) &quot;%[Gmail]/Spam&quot;)
  (wl-summary-next))
(define-key wl-summary-mode-map &quot;!&quot; 'st-wl-summary-refile-spam)
(define-key wl-summary-mode-map &quot;\M-u&quot; 'wl-summary-mark-as-unread)
(define-key wl-summary-mode-map &quot;j&quot; 'wl-summary-next) ; move to older
(define-key wl-summary-mode-map &quot;k&quot; 'wl-summary-prev) ; move to newer
(define-key wl-summary-mode-map &quot;c&quot; 'wl-summary-write) ; compose
(define-key wl-summary-mode-map &quot;r&quot; 'wl-summary-reply-with-citation) ; reply
(define-key wl-summary-mode-map &quot;#&quot; 'wl-summary-delete) ; Delete
</pre>]]></content:encoded><dc:date>2008-01-25T00:18:15Z</dc:date>  </item>
</rdf:RDF>
