外部からのメール受信はGoogle Appsでラクチン設定にしたものの、よく考えたらVPSからメールを送る設定について書いてませんでしたね。これがないと、rootあてのメールとかブログへのコメント通知メールとかが手元で確認できません。そこでPostfixをインストールしてメール送信環境を構築することにします。 ということで、例によって「ご利用は計画的に 」の設定メモです。 インストールはapt-get(もしくはaptitude)で一発。 sudo apt-get install postfix で、設定ファイルである /etc/postfix/main.cf をこのように書きました。 mynetworks = 127.0.0.1 inet_interfaces = localhost alias_maps = hash:/etc/aliases mydomain = hostname.sa