<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>じゃれすのろぐ &#187; ximapd</title>
	<atom:link href="http://eojareth.net/wordpress/tag/ximapd/feed" rel="self" type="application/rss+xml" />
	<link>http://eojareth.net/wordpress</link>
	<description>Just another eojareth site</description>
	<lastBuildDate>Fri, 30 Jul 2010 07:14:50 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ubuntu-server でSSLサーバ</title>
		<link>http://eojareth.net/wordpress/2008/07/08/2065.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu-server-%25e3%2581%25a7ssl%25e3%2582%25b5%25e3%2583%25bc%25e3%2583%2590</link>
		<comments>http://eojareth.net/wordpress/2008/07/08/2065.html#comments</comments>
		<pubDate>Tue, 08 Jul 2008 02:59:05 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[AtMail]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/?p=2065</guid>
		<description><![CDATA[AtMailとximapdとの話で、CRAM-MD5認証がダメならSSLでLOGINコマンドを許してもらえばいいのか
と思ったので、ぐぐっておく。
えせSEの1日1Hack : UbuntuでApacheのsslを有効に &#8230; <a href="http://eojareth.net/wordpress/2008/07/08/2065.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>AtMailとximapdとの話で、CRAM-MD5認証がダメならSSLでLOGINコマンドを許してもらえばいいのか<br />
と思ったので、ぐぐっておく。</p>
<p><a href="http://www.key-p.com/blog/ohnishi/article.php?id=87">えせSEの1日1Hack : UbuntuでApacheのsslを有効にする方法</a><br />
<a href="http://honana.com/apache/22/mod_ssl.html">mod_ssl で HTTP 通信の暗号化 | 自宅サーバー Fedora</a><br />
<a href="http://www.kazutoyo.com/ubuntu/">Ubuntu Sever Edition を使ったサーバ構築のメモ</a><br />
<a href="http://nai.homelinux.net/ssl.html">Kung Noi:SSLおれおれ証明書とクライアント認証</a></p>
<p>Ubuntuって面倒なやつだったのか（＾＾；；</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2008/07/08/2065.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AtMail CRAM MD5認証 失敗</title>
		<link>http://eojareth.net/wordpress/2008/07/04/2062.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=atmail-cram-md5%25e8%25aa%258d%25e8%25a8%25bc-%25e5%25a4%25b1%25e6%2595%2597</link>
		<comments>http://eojareth.net/wordpress/2008/07/04/2062.html#comments</comments>
		<pubDate>Fri, 04 Jul 2008 00:29:55 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[AtMail]]></category>
		<category><![CDATA[Webメール]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/?p=2062</guid>
		<description><![CDATA[AtMailをximapdで使う件（消えてしまった記事をGoogleから復活）
AtMailのソースとにらめっこしたが、全体像がつかめない。でもソースをいじってみた。
AtMailのIMAPクライアントとのやりとりは、$ &#8230; <a href="http://eojareth.net/wordpress/2008/07/04/2062.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://atmail.org/">AtMail</a>をximapdで使う件（消えてしまった記事をGoogleから復活）</p>
<p>AtMailのソースとにらめっこしたが、全体像がつかめない。でもソースをいじってみた。<br />
AtMailのIMAPクライアントとのやりとりは、$AtMail/libs/IMAP_Clinet.phpに書いてあるようで、このファイルには<br />
function authenicate(),authenticateCRAMMD5()という2つの関数が記述してあるが、AtMail配下のphpファイルのどこからも呼び出されていない(javascriptから呼んだりってのもあるのかな）し、authenticateCRAMMD5()はからっぽなので、ここに</p>
<pre>
<code>
function authenticateCRAMMD5($user,$pass)
        {
                $cid = $this-&gt;cid;
                $this-&gt;socket-&gt;writeLine("$cid AUTHENTICATE CRAM-MD5");

                $usern = explode("@",$user,2);

                $challenge = base64_decode( $this-&gt;socket-&gt;readLine() );
                $response = base64_encode( $usern[0] . ' ' . $this-&gt;hmac_md5($pass,$challenge) );

                $this-&gt;socket-&gt;writeLine("$response");
        }
</code>
</pre>
<p>こう書いて、IMAP_Client.php内のfunction login()から強制的に呼び出してみた。hmac_md5()は、roundcubeのソースから拝借。<br />
実行すると、ximapdのログがこうなった</p>
<pre>
<code>
D, [2008-07-03T13:37:49 #5885] DEBUG -- : C: ATMAIL01 AUTHENTICATE CRAM-MD5
D, [2008-07-03T13:37:49 #5885] DEBUG -- : received ATMAIL01 AUTHENTICATE from 127.0.0.1
D, [2008-07-03T13:37:49 #5885] DEBUG -- : S: + PDU4ODUuMTIxNTA1OTg2OS42NzA5ODBAZm9yYmlkLmZvcmNvbS5qYT4=
D, [2008-07-03T13:37:49 #5885] DEBUG -- : C: amFyZXRoIGZlZTMzMWJkY2Q0M2I3YmFmNGY2M2FhZGU0YjNmMDkx
D, [2008-07-03T13:37:52 #5885] DEBUG -- : S: ATMAIL01 NO AUTHENTICATE failed
</code>
</pre>
<p>ちゃんとximapdにわたってるみたいだし、challengeコードもximapdから受け取ってるし、あとの計算もたぶん間違いないんだけど、NGなので、よくわかっていないAtMail内のwriteLine()、readLine();の使い方がまずいのだろうか。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2008/07/04/2062.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sylpheed Windows版</title>
		<link>http://eojareth.net/wordpress/2008/03/07/1982.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sylpheed-windows%25e7%2589%2588</link>
		<comments>http://eojareth.net/wordpress/2008/03/07/1982.html#comments</comments>
		<pubDate>Fri, 07 Mar 2008 03:03:09 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[sylpheed]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/2008/03/07/1982.html</guid>
		<description><![CDATA[Sylpheed &#8211; lightweight and user-friendly e-mail client -
SylpheedにWindows版があったのか、ということでXimapdでつながるかどうかイン &#8230; <a href="http://eojareth.net/wordpress/2008/03/07/1982.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://sylpheed.sraoss.jp/ja/">Sylpheed &#8211; lightweight and user-friendly e-mail client -</a></p>
<p>SylpheedにWindows版があったのか、ということでXimapdでつながるかどうかインストール。<br />
Thunderbirdに特に不満はないので、POP3用とIMAP用と2つ起動したかったけど、よーわからんのでIMAP用にSylpheedがつかえたらよいなと。</p>
<p>IMAPでCRAM-MD5認証対応ならXimapdでもいけるはずとやってみたら、あっさり接続できた。</p>
<p>Thunderbird、Sylpheedのどちらでも、ximapdを「ximapd &#8211;debug &#8211;start」で起動していた場合は、Ctrl-Cで終了できない。Webmailからの接続時にはそんなことはないんだけどな。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2008/03/07/1982.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu7.10-server-amd64でRast-0.3.1</title>
		<link>http://eojareth.net/wordpress/2008/02/01/1958.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu710-server-amd64%25e3%2581%25a7rast-031</link>
		<comments>http://eojareth.net/wordpress/2008/02/01/1958.html#comments</comments>
		<pubDate>Fri, 01 Feb 2008 05:57:24 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Rast]]></category>
		<category><![CDATA[Roundcube]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/2008/02/01/1958.html</guid>
		<description><![CDATA[rast-0.3.1 + ximapd-0.2.0 + RoundCubeWebmailなものを、マシン構成が変わる度に入れてるが
amd64版にもインストール
Rast-0.3.1のビルドは、前回、Ubuntu7.04 &#8230; <a href="http://eojareth.net/wordpress/2008/02/01/1958.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>rast-0.3.1 + ximapd-0.2.0 + RoundCubeWebmailなものを、マシン構成が変わる度に入れてるが<br />
amd64版にもインストール<br />
Rast-0.3.1のビルドは、<a href="http://eojareth.net/wordpress/2007/10/12/1811.html">前回</a>、Ubuntu7.04-serverでやったような、apr.hの変更は不要だった。<br />
ximapdも単体では正常に動いてるようだけど、RoundCubeから接続できなかった。64bitだからってことはないわな。いや、rubyのライブラリを何か忘れてるんじゃないかと思ったら当たった。</p>
<blockquote><p>
% sudo apt-get install libopenssl-ruby1.8</p></blockquote>
<p>やる度に少しづつ早くなってるのがいいな。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2008/02/01/1958.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roundcubemail+ximapd FreeBSD-7.0-BETA2</title>
		<link>http://eojareth.net/wordpress/2007/11/07/1858.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=roundcubemailximapd-freebsd-70-beta2</link>
		<comments>http://eojareth.net/wordpress/2007/11/07/1858.html#comments</comments>
		<pubDate>Wed, 07 Nov 2007 08:08:17 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Hard]]></category>
		<category><![CDATA[Rast]]></category>
		<category><![CDATA[Webメール]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/2007/11/07/1858.html</guid>
		<description><![CDATA[FreeBSD-7.0-BETA2にしたのは、ProLiantML115で、options SCTPを無効にしてやって、カーネル再構築した上で、Roundcubemailをインストール
感動的に早い。Core2duoなW &#8230; <a href="http://eojareth.net/wordpress/2007/11/07/1858.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>FreeBSD-7.0-BETA2にしたのは、ProLiantML115で、options SCTPを無効にしてやって、カーネル再構築した上で、Roundcubemailをインストール</p>
<p>感動的に早い。Core2duoなWinXPマシン上のcolinux（ubuntu-7.10-server)で動かしたものなんか遅すぎて使えねぇ。Rastが遅いのなんてのはマシンパワーが解決してくれるんだな。</p>
<p>ProLiantはメモリも増設したことだし、samba鯖だけにするのはもったいないな。roundcubeも常駐の方向で。X2に載せ換えちゃおうかな(^^;;</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2007/11/07/1858.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu7.04-serverでRast-0.3.1</title>
		<link>http://eojareth.net/wordpress/2007/10/12/1811.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu704-server%25e3%2581%25a7rast-031</link>
		<comments>http://eojareth.net/wordpress/2007/10/12/1811.html#comments</comments>
		<pubDate>Fri, 12 Oct 2007 06:00:33 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Rast]]></category>
		<category><![CDATA[Roundcube]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/archives/1811</guid>
		<description><![CDATA[Debianだと、有志のパッケージがあった。Ubuntuにsid用ならの使えるかなとやってみたがNG。えー、びるどはやだあ。
でもメイン機のColinuxの方が多少は速いだろうとやってみる。今回はrastを入れるならxi &#8230; <a href="http://eojareth.net/wordpress/2007/10/12/1811.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Debianだと、有志のパッケージがあった。Ubuntuにsid用ならの使えるかなとやってみたがNG。えー、びるどはやだあ。</p>
<p>でもメイン機のColinuxの方が多少は速いだろうとやってみる。今回はrastを入れるならximapdもということでicu、あとはprefixだけ指定しよう（FreeBSDほど文句は言わないだろうし）。Ubuntuでビルドはしていないので、次のパッケージを予めいれておく。</p>
<ul>
<li>g++</li>
<li>libicu36-dev</li>
<li>libmagic-dev</li>
<li>libapr1-dev</li>
<li>libaprutil1-dev</li>
<li>bsfilter</li>
<li>nkf</li>
</ul>
<pre>% ./configure --prefix=/usr/local --with-icu-config=/usr/bin/icu-config</pre>
<p>configureが通ったのでこれで無問題かと思ったら、次のmakeで、<a href="http://d.hatena.ne.jp/sodex/20070412/1176334254">Just Do Live</a>さんと全く同じエラーがでてたので、同じように/usr/include/apr-1.0/apr.hを以下のように変更</p>
<pre>typedef  __off64_t           apr_off_t;</pre>
<p>これでmake installまでOKだった。</p>
<p>追記：動作確認に、ximapd roundcubemailも入れてみる。<br />
ximapdのメールを自前のWebメールで読むなら日本語もほぼ問題なく表示できてるしroundcubeがいい。<br />
colinux上のUbuntu7.04-serverではあるものの、core2duoのせいか、mboxのimportも、画面の遷移も一番動作が軽い。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2007/10/12/1811.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ximapd</title>
		<link>http://eojareth.net/wordpress/2006/08/07/1372.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ximapd-2</link>
		<comments>http://eojareth.net/wordpress/2006/08/07/1372.html#comments</comments>
		<pubDate>Sun, 06 Aug 2006 15:00:02 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Rast]]></category>
		<category><![CDATA[Webメール]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/archives/1372</guid>
		<description><![CDATA[最近、新ネタがない。Rastも含めて終息してしまったのかもしれない。作者の方もなんか忙しそうだししょうがないか。
とりあえず、うちのximapd-0.2.0とSquirrelmailのコンビは、ローカル鯖がlighttp &#8230; <a href="http://eojareth.net/wordpress/2006/08/07/1372.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>最近、新ネタがない。Rastも含めて終息してしまったのかもしれない。作者の方もなんか忙しそうだししょうがないか。</p>
<p>とりあえず、うちのximapd-0.2.0とSquirrelmailのコンビは、ローカル鯖がlighttpd環境になってからも活躍中。</p>
<p>あ、apache2+PHPな環境でのsuEXECの件は進展があったのだろうか</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2006/08/07/1372.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ximapd +SquirrelMail -1.5.2(CVS) FreeBSD 6.0R</title>
		<link>http://eojareth.net/wordpress/2006/03/23/1050.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ximapd-squirrelmail-152cvs-freebsd-60r</link>
		<comments>http://eojareth.net/wordpress/2006/03/23/1050.html#comments</comments>
		<pubDate>Wed, 22 Mar 2006 15:00:01 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Webメール]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/archives/1050</guid>
		<description><![CDATA[環境が少し変わったので、FreeBSDでも、ximapd+squirrelmailできるようにインストールを再度
ximapd &#8211;stopで、ximapdが終了しない件は、ximapd.rbのprocess. &#8230; <a href="http://eojareth.net/wordpress/2006/03/23/1050.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>環境が少し変わったので、FreeBSDでも、ximapd+squirrelmailできるようにインストールを再度</p>
<p>ximapd &#8211;stopで、ximapdが終了しない件は、ximapd.rbのprocess.kill(&#8220;TERM&#8221;,pid）を(&#8220;KILL&#8221;,pid)で強制終了させてしまうことに。何がおこっても自分だけの環境だ(^^;。</p>
<p>特に問題ないみたい。これで、Debian鯖がいなくなっても大丈夫。だと思う。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2006/03/23/1050.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squirrelmail-1.5.1リリース</title>
		<link>http://eojareth.net/wordpress/2006/02/20/1024.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=squirrelmail-151%25e3%2583%25aa%25e3%2583%25aa%25e3%2583%25bc%25e3%2582%25b9</link>
		<comments>http://eojareth.net/wordpress/2006/02/20/1024.html#comments</comments>
		<pubDate>Sun, 19 Feb 2006 15:00:01 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Webメール]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/archives/1024</guid>
		<description><![CDATA[本家からリリースされたみたい
といっても日本語化パッチはまだなので、入れ換えても状況は変わらない。現状でもCVS版＋＋localesで、libiconvやPHPのmbstringが有効なら本文はほぼ問題ないけど。
CVS &#8230; <a href="http://eojareth.net/wordpress/2006/02/20/1024.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.squirrelmail.org/">本家</a>からリリースされたみたい</p>
<p>といっても日本語化パッチはまだなので、入れ換えても状況は変わらない。現状でもCVS版＋＋localesで、libiconvやPHPのmbstringが有効なら本文はほぼ問題ないけど。</p>
<p>CVS版の1.5.2と1.5.1では若干IMAPへのアクセスの仕方が違うような気がするので、現行の1.5.2と1.5.1リリースで比べてみる必要はあるかも。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2006/02/20/1024.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ximapd-0.2.0 backend</title>
		<link>http://eojareth.net/wordpress/2006/02/17/1023.html?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ximapd-020-backend</link>
		<comments>http://eojareth.net/wordpress/2006/02/17/1023.html#comments</comments>
		<pubDate>Thu, 16 Feb 2006 15:00:01 +0000</pubDate>
		<dc:creator>jareth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Rast]]></category>
		<category><![CDATA[Webメール]]></category>
		<category><![CDATA[ximapd]]></category>

		<guid isPermaLink="false">http://eojareth.net/wordpress/archives/1023</guid>
		<description><![CDATA[+squirrelmail-1.5.*な環境を、colinux上のDebian/Sargeと、デスクトップのDebian/testingに置いている。基本は、多少軽いHyperEstraier-1.1.2を使ってるけど、 &#8230; <a href="http://eojareth.net/wordpress/2006/02/17/1023.html">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>+squirrelmail-1.5.*な環境を、colinux上のDebian/Sargeと、デスクトップのDebian/testingに置いている。基本は、多少軽いHyperEstraier-1.1.2を使ってるけど、ディレクトリを分けて、Rast-0.3.1でも同じものが見れるように別途インポートしてる。</p>
<p>HyperEstraierは時々検索漏れがあるという記事を見かけるけど、実際、単一語（日本語）だけを、queriesフォルダに書くと、Rastだと数件ひっかかるものが、Hyperだと1件もなかったりする。しょうがないから多少遅いけどRastにしておいて、両方置いておこう。</p>
]]></content:encoded>
			<wfw:commentRss>http://eojareth.net/wordpress/2006/02/17/1023.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
