2012年3月23日金曜日
Rails Appl からメール送信すると「end of file reached」のエラーが...
■RAILS LOG
end of file reached
■メールログ
Mar 22 18:27:22 yoru-navi postfix/smtpd[15852]: connect from localhost.localdomain[127.0.0.1]
Mar 22 18:27:22 yoru-navi postfix/smtpd[15852]: warning: SASL: Connect to private/auth failed: No such file or directory
Mar 22 18:27:22 yoru-navi postfix/smtpd[15852]: fatal: no SASL authentication mechanisms
Mar 22 18:27:23 yoru-navi postfix/master[15639]: warning: process /usr/libexec/postfix/smtpd pid 15852 exit status 1
Mar 22 18:27:23 yoru-navi postfix/master[15639]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
■no SASL authentication mechanisms(SASLがない)???
SASLとは、コネクション・ベースのプロトコルに認証機能を付加する仕様。。らしい。
いろいろ調べたら cyrus-sasl ってのがあるらしい。
PostfixにSASLを付加するライブラリが、cyrus-sasl っでこと?
んじゃ、何が足りないか?
調査、ちょうさ...
# rpm -qa | grep cyrus-sasl
cyrus-sasl-devel-2.1.22-4
cyrus-sasl-2.1.22-4
cyrus-sasl-lib-2.1.22-4
本来は、こんなカンジ。。らしい...
# rpm -qa | grep cyrus-sasl
cyrus-sasl-devel-2.1.22-4
cyrus-sasl-2.1.22-4
cyrus-sasl-lib-2.1.22-4
cyrus-sasl-plain-2.1.22-4
cyrus-sasl-md5-2.1.22-4
あれ? 足りない!
cyrus-sasl-plain-2.1.22-4
cyrus-sasl-md5-2.1.22-4
インストールする。
yum install cyrus-sasl-plain
yum install cyrus-sasl-md5
その後、postfixを再コンパイルする必要がありそう...
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿