Newsgroups: comp.sys.sgi
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!theory.tn.cornell.edu!hargrove
From: hargrove@theory.tn.cornell.edu (Paul H. Hargrove)
Subject: Re: Sendmail, a question on Forwarding host
Message-ID: <1991Apr11.002545.13234@batcomputer.tn.cornell.edu>
Keywords: sendmail.cf forwarding alzheimers
Sender: news@batcomputer.tn.cornell.edu
Nntp-Posting-Host: theory.tn.cornell.edu
Organization: Cornell University
References: <3591@lamont.ldgo.columbia.edu>
Date: Thu, 11 Apr 1991 00:25:45 GMT

In article <3591@lamont.ldgo.columbia.edu> dale@lamont.ldgo.columbia.edu (dale chayes) writes:
>
>I have discovered that occasionaly my local sendmail configuration is
>causing problems at my "forwarding host" by creating an odd address.
>So I poked around with sendmail -v and observed a bit of (what seems
>to me to be) strange behavior shown in the example below.
>
>hp8c is an unknown host, 
>lamont is my "forwarding host"  from the DF & CF macros in sendmail.cf

Dale expects sendmail to change 'dan@hp8c.nrl.navy.mil' into
>dan%hp8c.nrl.navy.mil@lamont.ldgo.columbia.edu
>
>but instead, it creates [...]
>[...] <@lamont.ldgo.columbia.edu:dan@hp8c.nrl.navy.mil>

Well, believe it or not, Dale, this is the correct result.
This address means send the mail to dan@hp8c.nrl.mil via
the host lamont.ldgo.columbia.edu which is just what you
told it to do when you defined lamont as your forwarding
host.

If the mail is not being delivered for some reason, it is
not because of this line (unless lamont is not recognizing
it correctly).

Dale's confusion at this result is not uncommon.  It was actually
expected, as the following excerpt from RFC 821, which defines the
SMTP, shows:

>August 1982                                                      RFC 821
>Simple Mail Transfer Protocol                                           
>
>
>
>   3.6.  RELAYING
>
>      The forward-path may be a source route of the form
>      "@ONE,@TWO:JOE@THREE", where ONE, TWO, and THREE are hosts.  This
>      form is used to emphasize the distinction between an address and a
>      route.  The mailbox is an absolute address, and the route is
>      information about how to get there.  The two concepts should not
>      be confused.                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ^^^^^^^^^^^
For clarification 'forward-path' refers to the recipient (from a To:,
Cc:, or Bcc: line) as opposed to the 'reverse-path' which is the From:
line on the transmitted message.  It does not relate directly to the
kind of forwarding we're concerned with here.

In Dale's case  lamont is a relay host (a forwarding host) so the mailer
on his IRIS sends the mail to the unknown machine (hp8c.nrl.navy.mil) to
lamont using the syntax above.

The result is equivalent to what Dale had expected (which would also
do the job.)

                          _          _   _
Paul Hargrove            /_)__      //   /_/ __  __  __  __  ___     _
6110 Cascadilla Hall    /  (_/_/_/_|/_  /\/ (_/_/ /_(_/_/ /_(_) |_/_|/_
Cornell University                                   /
Ithaca, NY 14853-2301     (607) 253-7870           (/
