先日より、PostfixとDovecotを使用してメール環境整えようと作業を進めています。
そこで、認証にはSMTP-Auth設定 (sasldb2認証)を使用しているのですが、ユーザとパスワード設定したのち、
sasldblistusers2
を実行しましたが、しっかりとユーザを作成できているようでした。
/etc/sasldb2の所有グループもpostfixにしており、パーミッションも740に変更しました。
telnetで接続確認(telnet localhost 110)をし、上記で作成したユーザ名とパスワードを入れても認証に失敗します。
[root@centos ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
user panasonic
+OK
pass *********
-ERR Authentication failed.
Connection closed by foreign host.
ログメッセージ
Apr 3 11:42:53 centos52 dovecot: pop3-login: Aborted login: user=<cisco@centos.alhambr.mydns.jp>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
Apr 3 11:43:11 centos52 postfix/smtpd[1930]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Apr 3 11:43:11 centos52 postfix/smtpd[1930]: fatal: no SASL authentication mechanisms
Apr 3 11:43:12 centos52 postfix/master[1887]: warning: process /usr/libexec/postfix/smtpd pid 1930 exit status 1
Apr 3 11:43:12 centos52 postfix/master[1887]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 3 11:51:24 centos52 postfix/smtpd[1971]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
何が原因なのでしょうか。アドバイスお願い致します。
-環境-
postfix-2.3
dovecot-1.0
Centos5.4
No.1ベストアンサー
- 回答日時:
>何が原因なのでしょうか。
アドバイスお願い致します。dovecotの認証がsasldb2を見に行かないから。
もしかしたらPAMでsasldb2を見に行くようにできるのかも知れませんが…
# その場合は/etc/pam.d/dovecotを編集ですかね。
「PAM SASL」で検索すると、SMTP-Authの件しか見つからないのね……。
postfixのSMTP-Authで、Dovecot-SASLを使用するように変更できます。
# smtpd_sasl_type = dovecotで。
http://www.isokiti.tv/~isobetti/sabakan/index.ph …
とか参考になる…かと。
# 仮想環境でちょっと実験中…
No.2
- 回答日時:
saslでドメイン付きで普通に設定すると
ユーザ名は
panasonic
ではなく
panasonic@example.co.jp
の形になると思います。
sasldblistusers2の結果もそうなってないですか?
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・街中で見かけて「グッときた人」の思い出
- ・「一気に最後まで読んだ」本、教えて下さい!
- ・幼稚園時代「何組」でしたか?
- ・激凹みから立ち直る方法
- ・1つだけ過去を変えられるとしたら?
- ・【あるあるbot連動企画】あるあるbotに投稿したけど採用されなかったあるある募集
- ・【あるあるbot連動企画】フォロワー20万人のアカウントであなたのあるあるを披露してみませんか?
- ・映画のエンドロール観る派?観ない派?
- ・海外旅行から帰ってきたら、まず何を食べる?
- ・誕生日にもらった意外なもの
- ・天使と悪魔選手権
- ・ちょっと先の未来クイズ第2問
- ・【大喜利】【投稿~9/7】 ロボットの住む世界で流行ってる罰ゲームとは?
- ・推しミネラルウォーターはありますか?
- ・都道府県穴埋めゲーム
- ・この人頭いいなと思ったエピソード
- ・準・究極の選択
- ・ゆるやかでぃべーと タイムマシンを破壊すべきか。
- ・歩いた自慢大会
- ・許せない心理テスト
- ・字面がカッコいい英単語
- ・これ何て呼びますか Part2
- ・人生で一番思い出に残ってる靴
- ・ゆるやかでぃべーと すべての高校生はアルバイトをするべきだ。
- ・初めて自分の家と他人の家が違う、と意識した時
- ・単二電池
- ・チョコミントアイス
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
postfixでプララをリレーさせる...
-
Postfix で :include: ができない
-
Postfix 特定ユーザのみに例外...
-
Postfixで送信ができない
-
postfixのSMPT_AUTH設定
-
postfixで差出元の偽装
-
telnet mail-abuse.orgの結果に...
-
postfix smtpサーバーリレーがT...
-
自宅メールサーバについて
-
postfixでdocomoやyahooなどの...
-
Postfix+Dovecotで、Maildir形...
-
パスワード設定していないユー...
-
同一のホスト名で何か問題があ...
-
VirtualBoxのGuestマシンのネッ...
-
エラーメールで"too many hops"...
-
同じ独自ドメインを2つのサーバ...
-
DNSサーバを設定したのですがns...
-
”Tortoise SVN” と ”Subversio...
-
「DNSサーバーを自動的に取得す...
-
Real VNCが頻繁に切断されます
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
postfix smtpサーバーリレーがT...
-
Postfixで外部にメール送信がで...
-
telnetでポート110に繋がらない
-
postfixでdocomoやyahooなどの...
-
dovecotにてメールサーバーにて...
-
Postfix で :include: ができない
-
postfixとdovecotでメールサー...
-
メールの受信をトリガーとしてp...
-
ホワイトリストの設定
-
Postfix+mailmanでのメール送信
-
postfix:warning: damaged mess...
-
LDAP+Postfix(VirtualDomain)
-
動的IPのサーバでメール送信が...
-
postfixでユーザアカウントがな...
-
Postfix でアクセス制限をかけ...
-
Postfixの起動出来ない
-
Fedora16のdovecot設定は?
-
postfixで差出元の偽装
-
postfixでメールの受信ができま...
-
Postfixでの受信について
おすすめ情報