Postfixの設定メモ

Postfixをインストールしたが、メールが送信できない。下記のようなエラーがでる。

Mar 28 22:04:43 yas65 postfix/smtpd[15275]: fatal: no SASL authentication mechanisms
Mar 28 22:04:44 yas65 postfix/master[15255]: warning: process /usr/libexec/postfix/smtpd pid 15275 exit status 1
Mar 28 22:04:44 yas65 postfix/master[15255]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

いろいろ調べると、どうやらモジュールが足りないよう
下記二つをインストールすると、動作するようになった。

yum install cyrus-sasl-plain
yum install cyrus-sasl-md5