Newsgroups: vmsnet.mail.pmdf
Subject: RE: Help needed with setting up the 'd' channel
From: John Mann <john.mann@cc.monash.edu.au>
Date: 18 Nov 1992 04:21:30 +1100
Organization: The Internet
Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
Resent-Date: 18 Nov 1992 04:21:30 +1100
Resent-From: epmdf@YMIR.CLAREMONT.EDU
CC: ipmdf@YMIR.CLAREMONT.EDU
Errors-To: epmdf@YMIR.CLAREMONT.EDU
Resent-Message-ID: <01GR94JMN2368ZHOWC@YMIR.CLAREMONT.EDU>
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

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