[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postfix-jp: 549] SMTP-AUTH認証で認証失敗してしまいます。



今回はじめて投稿させていただきます、森下と申します。よろしくお願いいたし
ます。

件名の通り、SMTP-AUTH認証についてご助言いただけないでしょうか。
このMLでも何度も投稿されている話題ですが、どうしても解決できなくて皆様の
ご助言をいただければと思いまして投稿させていただきました。

環境
TurboLinux8server
Postfix-2.1.0
cyrus-sasl-1.5.27-3

postfixは以下のようにインストールしました
make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/include"
AUXLIBS="-L/usr/lib -lsasl"
make
make install

SMTP-AUTHを使用しない時は、正常にメールの送受信が可能です。

/etc/postfix/main.cfに以下の設定を追加
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, reject
broken_sasl_auth_clients = yes

/usr/lib/sasl/smtpd.confを作成し、以下を記述
pwcheck_method: PAM

以上の設定でOutlookExpressよりメールの送信を試みましたが、ユーザー認証の
ダイアログがでてきて、正しいユーザーとパスワードを入力しても認証が通りま
せん。

以下がそのときのログです。(時刻の部分は省きました)
connection established
master_notify: status 0
name_mask: resource
name_mask: software
name_mask: noanonymous
connect from unknown[192.168.2.157]
match_list_match: unknown: no match
match_list_match: 192.168.2.157: no match
match_list_match: unknown: no match
match_list_match: 192.168.2.157: no match
> unknown[192.168.2.157]: 220 chika.hokko.com ESMTP Postfix
watchdog_pat: 0x808a0d0
< unknown[192.168.2.157]: EHLO yoshino
> unknown[192.168.2.157]: 250-chika.hokko.com
> unknown[192.168.2.157]: 250-PIPELINING
> unknown[192.168.2.157]: 250-SIZE 10240000
> unknown[192.168.2.157]: 250-VRFY
> unknown[192.168.2.157]: 250-ETRN
> unknown[192.168.2.157]: 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
> unknown[192.168.2.157]: 250-AUTH=PLAIN LOGIN DIGEST-MD5 CRAM-MD5
match_list_match: unknown: no match
match_list_match: 192.168.2.157: no match
> unknown[192.168.2.157]: 250 8BITMIME
watchdog_pat: 0x808a0d0
< unknown[192.168.2.157]: AUTH LOGIN
smtpd_sasl_authenticate: sasl_method LOGIN
smtpd_sasl_authenticate: uncoded challenge: Username:
> unknown[192.168.2.157]: 334 VXNlc****WU6
< unknown[192.168.2.157]: dC1tb3Jpc****GE=
smtpd_sasl_authenticate: decoded response: t-morishita
smtpd_sasl_authenticate: uncoded challenge: Password:
> unknown[192.168.2.157]: 334 UGF****vcmQ6
< unknown[192.168.2.157]: cEExZ****Hk=
smtpd_sasl_authenticate: decoded response: ********
warning: unknown[192.168.2.157]: SASL LOGIN authentication failed
> unknown[192.168.2.157]: 535 Error: authentication failed
watchdog_pat: 0x808a0d0
smtp_get: EOF
lost connection after AUTH from unknown[192.168.2.157]
disconnect from unknown[192.168.2.157]
master_notify: status 1
connection closed
watchdog_stop: 0x808a0d0
watchdog_start: 0x808a0d0
proxymap stream disconnect
watchdog_stop: 0x808a0d0
watchdog_start: 0x808a0d0
idle timeout -- exiting

	以前に一度同じような環境&設定でSMTP-AUTHができることを確認しました。
そのときに残した資料をもとに、再構築しているのですが、どうやら記述漏れが
あったようでうまくいきません。自分で作った資料だけに情けないです。

何かお気づきの点がございましたら、どうぞご助言いただければ幸いです。
よろしくお願いいたします。

-- 
株式会社 ホッコーシステムサポート
 森下尊生
Morishita Takao <t-morishita@xxxxxxxxxxxxxxxx>

_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list


[検索ページ] [Postfix-JP ML Home]