CentOS release 6.5 (Final)にて、postfixを利用してmailコマンドにてメール送信
しようと考えています。
mailxはインストール済みです(mailx.x86_64 12.4-8.el6_6 @base )。
「alternatives --config mta」コマンドにてmtaを確認すると、
「/usr/sbin/sendmail.postfix」になっています。
コマンドにて、「mail abc@test.co.jp」と入力すると、
「send-mail: fatal: config variable inet_interfaces: host not found: inet_protocols」
と表示されてしまいます。
その時の/var/log/maillogは、
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/qmgr pid 3713 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/smtpd pid 3714 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
DB01 postfix/pickup[3715]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/pickup pid 3715 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
DB01 postfix/trivial-rewrite[3741]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/trivial-rewrite pid 3741 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
DB01 postfix/sendmail[3757]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/smtpd[3759]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/qmgr[3758]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/qmgr pid 3758 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/smtpd pid 3759 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
DB01 postfix/pickup[3760]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/pickup pid 3760 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/pickup: bad command startup -- throttling
DB01 postfix/trivial-rewrite[3774]: fatal: config variable inet_interfaces: host not found: inet_protocols
DB01 postfix/master[1851]: warning: process /usr/libexec/postfix/trivial-rewrite pid 3774 exit status 1
DB01 postfix/master[1851]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
と表示されます。
「service postfix restart」とすると、
Shutting down postfix: [FAILED]
Starting postfix: [FAILED]
と表示されてしまいます。
以前は、「/etc/postfix/main.cf」の設定を特にしなくてもmailコマンドは利用できたのですが、
何か設定などはあるのでしょうか?
また、postfixのステータスを見ると、「-b (pid 1851) is running...」となって起動はしているみたいです。
どうすれば「mail」コマンドにてメール送信をできるようになりますでしょうか?
宜しくお願いします。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/04/06 01:04
2016/04/06 01:16
2016/04/06 01:38
2016/04/06 01:44
2016/04/06 01:57
2016/04/06 02:04
2016/04/06 03:01
2016/04/06 03:28
2016/04/06 05:44