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

[postfix-jp:866] POP before SMTP の次はSMTP-AUTH



やっとPOP bofore SMTPができるようになったのですが、SMTP-AUTHがまだだめな
ようです。

/etc/mail/dracd.dbからIPアドレスがなくなったのを見計らってPOPの前にメー
ルを送信(認証付き)したのですが、はじかれてしまいました。

ログは次のとおりです。

ここから ===>
Jul  4 19:23:47 myserver postfix/smtpd[6095]: connect from
client.domain.name[XXX.XXX.XXX.XXX]
Jul  4 19:23:48 myserver postfix/smtpd[6095]: warning:
client.domain.name[XXX.XXX.XXX.XXX]: SASL LOGIN authentication failed
Jul  4 19:23:53 myserver postfix/smtpd[6095]: 48A211505:
client=client.domain.name[XXX.XXX.XXX.XXX]
Jul  4 19:23:53 myserver postfix/smtpd[6095]: reject: RCPT from
client.domain.name[XXX.XXX.XXX.XXX]: 554 <recip@xxxxxxxxxxxx>: Recipient
address
rejected: Relay access denied; from=<sender@xxxxxxxxx>to=<recip@xxxxxxxxxxxx>
Jul  4 19:23:53 myserver postfix/smtpd[6095]: warning: restriction `reject' aft
er `check_relay_domains' is ignored
Jul  4 19:23:59 myserver postfix/smtpd[6095]: disconnect from
client.domain.name[XXX.XXX.XXX.XXX]
<===ここまで

ただ単にloginに失敗しているように見えます。
でも、saslpasswdでアカウントは作ってあるのですが...

設定は次のとおりです。

ここから ===>
alias_database = hash:/etc/postfix/aliases,
            hash:/var/spool/ml/etc/aliases
alias_maps = hash:/etc/postfix/aliases
allow_mail_to_commands = alias,forward,include
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = 自ドメイン名
myhostname = smtpサーバー名
mynetworks = 192.168.1.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
queue_directory = /var/spool/postfix
relay_domains = $mynetworks
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_client_restrictions = permit_mynetworks,
	permit_sasl_authenticated,
	check_client_access hash:/etc/mail/dracd,
	check_client_access hash:/etc/postfix/reject_access_map,
	permit
smtpd_recipient_restrictions = permit_sasl_authenticated,
	check_client_access hash:/etc/mail/dracd,
	permit_mynetworks,
	check_relay_domains,
	reject
smtpd_sasl_auth_enable = yes
<===ここまで

よろしくお願いします。
====================================================
 蛯澤 隆幸(Ebisawa, Takayuki)

 E-Mail      : ebisawa@xxxxxxxxxxxx
 Niftyserve : PEE03041(takayuki.ebisawa@xxxxxxxxxxx)
====================================================

Follow-Ups
[postfix-jp:870] Re: POP before SMTP の次はSMTP-AUTH, IKEDA Nozomu
[postfix-jp:873] Re: POP before SMTP の次はSMTP-AUTH, SASAKI Katuhiro
[postfix-jp:874] Re: POP before SMTP の次はSMTP-AUTH, Noriyuki Hayashi

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