戻る

sendmail -d0.1 -bt ;SMTPDEBUG

未調査

$  /usr/sbin/sendmail -d0.1 -bt </dev/null
Version 8.14.1
 Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SCANF USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = sv
  (canonical domain name) $j = sv.bcnet.ne.jp
         (subdomain name) $m = bcnet.ne.jp
              (node name) $k = sv
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
========================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
以下は正常な結果
========================
$ telnet 192.168.0.9 25
Trying 192.168.0.9...
Connected to 192.168.0.9.
Escape character is '^]'.
220 sv.bcnet.ne.jp ESMTP Sendmail 8.14.1/8.14.1; Sat, 3 Nov 2007 21:27:13 +0900
debug
500 5.5.1 Command unrecognized: "debug" /* 200 Command Debug set */
quit
221 2.0.0 sv.bcnet.ne.jp closing connection
Connection closed by foreign host.
==========================
/* 200 Command Debug set */ の 応答であれば 不都合  SMTPDEBUG が 有効
これはあくまで 試験する場合に 別に定義しないと いけない

何か加工すると 良いかもしれません。

にゃんたろう 拝!

2007年12月 4日 (火) 23:13:42 JST 作成


戻る

Copyright © 2007. nyantarou All Rights Reserved.