Errors-to: epmdf@YMIR.BITNET
X-Envelope-to: PMDF-L@IRLEARN.BITNET
X-VMS-To: IN%"MAHENDRA@Meena.CC.URegina.CA"
X-VMS-Cc: IN%"ipmdf@YMIR.CLAREMONT.EDU",JOHNM
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Date:         Wed, 18 Nov 92 04:21:30 +1100
From:         John Mann <John.Mann@CC.MONASH.EDU.AU>
Subject:      RE: Help needed with setting up the 'd' channel
Newsgroups: bit.listserv.pmdf-l

mahendra,

>     We have a few VAXstations on our LAVC that do not run PMDF. Internet
>     mail to these systems are forwarded by the PMDF host
>     Meena.CC.URegina.CA using the decnet channel as follows:
>
> !
> ! Rewrite rules for the D (MAIL-11) channel
> !
> ponna                   $U%ponna@DECNET-MAIL
> regie1                  $U%regie1@DECNET-MAIL
> regie2                  $U%regie2@DECNET-MAIL
> Lang                    $U%Lang@DECNET-MAIL
>
> d 733 nox_env_to header_733
> DECNET-MAIL
> ponna           ponna
> regie1          regie1
> regie2          regie2
> Lang            Lang
>
>    The trouble with this is that on all out-going mail from these
>    systems, the From: field shows up as just user@host (e.g.
>    User@Lang) which is not replyable. What we would like to have is
>    the From: address to be User%Lang@Meena.CC.URegina.CA. Please
>    explain how this can be accomplished?

I think that rather than have the From: address be something like
"User%Lang@Meena.CC.URegina.CA", it is much nicer to have the From:
address be something like "User@Lang.CC.URegina.CA".  Then it doesn't
matter to outside people whether these LAVc nodes run PMDF or not, or
whether "Meena" stays being the gateway machine or not -- people won't
have to change entries in mailing lists etc. ...

Example PMDF.CNF lines:
--------------------------------
! Address re-writes
! expand local node names to full domain names
ponna                   $U%$D.CC.URegina.CA
regie1                  $U%$D.CC.URegina.CA
regie2                  $U%$D.CC.URegina.CA
Lang                    $U%$D.CC.URegina.CA
!
! Routing re-writes
! send mail to LAVc noes using DECnet channel
ponna.CC.URegina.CA     $U%$D@DECNET-MAIL
regie1.CC.URegina.CA    $U%$D@DECNET-MAIL
regie2.CC.URegina.CA    $U%$D@DECNET-MAIL
Lang.CC.URegina.CA      $U%$D@DECNET-MAIL

d 733 logging nox_env_to linelength 255
DECNET-MAIL
--------------------------------

Then have the person who maintains your Domain Naming System files setup
some MX records for "ponna.CC.URegina.CA" etc. to have mail for them
routed to "Meena.CC.URegina.C" .

Example lines for the CC.URegina.CA DNS zone file:
--------------------------------
ponna   IN      MX  10  Meena.CC.URegina.CA.
regie1  IN      MX  10  Meena.CC.URegina.CA.
regie2  IN      MX  10  Meena.CC.URegina.CA.
Lang    IN      MX  10  Meena.CC.URegina.CA.
--------------------------------

As always, check any setup you decide on using e.g.
$ PMDF TEST/REWRITE user@Lang
$ PMDF TEST/REWRITE user@Lang.CC.URegina.CA

        John
--
John Mann
Communications and Networking Group  Net: John.Mann@cc.monash.edu.au
Computer Centre, Monash University   Tel: +61 3 565 4774
Clayton, Victoria 3168, Australia    Fax: +61 3 565 4746
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU