[mew-dist 21093] Re: smtp helo の ホスト名の警告メッセージについて
Masachika ISHIZUKA
ishizuka at example.com
2002年 7月 2日 (火) 19:45:45 JST
>> sendmail 8.12.4 辺りから、smtp helo/ehlo で名乗る FQDN が正し
>> くない場合、sendmail.cf の「O PrivacyOptions」に「authwarnings」
>> が含まれていると
>> X-Authentication-Warning: onion.ish.org:
>> Host ishizuka at example.com [210.145.219.202] claimed to be hoge.hoge
>> 的な警告メッセージが表示されるようになりましたが、
>
> とりあえず、localhost と名乗るという技が使えると思います。
中村様
石塚@杉並です。
メールありがとうございます。
こちらの設定ミスかもしれませんが、
------------
radish.ish.org[42]_% telnet -6 onion.ish.org smtp
Trying 2001:218:47e:0:220:18ff:fe58:e71d...
Connected to onion.ish.org.
Escape character is '^]'.
220 onion.ish.org ESMTP Sendmail 8.12.5/8.12.5/2002-06-28; Tue, 2 Jul 2002 19:37:55 +0900 (JST)
ehlo localhost
250-onion.ish.org Hello radish.ish.org [IPv6:2001:218:47e:0:200:86ff:fe11:7c26], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 5242880
250-DELIVERBY
250 HELP
mail from: ishizuka at example.com
250 2.1.0 ishizuka at example.com Sender ok
rcpt to: ishizuka at example.com
250 2.1.5 ishizuka at example.com Recipient ok
data
354 Enter mail, end with "." on a line by itself
From: ishizuka at example.com
To: ishizuka at example.com
Subject: test
test
.
250 2.0.0 g62Abt7s019863 Message accepted for delivery
quit
------------------
と行うと、届いたメールは
------------------
Return-Path: <ishizuka at example.com>
Received: from localhost (radish.ish.org [IPv6:2001:218:47e:0:200:86ff:fe11:7c26])
by onion.ish.org (8.12.5/8.12.5/2002-06-28) with ESMTP id g62Abt7s019863
for ishizuka at example.com; Tue, 2 Jul 2002 19:38:15 +0900 (JST)
(envelope-from ishizuka at example.com)
Message-Id: <200207021038.g62Abt7s019863 at example.com>
X-Authentication-Warning: onion.ish.org: Host radish.ish.org [IPv6:2001:218:47e:0:200:86ff:fe11:7c26] claimed to be localhost
Subject: test
From: Masachika ISHIZUKA <ishizuka at example.com>
To: ishizuka at example.com
Date: Tue, 2 Jul 2002 19:37:55 +0900 (JST)
test
------------------
というように、X-Authentication-Warning: ヘッダが付加されます。
実際、onion.ish.org からみたら radish.ish.org は localhost
ではないので警告されるのは当然かと思っていたのですが、FQDN が
不詳な場合には localhost と名乗れば良いという約束ごとがあるの
でしょうか。
ちなみに config.mc は以下のとおりです。
------------------
divert(-1)
#
# This configuration is onion.ish.org
#
divert(0)dnl
VERSIONID(`$Id: config.mc,v 1.17 2002/06/22 07:35:45 ishizuka Exp $')
OSTYPE(bsd4.4)dnl
DOMAIN(generic)dnl
FEATURE(`local_lmtp')
FEATURE(`access_db')dnl
FEATURE(`masquerade_envelope')
FEATURE(`use_ct_file')
FEATURE(`accept_unresolvable_domains')
MAILER(local)dnl
MAILER(smtp)dnl
define(`confMAX_MESSAGE_SIZE', `5242880')dnl
ifdef(`unix', `dnl
ifdef(`TEMPFILE2', `dnl', `define(`TEMPFILE2', maketemp(/tmp/cfXXXXXX))dnl
syscmd(`date +define\(confCF_VERSION,\ %Y-%m-%d\)' > TEMPFILE2)dnl
include(TEMPFILE2)dnl
syscmd(rm -f TEMPFILE2)dnl')', `dnl')
Dmish.org
Cw ish.org onion.ish.org www.ish.org ftp.ish.org mail.ish.org
Cw pumpkin.ish.org radish.ish.org potato.ish.org cabbage.ish.org
Cw carrot.ish.org cucumber.ish.org parsley.ish.org okra.ish.org
Cw onion2.ish.org pumpkin2.ish.org radish2.ish.org radish3.ish.org
Cw okra2.ish.org ns1.ish.org ns2.ish.org ns3.ish.org ns4.ish.org
Cw v6.ish.org onion.v6.ish.org gw.v6.ish.org mail.v6.ish.org www.v6.ish.org
Cw ftp.v6.ish.org news.v6.ish.org ns2.v6.ish.org mail2.v6.ish.org
Cw ntp.v6.ish.org
Cw pumpkin.v6.ish.org
Cw ish.jp onion.ish.jp pumpkin.ish.jp radish.ish.jp okra.ish.jp
Cw www.ish.jp ftp.ish.jp mail.ish.jp
EXPOSED_USER(`daemon news usenet postmaster')
EXPOSED_USER(`MAILER-DAEMON')
define(`confPRIVACY_FLAGS', `needmailhelo needexpnhelo noexpn needvrfyhelo noreceipts authwarnings noetrn noverb')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
MASQUERADE_AS(`ish.org')
define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/aliases.majordomo')
DAEMON_OPTIONS(`Name=MTA-v4, Family=inet')
DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6')
LOCAL_RULESETS
HContent-Type: $>Check_nimda_header
D{NimdaPat}multipart/related; type=\"multipart/alternative\"; boundary=\"====_ABC1234567890DEF_====\"
SCheck_nimda_header
R${NimdaPat} $* $#discard $: discard
---------------------
Mew-dist メーリングリストの案内