Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MASQUERADE_AS() and canonicalizing received from:

1 view
Skip to first unread message

Yasushi Shinjo

unread,
Aug 10, 2004, 3:04:05 PM8/10/04
to
新城@筑波大学情報です。こんにちは。

sendmail の MASQUERADE_AS() って、なぜ受信メールの From: を
書き換えるのでしょうか。この動作を抑止したいのですが、手はな
いでしょうか。

cf/README には、次のような記述があります。

+---------------------------+
| MASQUERADING AND RELAYING |
+---------------------------+

You can have your host masquerade as another using

MASQUERADE_AS(`host.domain')

This causes mail being sent to be labeled as coming from the
indicated host.domain, rather than $j. One normally masquerades as
one of one's own subdomains (for example, it's unlikely that
Berkeley would choose to masquerade as an MIT site). This
behaviour is modified by a plethora of FEATUREs; in particular, see
masquerade_envelope, allmasquerade, limited_masquerade, and
masquerade_entire_domain.

The masquerade name is not normally canonified, so it is important
that it be your One True Name, that is, fully qualified and not a
CNAME. However, if you use a CNAME, the receiving side may canonify
it for you, so don't think you can cheat CNAME mapping this way.

最後の CNAME の所の意味がよくわかりません。CNAME でも別に
canonify しないでそのまま受け取って欲しいんだけど。

From: がいくつか許されているホストで、これを使うと受信時に全
部1つに統一されてしまいます。cc: 等で自分宛てに送った From:
も書き得得られので、本来の To: の人が見える From: と自分のコ
ピーの From: が食い違うということになってしまいます。

発進時にだけ標準の From: になればいいんだけれど。submit.cf
でなんとかしろという話なんですかね。

\\ 新城 靖 (しんじょう やすし) \\
\\ 筑波大学 電子・情報       \\

0 new messages