<?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>perlとMysqlでCGI &#38; サーバ管理 漏れ的メモ &#187; サーバ管理</title>
	<atom:link href="http://perl.no-tubo.net/category/%e3%82%b5%e3%83%bc%e3%83%90%e7%ae%a1%e7%90%86/feed/" rel="self" type="application/rss+xml" />
	<link>http://perl.no-tubo.net</link>
	<description>perl＆MySQLでCGIプログラミング。ウェブ運営の小技。鯖管メモもちょっとだけ。</description>
	<lastBuildDate>Mon, 23 Aug 2010 04:41:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IPベースのバーチャルホストと名前ベースのバーチャルホストを混合させる</title>
		<link>http://perl.no-tubo.net/2010/08/23/ip%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a8%e5%90%8d%e5%89%8d%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%bc%e3%83%81/</link>
		<comments>http://perl.no-tubo.net/2010/08/23/ip%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a8%e5%90%8d%e5%89%8d%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%bc%e3%83%81/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 04:41:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=774</guid>
		<description><![CDATA[Apache でIPベースのバーチャルホストを使う場合の注意点
VirtualHostディレクティブを利用する。VirtualHostディレクティブは、
&#60;VirtualHost IPアドレス&#62;
～
&#60; [...]]]></description>
			<content:encoded><![CDATA[<h3>Apache でIPベースのバーチャルホストを使う場合の注意点</h3>
<p>VirtualHostディレクティブを利用する。VirtualHostディレクティブは、</p>
<blockquote><p>&lt;VirtualHost IPアドレス&gt;<br />
～<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p>のように記述し、これが1ホスト分のブロックとなる。つまり、バーチャルホストでホスティングしたいホストの数だけ、このブロックを記述すればよい。</p>
<p>IPベースで注意する点は、<strong>&lt;VirtualHost IPアドレス&gt;</strong>のIPアドレスを<strong>各ブロックで異なるものにしなければならない</strong>ということである。Apacheは、このIPアドレスでホストの設定のブロックを識別するからである。</p>
<p><a href="http://www.atmarkit.co.jp/flinux/rensai/apache08/apache08b.html">バーチャルホストによる複数サイトの同時運用</a> より</p>
<p>つまり1つのIPアドレスで1つのサイト（FQDN）のみしか運営出来ない。<br />
名前ベースのバーチャルホストと大きく異なる。</p>
<h3>名前ベースのバーチャルホストと混合させる場合</h3>
<p>名前ベースのバーチャルホストとIPベースのバーチャルホストを混合させる場合、 VirtualHost ディレクティブにポート番号も付加する。</p>
<blockquote><p>&lt;VirtualHost *:80&gt;<br />
～<br />
&lt;/VirtualHost&gt;</p>
<p>&lt;VirtualHost IPアドレス:80&gt;<br />
～<br />
&lt;/VirtualHost&gt;</p></blockquote>
<p>SSL を利用する場合も同様に 443 など、ポート番号を付加する。</p>
<p>IPベースでバーチャルホストを利用する場面としては（自分の場合）SSLサイトを作る際、ドメインが違うサイトでSSL証明書を使い分けなくてはならない為。通常の場合なら名前ベースのバーチャルホストで用が足りるはず。</p>
<p>ワイルドカード証明書では異なるドメインに対応出来ないし。ただ、ベリサインからマルチドメインなる証明書の販売が始まるとか始まったとか。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/08/23/ip%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%bc%e3%83%81%e3%83%a3%e3%83%ab%e3%83%9b%e3%82%b9%e3%83%88%e3%81%a8%e5%90%8d%e5%89%8d%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ae%e3%83%90%e3%83%bc%e3%83%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos4.8 に PostgreSQL8.4 をyumでインストール</title>
		<link>http://perl.no-tubo.net/2010/08/17/centos4-8-%e3%81%ab-postgresql8-4-%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2010/08/17/centos4-8-%e3%81%ab-postgresql8-4-%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 03:34:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[インストールメモ]]></category>
		<category><![CDATA[centOS]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=597</guid>
		<description><![CDATA[PGDGレポジトリを追加する
純正レポジトリに postgresql を上書きされない様に無効化しておく。
/etc/yum.repos.d/CentOS-Base.repo を編集のうえ、[base]と[update] [...]]]></description>
			<content:encoded><![CDATA[<h3>PGDGレポジトリを追加する</h3>
<p>純正レポジトリに postgresql を上書きされない様に無効化しておく。<br />
/etc/yum.repos.d/CentOS-Base.repo を編集のうえ、[base]と[update]のそれぞれのセクションに、<br />
exclude=postgresql*<br />
を追記する。</p>
<p>http://yum.pgsqlrpms.org/reporpms/repoview/letter_p.group.html<br />
から対象OS＆バージョンを選んでRPMをダウンロード</p>
<pre>wget http://yum.pgsqlrpms.org/reporpms/8.4/pgdg-centos-8.4-2.noarch.rpm
rpm -ivh pgdg-centos-8.4-2.noarch.rpm</pre>
<p>/etc/yum.repos.d/pgdg-84-centos.repo が作成される。</p>
<pre># cat /etc/yum.repos.d/pgdg-84-centos.repo
[pgdg84]
name=PostgreSQL 8.4 $releasever - $basearch
baseurl=http://yum.pgsqlrpms.org/8.4/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

[pgdg84-source]
name=PostgreSQL 8.4 $releasever - $basearch - Source
failovermethod=priority
baseurl=http://yum.pgsqlrpms.org/srpms/8.4/redhat/rhel-$releasever-$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG</pre>
<p>必要なpostgresqlのパッケージをインストール＆アップデート。</p>
<pre># yum install postgresql postgresql-server postgresql-devel compat-postgresql-libs postgresql-libs postgresql-contrib</pre>
<blockquote><p>&#8211;&gt; Running transaction check<br />
&#8211;&gt; Processing Dependency: libpq.so.4 for package: perl-DBD-Pg<br />
&#8211;&gt; Finished Dependency Resolution<br />
Error: Missing Dependency: libpq.so.4 is needed by package perl-DBD-Pg</p></blockquote>
<p>エラーが出てインストール出来ない。</p>
<p><a href="http://blog.motoo.net/2009/03/13/172626">http://blog.motoo.net/2009/03/13/172626</a><br />
を見て、パッケージを削除しているので試す。</p>
<pre># yum remove perl-DBD-Pg</pre>
<p>再度インストールを試すと、どうやら成功した。</p>
<h3>データベースを初期化</h3>
<pre># service postgresql initdb</pre>
<p>/var/lib/pgsql/pgstartup.log を見てエラーが起きていないことを確認。<br />
前バージョンの古いデータがあると失敗する。</p>
<p>データディレクトリは /var/lib/pgsql/data<br />
設定ファイル /var/lib/pgsql/data/postgresql.conf</p>
<p>サービス開始</p>
<pre># service postgresql start</pre>
<p>自動起動の設定</p>
<pre># chkconfig postgresql on</pre>
<p>自動起動の確認（ランレベル2～5のonを確認）</p>
<pre># chkconfig --list postgresql
postgresql          	0:off	1:off	2:on	3:on	4:on	5:on	6:off</pre>
<p>参考：<a href="http://a98.jugem.jp/?eid=372">CentOS 5.3 に postgresql-8.4 をインストール | お試しlog4</a></p>
<p>認証方式<br />
デフォルトではパスワードによる接続は出来ない。<br />
postgresユーザー パスワードの設定<br />
/var/lib/pgsql/data/postgresql.conf<br />
/var/lib/pgsql/data/pg_hba.conf</p>
<p>参照：<a href="http://safe-linux.homeip.net/web/PostgreSQL/01-setup.html">PostgreSQL Server のセットアップ ～ CentOS-4.5</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/08/17/centos4-8-%e3%81%ab-postgresql8-4-%e3%82%92yum%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl の環境変数 $ENV{PATH} の初期値はどこを参照しているのか？</title>
		<link>http://perl.no-tubo.net/2010/06/30/perl-%e3%81%ae%e7%92%b0%e5%a2%83%e5%a4%89%e6%95%b0-envpath-%e3%81%ae%e5%88%9d%e6%9c%9f%e5%80%a4%e3%81%af%e3%81%a9%e3%81%93%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%81%ae/</link>
		<comments>http://perl.no-tubo.net/2010/06/30/perl-%e3%81%ae%e7%92%b0%e5%a2%83%e5%a4%89%e6%95%b0-envpath-%e3%81%ae%e5%88%9d%e6%9c%9f%e5%80%a4%e3%81%af%e3%81%a9%e3%81%93%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%81%ae/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 04:08:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[CentOS5.x]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=628</guid>
		<description><![CDATA[Perl の $ENV{PATH} は何処を参照しているのか？
例えば bayon を perl から使うのに Text::Bayon モジュールを利用したら
sh: bayon: command not found
と [...]]]></description>
			<content:encoded><![CDATA[<h3>Perl の $ENV{PATH} は何処を参照しているのか？</h3>
<p>例えば bayon を perl から使うのに Text::Bayon モジュールを利用したら<br />
sh: bayon: command not found<br />
と言うエラーログが残る。</p>
<p>コマンドが見つからない = パスが通っていない、と言う事なんだろうけど、apache を2.2 にしたらパスが変わったのか apache2.0 の時に使えた Lingua::JA::Summarize を使用するスクリプトも</p>
<p>sh: mecab: command not found</p>
<p>となる。</p>
<p>mecab も bayon も /usr/local/bin にインストールしてあるのだけれど、$ENV{PATH} を調べてみると、<br />
$ENV{PATH} = /sbin:/usr/sbin:/bin:/usr/bin<br />
となっており、/usr/local/bin にはパスが通っていない。</p>
<p>この 環境変数はどこを参照しているのかまさに以下のページのような迷い方をした。</p>
<blockquote><p>apacheの起動ユーザーにPATH通しときゃいいのか？とか、httpd.confにそういう設定が？とか、もしかしてPHP.iniにそんな設定が？とか思ってたんですが、全部ハズレ。</p></blockquote>
<p><a href="http://d.hatena.ne.jp/masahi6/20090720/1248081907">Apache2の環境変数PATHを設定する &#8211; masahilog</a></p>
<p>SetEnvやPassEnvディレクティブを追加してみたり、. bash_profile を変更したり、散々いろいろ試してみたけど、上記ページのおかげでヒントが得られたのでメモ。</p>
<blockquote><p>CentOS系（というかRedhat系、だろうか）は/etc/sysconfig/httpdがそれに該当するような。探しても調べてもenvvarsの影も形も無かったけど、/etc/init.d/httpdの冒頭箇所で/etc/sysconfig/httpdがあったらそれを評価してからhttpdが起動するようになってる。なんでこんな仕様なんだろうか。</p></blockquote>
<p>追記でこのように書かれていたのだけれど、/etc/rc.d/init.d/httpd を見てみると、 /etc/sysconfig/httpd のみではなく、 /etc/rc.d/init.d/functions も参照している。</p>
<p>/etc/rc.d/init.d/functions を見ると、ビンゴでした。</p>
<pre># Set up a default search path.
PATH="/sbin:/usr/sbin:/bin:/usr/bin"
export PATH</pre>
<p>ここのパスを変更して、保存。</p>
<p>注意点としては、apache を再起動ではなく 停止してから起動する事。<br />
再起動では反映されませんでした。</p>
<p>ちなみに CentOS （4.x 5.x） での話ですので他のディストリビューションでは違うかもしれません。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/06/30/perl-%e3%81%ae%e7%92%b0%e5%a2%83%e5%a4%89%e6%95%b0-envpath-%e3%81%ae%e5%88%9d%e6%9c%9f%e5%80%a4%e3%81%af%e3%81%a9%e3%81%93%e3%82%92%e5%8f%82%e7%85%a7%e3%81%97%e3%81%a6%e3%81%84%e3%82%8b%e3%81%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS4.8 に Zend Framework をインストール</title>
		<link>http://perl.no-tubo.net/2010/06/17/centos4-8-%e3%81%ab-zend-framework-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2010/06/17/centos4-8-%e3%81%ab-zend-framework-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 08:42:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[インストールメモ]]></category>
		<category><![CDATA[ZendFramework]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=589</guid>
		<description><![CDATA[環境
CentOS 4.8
Apache 2.2.15
PHP 5.2.13
Zend Framework ダウンロード
http://framework.zend.com/download/latest
「Zend F [...]]]></description>
			<content:encoded><![CDATA[<p>環境</p>
<blockquote><p>CentOS 4.8<br />
Apache 2.2.15<br />
PHP 5.2.13</p></blockquote>
<h3>Zend Framework ダウンロード</h3>
<p><a href="http://framework.zend.com/download/latest">http://framework.zend.com/download/latest</a><br />
「Zend Framework Full Package」から Zend Framework 1.10 full をダウンロード<br />
ユーザー登録が必要。</p>
<pre>wget http://downloads.zend.com/framework/1.10.5/ZendFramework-1.10.5.tar.gz</pre>
<h3>解凍して名前変更</h3>
<pre>tar -zxvf ZendFramework-1.10.5
mv ZendFramework-1.10.5 ZendFramework</pre>
<p>/usr/local/lib/php/ 以下に配置する。<br />
php というディレクトリが無いので作成してから mv する。</p>
<pre>sudo mv ZendFramework /usr/local/lib/php</pre>
</p>
<h3>php.ini の設定</h3>
<p>include_path を設定する</p>
<pre>vi /etc/php.ini</pre>
<p>以下を追記</p>
<pre>include_path = “.:/usr/local/lib/php/ZendFramework/library”</pre>
<p>Apache を再起動させる。</p>
<p>参考：<a href="http://toru.twpg.jp/?p=664">【Zend Framework】CentOSにインストールしてみた。</a></p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/06/17/centos4-8-%e3%81%ab-zend-framework-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centOS4.8 apache2.0.x を apache 2.2.15 へ yum でアップデート</title>
		<link>http://perl.no-tubo.net/2010/06/16/centos4-8-apache2-0-x-%e3%82%92-apache-2-2-15-%e3%81%b8-yum-%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/</link>
		<comments>http://perl.no-tubo.net/2010/06/16/centos4-8-apache2-0-x-%e3%82%92-apache-2-2-15-%e3%81%b8-yum-%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 11:33:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS4.x]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[インストールメモ]]></category>
		<category><![CDATA[httpd]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=569</guid>
		<description><![CDATA[utterramblings レポジトリを使い apache を2.2.15 へ yum でアップデートする。
phpも5.2.13 へアップデートされる。
remiレポジトリでもいいけど PHPが5.3になってしまうの [...]]]></description>
			<content:encoded><![CDATA[<p>utterramblings レポジトリを使い apache を2.2.15 へ yum でアップデートする。<br />
phpも5.2.13 へアップデートされる。<br />
remiレポジトリでもいいけど PHPが5.3になってしまうので。</p>
<h2>utterramblingsレポジトリ追加</h2>
<pre># rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka</pre>
<p>/etc/yum.repos.d/CentOS-Base.repo の一番最後に追記する。</p>
<pre># vi /etc/yum.repos.d/CentOS-Base.repo

[utterramblings]
name=Jason Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
priority=1</pre>
<h2>apache をアップデート</h2>
<pre># yum --enablerepo=utterramblings update httpd</pre>
<p>設定ファイルはそのままでは使えないので適時修正する事。<br />
新しいファイル<br />
/etc/httpd/conf/httpd.conf.rpmnew<br />
/etc/httpd/conf.d/ssl.conf.rpmnew<br />
を元にして両方を修正。</p>
<h3>PHP関連のインストール</h3>
<p>php も5.2.13 にアップデートされるので関連するものをアップデートもしくはインストール。<br />
phpMyAdmin で</p>
<blockquote><p>mcrypt 拡張をロードできません。PHP の設定を確認してください</p></blockquote>
<p>と言うエラーが出るので php-mcrypt をアップデート。。</p>
<pre>yum --enablerepo=utterramblings update php-mcrypt</pre>
<h4>httpd-devel が必要だったのでインストール</h4>
<pre>yum --enablerepo=utterramblings install httpd-devel</pre>
<h4>DOMを使ってXMLを操作したいので php-xml をインストール</h4>
<pre>yum --enablerepo=utterramblings install php-xml</pre>
<p>参考：<a href="http://d.hatena.ne.jp/rytich/20100330/1269936570">http://d.hatena.ne.jp/rytich/20100330/1269936570</a><br />
5.3へのアップデートも書かれている。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/06/16/centos4-8-apache2-0-x-%e3%82%92-apache-2-2-15-%e3%81%b8-yum-%e3%81%a7%e3%82%a2%e3%83%83%e3%83%97%e3%83%87%e3%83%bc%e3%83%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>googletest をインストール</title>
		<link>http://perl.no-tubo.net/2010/06/09/googletest-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://perl.no-tubo.net/2010/06/09/googletest-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 04:17:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=548</guid>
		<description><![CDATA[クラスタリングツール bayon で必要になるので、 googletest （現時点では 1.5.0 が最新バージョン） をインストールする。
wget http://googletest.googlecode.com/ [...]]]></description>
			<content:encoded><![CDATA[<p>クラスタリングツール bayon で必要になるので、 googletest （現時点では 1.5.0 が最新バージョン） をインストールする。</p>
<pre>wget http://googletest.googlecode.com/files/gtest-1.5.0.tar.gz
tar xzf gtest-1.5.0.tar.gz
cd gtest-1.5.0
./configure --prefix=/usr/local
make
sudo make install</pre>
<p>/usr/local/include/gtest 以下にインストールされる</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/06/09/googletest-%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache の ServerLimit を反映させるには restart ではダメらしい</title>
		<link>http://perl.no-tubo.net/2010/03/18/apache-%e3%81%ae-serverlimit-%e3%82%92%e5%8f%8d%e6%98%a0%e3%81%95%e3%81%9b%e3%82%8b%e3%81%ab%e3%81%af-restart-%e3%81%a7%e3%81%af%e3%83%80%e3%83%a1%e3%82%89%e3%81%97%e3%81%84/</link>
		<comments>http://perl.no-tubo.net/2010/03/18/apache-%e3%81%ae-serverlimit-%e3%82%92%e5%8f%8d%e6%98%a0%e3%81%95%e3%81%9b%e3%82%8b%e3%81%ab%e3%81%af-restart-%e3%81%a7%e3%81%af%e3%83%80%e3%83%a1%e3%82%89%e3%81%97%e3%81%84/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 09:13:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=402</guid>
		<description><![CDATA[Apacheの設定ファイル httpd.conf でServerLimit を変更する場合、restart では反映されない。
[Thu Mar 18 18:01:13 2010] [warn] WARNING: Att [...]]]></description>
			<content:encoded><![CDATA[<p>Apacheの設定ファイル httpd.conf でServerLimit を変更する場合、restart では反映されない。</p>
<blockquote><p>[Thu Mar 18 18:01:13 2010] [warn] WARNING: Attempt to change ServerLimit ignored during restart</p></blockquote>
<p>このようなエラーがログに残る。<br />
stop した後に start で Apacheを起動すると ServerLimit の変更を反映する事が出来る。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/03/18/apache-%e3%81%ae-serverlimit-%e3%82%92%e5%8f%8d%e6%98%a0%e3%81%95%e3%81%9b%e3%82%8b%e3%81%ab%e3%81%af-restart-%e3%81%a7%e3%81%af%e3%83%80%e3%83%a1%e3%82%89%e3%81%97%e3%81%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apacheの設定ファイル（httpd.conf）の文法をチェックするコマンド</title>
		<link>http://perl.no-tubo.net/2010/01/21/apache%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%ef%bc%88httpd-conf%ef%bc%89%e3%81%ae%e6%96%87%e6%b3%95%e3%82%92%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%99%e3%82%8b%e3%82%b3/</link>
		<comments>http://perl.no-tubo.net/2010/01/21/apache%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%ef%bc%88httpd-conf%ef%bc%89%e3%81%ae%e6%96%87%e6%b3%95%e3%82%92%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%99%e3%82%8b%e3%82%b3/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 09:32:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[LINUX]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=338</guid>
		<description><![CDATA[Apacheの設定ファイルが正しいかhttpdを起動する前に確認する
/usr/sbin/apachectl configtest
設定ファイル（httpd.conf）に文法エラーが無ければ
Syntax OK と表示さ [...]]]></description>
			<content:encoded><![CDATA[<h2>Apacheの設定ファイルが正しいかhttpdを起動する前に確認する</h2>
<pre>/usr/sbin/apachectl configtest</pre>
<p>設定ファイル（httpd.conf）に文法エラーが無ければ<br />
Syntax OK と表示されるはず。</p>
<p>何らかのエラーがある場合は</p>
<blockquote><p>Syntax error on line 31 of /etc/httpd/conf/httpd.conf:<br />
Invalid command &#8216;¥x11&#8242;, perhaps mis-spelled or defined by a module not included in the server configuration</p></blockquote>
<p>などとエラーメッセージを表示する。</p>
<p>/etc/httpd/conf.d 以下にある設定ファイルはチェックされないので注意。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2010/01/21/apache%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%ef%bc%88httpd-conf%ef%bc%89%e3%81%ae%e6%96%87%e6%b3%95%e3%82%92%e3%83%81%e3%82%a7%e3%83%83%e3%82%af%e3%81%99%e3%82%8b%e3%82%b3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LogWatchのhttpd(Apache)に大量のログが添付される場合の対処</title>
		<link>http://perl.no-tubo.net/2009/11/02/logwatch%e3%81%aehttpdapache%e3%81%ab%e5%a4%a7%e9%87%8f%e3%81%ae%e3%83%ad%e3%82%b0%e3%81%8c%e6%b7%bb%e4%bb%98%e3%81%95%e3%82%8c%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ae%e5%af%be%e5%87%a6/</link>
		<comments>http://perl.no-tubo.net/2009/11/02/logwatch%e3%81%aehttpdapache%e3%81%ab%e5%a4%a7%e9%87%8f%e3%81%ae%e3%83%ad%e3%82%b0%e3%81%8c%e6%b7%bb%e4%bb%98%e3%81%95%e3%82%8c%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ae%e5%af%be%e5%87%a6/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 00:36:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[サーバ管理]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=282</guid>
		<description><![CDATA[webサーバのlogwatchから送信されてくるメールの容量が400kbyteとか600kbyteとか、かなり大きいので対処方法を検索した所以下のページを発見。
参考：logwatch に大量の Apache アクセスロ [...]]]></description>
			<content:encoded><![CDATA[<p>webサーバのlogwatchから送信されてくるメールの容量が400kbyteとか600kbyteとか、かなり大きいので対処方法を検索した所以下のページを発見。</p>
<p>参考：<a href="http://futuremix.org/2007/07/logwatch-httpd-log">logwatch に大量の Apache アクセスログが添付される | futuremix</a></p>
<blockquote><p>CentOS や Fedora Core には LogWatch というアプリケーションがついており、毎晩各種ログを検査して、問題のある部分を抜き出して送ってきてくれます。しかし Apache のログが大量に記録されてメールに添付され、私のサイトでは毎日数100KB のメールが届きます&#8230;</p></blockquote>
<p>対処方法は参考ページにあるのだけれど、一応コピペ。</p>
<pre>vi /etc/log.d/scripts/services/http

   $content_types =  $content_types.'|\.htm|\.html|\.jhtml|\.phtml|\.shtml|\/';
<span style="color: #33cccc;">   ↓追記
   $content_types =  $content_types.'|\.html#.*|\/[a-zA-Z0-9\-_\/\!]+|\/[a-zA-Z0-9\-_\/\!]+#.*|\/';
</span>   $content_types =  $content_types.'|\.inc|\.php|\.php3|\.asp|\.pl|\.wml|\/';</pre>
<p>検査するときの条件を付け加える事で全部ではないけれど抑えられる。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/11/02/logwatch%e3%81%aehttpdapache%e3%81%ab%e5%a4%a7%e9%87%8f%e3%81%ae%e3%83%ad%e3%82%b0%e3%81%8c%e6%b7%bb%e4%bb%98%e3%81%95%e3%82%8c%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ae%e5%af%be%e5%87%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>postfixadmin +procmailな環境でメールディレクトリの自動作成・削除</title>
		<link>http://perl.no-tubo.net/2009/10/15/postfixadmin-procmail%e3%81%aa%e7%92%b0%e5%a2%83%e3%81%a7%e3%83%a1%e3%83%bc%e3%83%ab%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e4%bd%9c%e6%88%90%e3%83%bb%e5%89%8a%e9%99%a4/</link>
		<comments>http://perl.no-tubo.net/2009/10/15/postfixadmin-procmail%e3%81%aa%e7%92%b0%e5%a2%83%e3%81%a7%e3%83%a1%e3%83%bc%e3%83%ab%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e4%bd%9c%e6%88%90%e3%83%bb%e5%89%8a%e9%99%a4/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 02:03:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CentOS5.x]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[postfixadmin]]></category>
		<category><![CDATA[メールサーバ]]></category>
		<category><![CDATA[procmail]]></category>

		<guid isPermaLink="false">http://perl.no-tubo.net/?p=223</guid>
		<description><![CDATA[構築環境

CentOS5.3
Postfix +MySQL
Dovecot
postfixadmin
procmail (spamassassin、Clam AntiVirus でスパムメールとウィルス対策)

pos [...]]]></description>
			<content:encoded><![CDATA[<h3>構築環境</h3>
<ul>
<li>CentOS5.3</li>
<li>Postfix +MySQL</li>
<li>Dovecot</li>
<li>postfixadmin</li>
<li>procmail (spamassassin、Clam AntiVirus でスパムメールとウィルス対策)</li>
</ul>
<p>postfixadminを使ってバーチャルドメインでメールサーバを構築するまではうまくいったのだけど、procmailを使うと自動でメールボックスが作成されない。</p>
<p>もともとメールアカウント削除してもメールボックスが自動で削除されないので付属のシェルスクリプト改で行ってみるテスト。</p>
<p>postfixadminは /var/www/postfixadmin に設置してあるとし、</p>
<p>メールは/mail 以下に保存される設定で。<br />
/mail/hoge.com/user@hoge.com な感じ。</p>
<p>メールディレクトリ作成・削除スクリプトは/usr/local/bin/postfixadmin へ保存。</p>
<blockquote><p>メールボックス作成用スクリプト<br />
/usr/local/bin/postfixadmin/postfixadmin-mailbox-postcreation.sh</p>
<p>メールボックス削除用スクリプト<br />
/usr/local/bin/postfixadmin/postfixadmin-mailbox-postdeletion.sh</p>
<p>ドメイン削除用スクリプト？<br />
/usr/local/bin/postfixadmin/postfixadmin-domain-postdeletion.sh</p></blockquote>
<h3>１）sudo を使用するので/etc/sudoers を編集する。</h3>
<p>どうやら最近のマシンではエラーが出るらしいので併せて対処。<br />
参考：<a href="http://blog.cles.jp/item/2919">sudoが「sudo: sorry, you must have a tty to run sudo」と文句を言うときは<br />
</a></p>
<p>webサーバ(apache)のhttpd.conf設定は<br />
User apache<br />
Group apache<br />
としています。</p>
<pre>visudo

#
# Disable "ssh hostname sudo ", because it will show the password in clear.
#         You have to run "ssh -t hostname sudo ".
#
<span style="color: #ff9900;">#Defaults    requiretty ←コメントアウト
</span>
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
<span style="color: #33cccc;">apache ALL=(ALL) NOPASSWD: /usr/local/bin/postfixadmin/postfixadmin-mailbox-postcreation.sh ←追記
apache ALL=(ALL) NOPASSWD: /usr/local/bin/postfixadmin/postfixadmin-mailbox-postdeletion.sh ←追記
apache ALL=(ALL) NOPASSWD: /usr/local/bin/postfixadmin/postfixadmin-domain-postdeletion.sh ←追記</span></pre>
<h3>２）メールボックス作成・削除スクリプト準備</h3>
<p>保存用ディレクトリを作成し、postfixadmin/ADDITIONS 内にある、</p>
<p>postfixadmin-domain-postdeletion.sh<br />
postfixadmin-mailbox-postcreation.sh<br />
postfixadmin-mailbox-postdeletion.sh</p>
<p>を/usr/local/bin/postfixadmin 以下にコピーする。</p>
<pre>mkdir /usr/local/bin/postfixadmin
cp /var/www/postfixadmin/ADDITIONS/postfixadmin-domain-postdeletion.sh /usr/local/bin/postfixadmin
cp /var/www/postfixadmin/ADDITIONS/postfixadmin-mailbox-postcreation.sh /usr/local/bin/postfixadmin
cp /var/www/postfixadmin/ADDITIONS/postfixadmin-mailbox-postdeletion.sh /usr/local/bin/postfixadmin</pre>
<h3>３）削除メールボックスの保存先</h3>
<p>削除したメールボックスは/mail/.deleted-maildirs 以下に保存されるようにする。</p>
<p>削除したメールボックスを保存するディレクトリ作成</p>
<pre>mkdir /mail/.deleted-maildirs
chmod 771 /mail/.deleted-maildirs
chown vuser:vuser /mail/.deleted-maildirs</pre>
<h3>４）スクリプトの編集</h3>
<h5>ユーザーメールボックス作成用スクリプトの編集</h5>
<pre>#!/bin/sh

# Example script for adding a Maildir to a Courier-IMAP virtual mail
# hierarchy.

# The script only looks at argument 3, assuming that it
# indicates the relative name of a maildir, such as
# "somedomain.com/peter/".

# This script should be run as the user which owns the maildirs. If
# the script is actually run by the apache user (e.g. through PHP),
# then you could use "sudo" to grant apache the rights to run
# this script as the relevant user.
# Assume this script has been saved as
# /usr/local/bin/postfixadmin-mailbox-postcreation.sh and has been
# made executable. Now, an example /etc/sudoers line:
# apache ALL=(courier) NOPASSWD: /usr/local/bin/postfixadmin-mailbox-postcreation.sh
# The line states that the apache user may run the script as the
# user "courier" without providing a password.

# Change this to where you keep your virtual mail users' maildirs.
<span style="color: #ff9900;">#basedir=/var/spool/maildirs ←コメントアウト
<span style="color: #33cccc;">basedir=/mail ←追記
</span></span><span style="color: #ccffff;">
</span><span style="color: #ccffff;">i</span>f [ ! -e "$basedir" ]; then
    echo "$0: basedir '$basedir' does not exist; bailing out."
    exit 1
fi

if [ `echo $3 | fgrep '..'` ]; then
    echo "$0: An argument contained a double-dot sequence; bailing out."
    exit 1
fi

maildir="${basedir}/$3"
parent=`dirname "$maildir"`
if [ ! -d "$parent" ]; then
    if [ -e "$parent" ]; then
        echo "$0: strange - directory '$parent' exists, but is not a directory; bailing out."
        exit 1
    else
        mkdir -p "${parent}"
        if [ $? -ne 0 ]; then
            echo "$0: mkdir -p '$parent' returned non-zero; bailing out."
            exit 1
        fi
    fi
fi

if [ -e "$maildir" ]; then
    echo "$0: Directory '$maildir' already exists! bailing out"
    exit 1
fi
<span style="color: #ff9900;">
#maildirmake "$maildir" ←コメントアウト
#if [ ! -d "$maildir" ]; then
#    echo "$0: maildirmake didn't produce a directory; bailing out."
#    exit 1
#fi</span>

<span style="color: #33cccc;">
# 以下を追記
mkdir "$maildir"
if [ ! -d "$maildir" ]; then
    echo "$0: mkdir didn't produce a directory; bailing out."
    exit 1
fi

mkdir "${maildir}cur"
if [ ! -d "${maildir}cur" ]; then
    echo "$0: mkdir didn't produce a directory; bailing out."
    exit 1
fi

mkdir "${maildir}new"
if [ ! -d "${maildir}new" ]; then
    echo "$0: mkdir didn't produce a directory; bailing out."
    exit 1
fi

mkdir "${maildir}tmp"
if [ ! -d "${maildir}tmp" ]; then
    echo "$0: mkdir didn't produce a directory; bailing out."
    exit 1
fi

chown -R vuser:vuser "$maildir"
chmod -R 700 "$maildir"</span>

exit 0</pre>
<h5>ユーザーメールボックス削除スクリプトの編集</h5>
<p>ユーザーメールボックスは、/mail/hoge.com/user@hoge.com の形式としています。</p>
<pre>#!/bin/sh

# Example script for removing a Maildir from a Courier-IMAP virtual mail
# hierarchy.

# The script looks at arguments 1 and 2, assuming that they
# indicate username and domain, respectively.

# The script will not actually delete the maildir. I moves it
# to a special directory which may once in a while be cleaned up
# by the system administrator.

# This script should be run as the user which owns the maildirs. If
# the script is actually run by the apache user (e.g. through PHP),
# then you could use "sudo" to grant apache the rights to run
# this script as the relevant user.
# Assume this script has been saved as
# /usr/local/bin/postfixadmin-mailbox-postdeletion.sh and has been
# made executable. Now, an example /etc/sudoers line:
# apache ALL=(courier) NOPASSWD: /usr/local/bin/postfixadmin-mailbox-postdeletion.sh
# The line states that the apache user may run the script as the
# user "courier" without providing a password.

# Change this to where you keep your virtual mail users' maildirs.
<span style="color: #ff9900;">#basedir=/var/spool/maildirs ←コメントアウト
</span><span style="color: #33cccc;">basedir=/mail ←追記
</span>
# Change this to where you would like deleted maildirs to reside.
<span style="color: #ff9900;">#trashbase=/var/spool/deleted-maildirs ←コメントアウト
</span><span style="color: #33cccc;">trashbase=/mail/.deleted-maildirs ← 追記
</span>
if [ ! -e "$trashbase" ]; then
    echo "trashbase '$trashbase' does not exist; bailing out."
    exit 1
fi

if [ `echo $1 | fgrep '..'` ]; then
    echo "First argument contained a double-dot sequence; bailing out."
    exit 1
fi
if [ `echo $2 | fgrep '..'` ]; then
    echo "First argument contained a double-dot sequence; bailing out."
    exit 1
fi

<span style="color: #ff9900;">#subdir=`echo "$1" | sed 's/@.*//'` ←コメントアウト
</span><span style="color: #33cccc;">subdir=$1 ← 追記
</span>
maildir="${basedir}/$2/${subdir}"
trashdir="${trashbase}/$2/`date +%F_%T`_${subdir}"

parent=`dirname "$trashdir"`
if [ ! -d "$parent" ]; then
    if [ -e "$parent" ]; then
        echo "Strainge - directory '$parent' exists, but is not a directory."
        echo "Bailing out."
        exit 1
    else
        mkdir -p "$parent"
        if [ $? -ne 0 ]; then
            echo "mkdir -p '$parent' returned non-zero; bailing out."
            exit 1
        fi
    fi
fi

if [ ! -e "$maildir" ]; then
    echo "maildir '$maildir' does not exist; nothing to do."
    exit 1
fi
if [ -e "$trashdir" ]; then
    echo "trashdir '$trashdir' already exists; bailing out."
    exit 1
fi

mv $maildir $trashdir

exit $?</pre>
<p>ドメイン削除用スクリプトの編集</p>
<pre>#!/bin/sh

# Example script for removing a Maildir domain top-level folder
# from a Courier-IMAP virtual mail hierarchy.

# The script only looks at argument 1, assuming that it
# indicates the relative name of a domain, such as
# "somedomain.com". If $basedir/somedomain.com exists, it will
# be removed.

# The script will not actually delete the directory. I moves it
# to a special directory which may once in a while be cleaned up
# by the system administrator.

# This script should be run as the user which owns the maildirs. If
# the script is actually run by the apache user (e.g. through PHP),
# then you could use "sudo" to grant apache the rights to run
# this script as the relevant user.
# Assume this script has been saved as
# /usr/local/bin/postfixadmin-domain-postdeletion.sh and has been
# made executable. Now, an example /etc/sudoers line:
# apache ALL=(courier) NOPASSWD: /usr/local/bin/postfixadmin-domain-postdeletion.sh
# The line states that the apache user may run the script as the
# user "courier" without providing a password.

# Change this to where you keep your virtual mail users' maildirs.
<span style="color: #ff9900;">#basedir=/var/spool/maildirs ←コメントアウト
</span><span style="color: #33cccc;">basedir=/mail ←追記
</span>
# Change this to where you would like deleted maildirs to reside.
<span style="color: #ff9900;">trashbase=/var/spool/deleted-maildirs ←コメントアウト
</span><span style="color: #33cccc;">trashbase=/mail/.deleted-maildirs ←追記
</span>
if [ `echo $1 | fgrep '..'` ]; then
    echo "First argument contained a double-dot sequence; bailing out."
    exit 1
fi

if [ ! -e "$trashbase" ]; then
    echo "trashbase '$trashbase' does not exist; bailing out."
    exit 1
fi

trashdir="${trashbase}/`date +%F_%T`_$1"
domaindir="${basedir}/$1"

if [ ! -e "$domaindir" ]; then
    echo "Directory '$domaindir' does not exits; nothing to do."
    exit 0;
fi
if [ ! -d "$domaindir" ]; then
    echo "'$domaindir' is not a directory; bailing out."
    exit 1
fi
if [ -e "$trashdir" ]; then
    echo "Directory '$trashdir' already exits; bailing out."
    exit 1;
fi

mv $domaindir $trashdir

exit $?</pre>
<p>実行権を与える</p>
<pre>chmod 700 /usr/local/bin/postfixadmin/postfixadmin*</pre>
<h3>５）phpadminの設定ファイルを修正</h3>
<pre>vi /var/www/postfixadmin/config.inc.php

// Optional:
// Script to run after creation of mailboxes.
// Note that this may fail if PHP is run in "safe mode", or if
// operating system features (such as SELinux) or limitations
// prevent the web-server from executing external scripts.
// $CONF['mailbox_postcreation_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postcreation.sh';
<span style="color: #33cccc;">$CONF['mailbox_postcreation_script']='sudo /usr/local/bin/postfixadmin/postfixadmin-mailbox-postcreation.sh'; ←追記
</span>
// Optional:
// Script to run after deletion of mailboxes.
// Note that this may fail if PHP is run in "safe mode", or if
// operating system features (such as SELinux) or limitations
// prevent the web-server from executing external scripts.
// $CONF['mailbox_postdeletion_script']='sudo -u courier /usr/local/bin/postfixadmin-mailbox-postdeletion.sh';
<span style="color: #33cccc;">$CONF['mailbox_postdeletion_script']='sudo /usr/local/bin/postfixadmin/postfixadmin-mailbox-postdeletion.sh'; ←追記
</span>
// Optional:
// Script to run after deletion of domains.
// Note that this may fail if PHP is run in "safe mode", or if
// operating system features (such as SELinux) or limitations
// prevent the web-server from executing external scripts.
// $CONF['domain_postdeletion_script']='sudo -u courier /usr/local/bin/postfixadmin-domain-postdeletion.sh';
<span style="color: #33cccc;">$CONF['domain_postdeletion_script']='sudo /usr/local/bin/postfixadmin/postfixadmin-domain-postdeletion.sh';</span></pre>
<h3>テスト</h3>
<p>postfixadminでメールアカウントの作成・削除を行って、該当のメールボックスの状況を確認する。</p>
<p>ドメイン追加・削除を行う場合は、ドメインの追加後メールユーザーを１つ以上追加する必要がある。（ドメイン追加のみだとディレクトリが作成されない為）</p>
<p><span style="text-decoration: line-through;"><br />
</span></p>
<h3>気になる事</h3>
<p>visudo でコメントアウトした</p>
<p>#Defaults    requiretty ←コメントアウト</p>
<p>が、セキュリティー面でどうなのか、と。</p>
]]></content:encoded>
			<wfw:commentRss>http://perl.no-tubo.net/2009/10/15/postfixadmin-procmail%e3%81%aa%e7%92%b0%e5%a2%83%e3%81%a7%e3%83%a1%e3%83%bc%e3%83%ab%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%88%e3%83%aa%e3%81%ae%e4%bd%9c%e6%88%90%e3%83%bb%e5%89%8a%e9%99%a4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
