[bit.listserv.pmdf-l] configuring a getway

MIKE@CISCO.NOSC.MIL (02/03/90)

        I give up! After RTFMing for a while and flubbing around I'm turning
to the experts. I'm trying to add a gateway to my configuration so instead
of mailing to:

        in%"user%host.bitnet@cunyvm.cuny.edu"

a user can just use:

        in%"user@host.bitnet"

According to the documentation, I add the following channel block:

ctcp_gateway smtp daemon router
CUNYVM.CUNY.EDU

and the re-write rule:

.bitnet         $U%$H.bitnet@ctcp_gateway

PMDF gives me an error when parsing the in%" ... " at the SEND in mail,
illegal host/domain specified.

        Any help greatly appreciated, please mail directly as I don't get
this list. System details: VMS 5.1, PMDF 3.0, CMU TCP/IP 6.4.


Here's my current configuration:

-------------------------- PMDF.CNF -----------------
! us
cisco           $U@cisco.nosc.mil
cisco.nosc.mil  $U@cisco.nosc.mil
!
! Top level domains
.arpa         $U%$H.arpa@CTCP-DAEMON
.edu          $U%$H.edu@CTCP-DAEMON
.com          $U%$H.com@CTCP-DAEMON
.mil          $U%$H.mil@CTCP-DAEMON
.gov          $U%$H.gov@CTCP-DAEMON
.org          $U%$H.org@CTCP-DAEMON
.net          $U%$H.net@CTCP-DAEMON
! US Domain
.us           $U%$H.us@CTCP-DAEMON
! United Kingdom
.uk           $U%$H.uk@CTCP-DAEMON
! Norway
.no           $U%$H.no@CTCP-DAEMON
! Sweden
.se           $U%$H.se@CTCP-DAEMON
! Finland
.fi           $U%$H.fi@CTCP-DAEMON
! Canada
.ca           $U%$H.ca@CTCP-DAEMON
! Australia
.au           $U%$H.au@CTCP-DAEMON
! Belgium
.be           $U%$H.be@CTCP-DAEMON
! NOSC domain
nosc          $U%nosc.mil@CTCP-DAEMON
! local (NOSC) hosts
cod           $U%cod.nosc.mil@CTCP-DAEMON
trout         $U%trout.nosc.mil@CTCP-DAEMON
marlin        $U%marlin.nosc.mil@CTCP-DAEMON
manta         $U%manta.nosc.mil@CTCP-DAEMON
tecr          $U%nosc-tecr.arpa@CTCP-DAEMON

l 822 bidirectional
cisco.nosc.mil

ctcp_local single_sys smtp slave_debug
CTCP-DAEMON
--------------------------------------

                                Thanks, Mike



*******************************************************************************
*   IIIII RRR  IIIII  EEEEE             Mike Pawka                            *
*     I   R  R   I    E                 Systems Programmer Inna Babylon       *
*     I   R  R   I    EEE               Naval Ocean Systems Center            *
*     I   RRR    I    E                 San Diego, CA 92152                   *
*     I   R R    I    E                 Internet: mike@cisco.nosc.mil         *
*   IIIII R  R IIIII  EEEEE             Alternate: pawka@nosc-tecr.arpa       *
*******************************************************************************

NED@HMCVAX.CLAREMONT.EDU (Ned Freed, Postmaster) (02/05/90)

Mike Pawka writes:

>       I give up! After RTFMing for a while and flubbing around I'm turning
> to the experts. I'm trying to add a gateway to my configuration so instead
> of mailing to:

>       in%"user%host.bitnet@cunyvm.cuny.edu"

> a user can just use:

>       in%"user@host.bitnet"

> According to the documentation, I add the following channel block:

> ctcp_gateway smtp daemon router
> CUNYVM.CUNY.EDU

> and the re-write rule:

> .bitnet               $U%$H.bitnet@ctcp_gateway

> PMDF gives me an error when parsing the in%" ... " at the SEND in mail,
> illegal host/domain specified.

>       Any help greatly appreciated, please mail directly as I don't get
> this list. System details: VMS 5.1, PMDF 3.0, CMU TCP/IP 6.4.

The problem is you need a rewrite rule for the .bitnet domain:

    .bitnet      $U%$H$D@CUNYVM.CUNY.EDU

alternatively, you can avoid the extra channel entirely by using a rewrite
rule of the form

    .bitnet      $U@$H$D@CUNYVM.CUNY.EDU@CTCP-DAEMON

This type of rule is not documented in 3.0, but it does work.

                                Ned