<?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>Apelog &#187; debian</title>
	<atom:link href="http://blog.apecell.com/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.apecell.com</link>
	<description>Apecell's blog by Design</description>
	<lastBuildDate>Tue, 22 Jun 2010 07:08:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DebianへQmailをインストールするには</title>
		<link>http://blog.apecell.com/2007/10/09/id/14</link>
		<comments>http://blog.apecell.com/2007/10/09/id/14#comments</comments>
		<pubDate>Mon, 08 Oct 2007 15:00:00 +0000</pubDate>
		<dc:creator>design</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.apecell.com/1970/01/01/14</guid>
		<description><![CDATA[Debianは標準でEximというMTAが入っているが、日本では余り馴染みが無くPostfixやQmailを使う事が多い。
DebianはQmailのバイナリパッケージが用意されていないのでソースパッケージからインストールを行う（DebianのポリシーにQmaiのライセンス形態が合わなかったらしく用意されていない）。
以下Debian4.0にQmailのインストール方法
eximアンインストール

# apt-get remove --purge exim4 exim4-base exim4-config

ソースパッケージ取得用にapt-getの設定に追記

# vi /etc/apt/sources.list
deb, deb-src の行末に non-free 追記

パッケージの取得・インストール

# apt-get update
# apt-get install qmail-src ucspi-tcp-src
# build-ucspi-tcp
# build-qmail

設定追記・テストメール送信

# echo &#34;your.domain&#34; &#62;&#62; /var/qmail/control/me
# echo &#34;your.domain&#34; &#62;&#62; /var/qmail/control/rcpthosts
# echo &#34;your.domain&#34; &#62;&#62; /var/qmail/control/locals

# echo &#34;test&#34; &#124; mail &#34;your@mailaddress&#34;

で、テストメールを確認して完了。
Postfixの場合はバイナリパッケージが用意されているのでapt-getで入れれば自動的にEximもアンインストールされる。
]]></description>
			<content:encoded><![CDATA[<p>Debianは標準で<a href="http://www.exim.org/" target="_blank">Exim</a>というMTAが入っているが、日本では余り馴染みが無く<a href="http://www.postfix.org/" target="_blank">Postfix</a>や<a href="http://cr.yp.to/qmail.html" target="_blank">Qmail</a>を使う事が多い。</p>
<p>DebianはQmailのバイナリパッケージが用意されていないのでソースパッケージからインストールを行う（DebianのポリシーにQmaiのライセンス形態が合わなかったらしく用意されていない）。</p>
<h4>以下Debian4.0にQmailのインストール方法</h4>
<p>eximアンインストール</p>
<pre>
# apt-get remove --purge exim4 exim4-base exim4-config
</pre>
<p>ソースパッケージ取得用にapt-getの設定に追記</p>
<pre>
# vi /etc/apt/sources.list
deb, deb-src の行末に non-free 追記
</pre>
<p>パッケージの取得・インストール</p>
<pre>
# apt-get update
# apt-get install qmail-src ucspi-tcp-src
# build-ucspi-tcp
# build-qmail
</pre>
<p>設定追記・テストメール送信</p>
<pre>
# echo &#34;your.domain&#34; &#62;&#62; /var/qmail/control/me
# echo &#34;your.domain&#34; &#62;&#62; /var/qmail/control/rcpthosts
# echo &#34;your.domain&#34; &#62;&#62; /var/qmail/control/locals

# echo &#34;test&#34; | mail &#34;your@mailaddress&#34;
</pre>
<p>で、テストメールを確認して完了。</p>
<p>Postfixの場合はバイナリパッケージが用意されているのでapt-getで入れれば自動的にEximもアンインストールされる。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.apecell.com/2007/10/09/id/14/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

