Errors-to: epmdf@YMIR.BITNET
X-Envelope-to: PMDF-L@IRLEARN.BITNET
X-VMS-To: IN%"gdha@se.alcbel.be"
X-VMS-Cc: IPMDF
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Date:         Wed, 29 Jul 92 19:48:36 GMT
From:         "Daniel C. Newman" <DAN@HMCVAX.CLAREMONT.EDU>
Subject:      RE: Remote DECnet nodes using PMDF
X-To:         gdha@se.alcbel.be, INFO-PMDF@YMIR
Newsgroups: bit.listserv.pmdf-l


> On the VMS system BTGV78  PMDF is running, and a remote VMS system, e.g. BTGV4
   8
> is using PMDF remotely (via the logical IN -> BTGV78::IN%).
> Now the problem is that I want BTGV48 be renamed to "ee2", so that all mails
> which are send from these VMS systems are treated as they were send from
> the local system (ee2), in this case BTGV78.
> Now the destiny user sees as sender something like "user@BTGV48.alcbel.be".
> The ".alcbel.be" is appended by our SUN backbone. What I want to see is
> simply "user@ee2.alcbel.be". This will NOT cause any problem for a reply,
> because on system "ee2" (=BTGV78) all users are know through aliases.
> I included the configuration file, althought, I skipped some rewrite rules of
> local machines.

Well, you haven't supplied enough information for me to know what your
rewrite rules should really look like (and there's some confusing things
in what you sent).  Thus, what I've included below does what I think you
want....

I've used $R's to differentiate between forward and reverse pointing
addresses.  These rules will cause reverse pointing addresses (From:, Cc:,
etc.) to be written as user@ee2.alcbel.be while leaving forward pointing
addresses (e.g, To: user@BTGV78) untouched.

I also couldn't resist rewriting ee2 to it's fully qualified domain name,
ee2.alcbel.be.  You may have sound reasons for not doing this (e.g., your
Sun gateway will blindly append .alcbel.be and thereby generate the bogus
address user@ee2.alcbel.be.alcbel.be.)

Dan

--------------------------------------------------------------------

! PMDF.CNF - PMDF configuration file for ee2.
! Written by SYSTEM, 13-APR-1992 18:06
! This file was created by the PMDF configuration generator.
!
! Rewrite rules for the local host/cluster
!
! Mailserver is BTGV78 (VAX/VMS)
ee2                                     $U@ee2.alcbel.be
ee2.alcbel.be                           $U@ee2.alcbel.be
!
BTGV78                                  $U@ee2.alcbel.be
BTGV78.alcbel.be                        $U@ee2.alcbel.be
!
BTGV48                                  $U@ee2.alcbel.be$R
BTGV48.alcbel.be                        $U@ee2.alcbel.be$R
BTGV48                                  $U@BTGV48
BTGV48.alcbel.be                        $U@BTGV48
!
BTMVG9                                  $U@ee2.alcbel.be$R
BTMVG9.alcbel.be                        $U@ee2.alcbel.be$R
BTMVG9                                  $U@BTMVG9
BTMVG9.alcbel.be                        $U@BTMVG9
!
!....skipped over a lot
btkp42                                  $U@btkp12
btkp42.alcbel.be                        $U@btkp12
!
alcbel                                  $U%$H@UTCP-DAEMON
!
! Rewrite rules for TCP/IP domain literals
!
[138.203.224.52]                        $U@ee2.alcbel.be
[]                                      $U%[$L]@UTCP-DAEMON
!
! Match all rule (send unknown addresses to the backbone "alcbel")
! All internet addresses will go to the backbone.
!
                                       $U%$H@alcbel

l nox_env_to
ee2.alcbel.be

d 733 nox_env_to
DECNET-MAIL
btgv48                                  btgv48
btmvg9                                  btmvg9

utcp_local single_sys smtp nox_env_to nomx logging
UTCP-DAEMON
btkp12                                  BTKP12

utcp_gateway smtp daemon router
alcbel
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU