--> -->
#blog2navi() *Postfix+SMTP AUTHのsasldbではまった話 [#jf8a3d3c] CentOS7です。~ Postfix+SMTP AUTHで何故かはまったのでメモ。~ 参考[[ページ:https://centossrv.com/postfix.shtml]]の通りに設定するも、何故かport25にログインできない。 [[参考ページ:https://centossrv.com/postfix.shtml]]の通りに設定するも、何故かport25にログインできない。 $ telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. Connection closed by foreign host. /etc/postfix/main.cf、/etc/postfix/main.cfの設定を元に戻してsasldbを使わないようにすると問題ない。~ /var/log/messagesを見ると以下のようなログが出ている。~ postfix/smtpd[27568]: connect from localhost[127.0.0.1] postfix/smtpd[27568]: warning: SASL authentication failure: Internal Error -4 in server.c near line 1757 postfix/smtpd[27568]: warning: SASL authentication failure: Internal Error -4 in server.c near line 1757 postfix/smtpd[27568]: warning: SASL authentication failure: Internal Error -4 in server.c near line 1757 postfix/smtpd[27568]: warning: xsasl_cyrus_server_get_mechanism_list: no mechanism available postfix/smtpd[27568]: fatal: no SASL authentication mechanisms postfix/master[27564]: warning: process /usr/libexec/postfix/smtpd pid 27568 exit status 1 postfix/master[27564]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling 何度も設定をやりなおしたり、saslauthdじゃなくてauxpropにしてみたり、cyrus-saslを削除してinstallしなおしてみたりしても同じ。半日ぐらい試行錯誤して、改めてググってみるとまさにドンピシャの記事があった。orz~ ~ https://serverfault.com/questions/618229/postfix-on-centos-7-cannot-authenticate-against-cyrus-saslauthd~ ~ 結論から言うと、以下が必要らしい。デフォルトでは入っていない? さくらのクラウドだから? $ sudo yum install cyrus-sasl-plain これだけで直りました。ありがとう、皆さん。 #htmlinsert(twitterbutton.html) RIGHT:Category: [[[Linux>日記/Category/Linux]]] - 17:49:50 ---- RIGHT:&blog2trackback(); #comment(above) #blog2navi()