良くみる もので ”Relaying denied”というものが ある これを 調べるの には どうすべい ということ まあ 実例を 見た方が 早いべ
Jun 9 18:40:17 k599eG8s004529: ruleset=check_rcpt, arg1=<msgtrap2@gmail.com>, relay=[222.122.60.184], reject=550 5.7.1 <msgtrap2@gmail.com> ... Relaying denied. IP name lookup failed [222.122.60.184]
この場合 ruleset というものがあ り それは check_rcpt とい うことの ようである、さすれば sendmai.cf で この試験を する事 が 出来れば 同じ 回答が 変えって来ると 考えられるが、後の 使い かたは 良くわからないが やってなんぼと云う事で
arg1=<msgtrap2@gmail.com> を D{client_name} relay=[222.122.60.184] を D{client_addr} と考えて check_rcpt に <msgtrap2@gmail.com> を いれて 実験してみよう
今回は デバッグ オプション -d21.4 で 行ってみる
# /usr/sbin/sendmail -bt -d21.4 ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> # /usr/sbin/sendmail -bt -d21.4 ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> > .D{client_addr}222.122.60.184 > .D{client_name}gmail.com > check_rcpt msgtrap2@gmail.com check_rcpt input: msgtrap2 @ gmail . com -----skip subr Local_check_rcpt (185) rewritten as: msgtrap2 @ gmail . com $| msgtrap2 @ gmail . com Basic_check_rcpt input: msgtrap2 @ gmail . com rewrite: RHS $&{deliveryMode} => "i" rewritten as: < i > msgtrap2 @ gmail . com rewritten as: msgtrap2 @ gmail . com Rcpt_ok input: msgtrap2 @ gmail . com ParseRecipient input: msgtrap2 @ gmail . com CanonAddr input: msgtrap2 @ gmail . com canonify input: msgtrap2 @ gmail . com rewritten as: msgtrap2 @ gmail . com < @ > rewritten as: msgtrap2 @ gmail . com rewritten as: < msgtrap2 @ gmail . com > rewritten as: msgtrap2 @ gmail . com rewritten as: msgtrap2 < @ gmail . com > Canonify2 input: msgtrap2 < @ gmail . com > rewrite: RHS $&{daemon_flags} => "(NULL)" rewritten as: $| msgtrap2 < @ gmail . com > rewritten as: msgtrap2 < @ gmail . com . > Canonify2 returns: msgtrap2 < @ gmail . com . > rewritten as: msgtrap2 < @ gmail . com . > canonify returns: msgtrap2 < @ gmail . com . > Parse0 input: msgtrap2 < @ gmail . com . > rewritten as: < > msgtrap2 < @ gmail . com . > rewritten as: msgtrap2 < @ gmail . com . > Parse0 returns: msgtrap2 < @ gmail . com . > rewritten as: msgtrap2 < @ gmail . com . > CanonAddr returns: msgtrap2 < @ gmail . com . > rewritten as: < ? > msgtrap2 < @ gmail . com . > rewritten as: < ? > msgtrap2 < @ gmail . com > rewritten as: < ? > msgtrap2 < @ gmail . com > rewritten as: msgtrap2 < @ gmail . com > ParseRecipient returns: msgtrap2 < @ gmail . com > rewritten as: msgtrap2 < @ gmail . com > RelayTLS input: rewrite: RHS $&{verify} => "(NULL)" rewritten as: < ? > rewritten as: NO RelayTLS returns: NO rewritten as: msgtrap2 < @ gmail . com > $| NO rewritten as: msgtrap2 < @ gmail . com > rewrite: RHS $&{auth_type} => "(NULL)" -----skip subr Local_Relay_Auth (174) rewritten as: msgtrap2 < @ gmail . com > $| rewrite: RHS $&{auth_type} => "(NULL)" rewritten as: msgtrap2 < @ gmail . com > $| rewritten as: msgtrap2 < @ gmail . com > rewritten as: < ? > < msgtrap2 < @ gmail . com > > rewritten as: < ? > < msgtrap2 < @ gmail . com > > rewritten as: msgtrap2 < @ gmail . com > rewritten as: < ? > msgtrap2 < @ gmail . com > rewritten as: < REMOTE > msgtrap2 < @ gmail . com > rewritten as: msgtrap2 < @ gmail . com > Rcpt_ok returns: msgtrap2 < @ gmail . com > rewritten as: msgtrap2 @ gmail . com $| @ msgtrap2 < @ gmail . com > Relay_ok input: msgtrap2 @ gmail . com rewrite: RHS $&{client_addr} => "222.122.60.184" rewritten as: 222 . 122 . 60 . 184 A input: < 222 . 122 . 60 . 184 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > < ? > < + Connect > < 222 . 122 . 60 . 184 > A input: < 222 . 122 . 60 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 > < ? > < + Connect > < 222 . 122 . 60 . 184 > A input: < 222 . 122 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 > < ? > < + Connect > < 222 . 122 . 60 . 184 > A input: < 222 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 > < ? > < + Connect > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > A returns: < ? > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > A returns: < ? > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > A returns: < ? > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > A returns: < ? > < 222 . 122 . 60 . 184 > rewritten as: < ? > < 222 . 122 . 60 . 184 > rewritten as: 222 . 122 . 60 . 184 rewritten as: [ 222 . 122 . 60 . 184 ] rewrite: RHS $&{client_resolve} => "(NULL)" rewritten as: < > rewrite: RHS $&{client_name} => "gmail.com" rewritten as: < @ > gmail . com rewritten as: < ? > gmail . com . rewritten as: < ? > gmail . com rewritten as: < ? > < gmail . com > rewritten as: < ? > < gmail . com > rewritten as: gmail . com Relay_ok returns: gmail . com rewritten as: O $| gmail . com rewritten as: $# error $@ 5 . 7 . 1 $: "550 Relaying denied" Basic_check_rcpt returns: $# error $@ 5 . 7 . 1 $: "550 Relaying denied" rewritten as: $# error $@ 5 . 7 . 1 $: "550 Relaying denied" check_rcpt returns: $# error $@ 5 . 7 . 1 $: "550 Relaying denied"
表示結果は "550 Relaying denied" というものであるが
にゃんたろう 拝!
2006年 9月 7日 (木) 21:48:27 JST 作成