Errors-to: epmdf@YMIR.BITNET
X-Envelope-to: PMDF-L@IRLEARN.BITNET
X-VMS-To: IPMDF
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Date:         Wed, 22 Jul 92 19:46:41 GMT
From:         "Daniel C. Newman" <DAN@HMCVAX.CLAREMONT.EDU>
Subject:      RE: Configuration problem with PMDF V4.1
X-To:         INFO-PMDF@YMIR
Newsgroups: bit.listserv.pmdf-l

> We've just installed PMDF 4.1 here and I decided to have at the automatic
> configuration generator to streamline our somewhat cumbersome old config file.
> First some details:  We have a cluster consisting of nodes CSG, KRDC, COMMS1
> and WORD1 of which only CSG has Multinet TCP/IP on it.
> We have another node, INTNET, which also has Multinet on it which is our
> security "firewall" out to the Internet.
> What we want is to have CSG do direct mail delivery to any Unix box on our
> network (.INT.ALCAN.CA), including being able to send to the "shortform"
> address, e.g. user@node.
> Anything else should go to INTNET via our MTCP-INTNET channel (other than
> Decnet stuff).
> As this message indicates, we're having problems doing this.  I've attached a
> TEST/REWRITE output of a Unix box on our network.  Following that is a chunk
> of our PMDF.TEST config file.
>
> What have I screwed up?  :-)

Everything was correct in your PMDF.CNF.  The output from PMDF MMTEST which you
show does not correlate with the PMDF.CNF file you sent us.  There was nothing
in it which would produce user@fermi.bitnet (mtcp_intnet channel) from
user@fermi.  I suspect that you have one or more of the following lying around:
a compiled configuration, a domain database, or a general database which is
interfering with the rewriting process.  Note that there is a BITNET system
named FERMI which is found in the DOMAIN.DAT file for most BITNET PMDF sites.
This would be mapped to FERMI.BITNET and then your .BITNET rule in your
PMDF.CNF file sends this to your mtcp_intnet channel...

Try using the command

    $ pmdf mmtest/noimage/databases=(nodomain,nogeneral)/config_file=pmdf.tst -
    _$   user@fermi

and then see what happens.

I've modified your PMDF.CNF slightly and included it below.  We recommend that
you use

   mtcp_intnet smtp daemon router nox_env_to queue csg$pmdf

for TCP/IP gateway channels.  Because of a bug in early PMDF V4.1 tapes, I've
remove the "charset7 us-ascii" from your channels.  This is the default
setting, anyhow.  Finally, I've removed the long list of Internet rules and
added a match all rule to send all non-local traffic to your gateway.

Dan

!-------------------------------------------------------------------------------
! PMDF.CNF - PMDF configuration file for CSG.INT.ALCAN.CA.
! Written by ACCESS, 20-JUL-1992 17:08
! This file was created by the PMDF configuration generator.
!
! Rewrite rules for the local host/VAXcluster
!
COMMS1                                  $U@CSG.INT.ALCAN.CA
COMMS1.INT.ALCAN.CA                     $U@CSG.INT.ALCAN.CA
CSG                                     $U@CSG.INT.ALCAN.CA
CSG.INT.ALCAN.CA                        $U@CSG.INT.ALCAN.CA
KRDC                                    $U@CSG.INT.ALCAN.CA
KRDC.INT.ALCAN.CA                       $U@CSG.INT.ALCAN.CA
WORD1                                   $U@CSG.INT.ALCAN.CA
WORD1.INT.ALCAN.CA                      $U@CSG.INT.ALCAN.CA
!
! Rule for old NETNORTH address
!
ALCANKTN                                $U@CSG.INT.ALCAN.CA
ALCANKTN.BITNET                         $U@CSG.INT.ALCAN.CA
!
! Rewrite rules for the D (MAIL-11) channel
!
ARDC.INT.ALCAN.CA                       $U@ARDC.INT.ALCAN.CA
TITAN                                   $U@ARDC.INT.ALCAN.CA
BRAGG.INT.ALCAN.CA                      $U@BRAGG.INT.ALCAN.CA
BRAGG                                   $U@BRAGG.INT.ALCAN.CA
!
! Rewrite rules for PMDF-FAX
!
!<PMDF_ROOT:[TABLE]FAX.RULES
!
! Rewrite rules for PMDF-MR
!
!<PMDF_ROOT:[TABLE]MR.RULES
!
! Rewrite rules for the Internet
!
! Rewrite rules for private TCP/IP systems/domains
!
ALCAN.CA                               $U%$H$D@MTCP-DAEMON
!
! Provide a default domain for shortform hosts
!
*                                       $U%$&0.INT.ALCAN.CA@MTCP-DAEMON$A
!
! Rewrite rules for TCP/IP domain literals
!
[142.14.12.4]                           $U@CSG.INT.ALCAN.CA
[142.14.11.4]                           $U@CSG.INT.ALCAN.CA
[]                                      $U%[$L]@MTCP-DAEMON
!
! Rewrites for internal processing channels
!
reprocess.CSG.INT.ALCAN.CA              $U@reprocess.CSG.INT.ALCAN.CA
defragment.CSG.INT.ALCAN.CA             $U@defragment.CSG.INT.ALCAN.CA
!
! Anything else must be non-local traffic -- send it to intnet.int.alcan.ca
!
                                       $U%$H@INTNET.INT.ALCAN.CA

l nox_env_to defragment charset8 iso-8859-1
CSG.INT.ALCAN.CA

d 733 nox_env_to defragment linelength 255 charset8 iso-8859-1
DECNET-MAIL
ARDC.INT.ALCAN.CA                       TITAN
BRAGG.INT.ALCAN.CA                      BRAGG

mtcp_local single_sys smtp nox_env_to mx queue csg$pmdf
MTCP-DAEMON

mtcp_intnet smtp daemon router nox_env_to queue csg$pmdf
INTNET.INT.ALCAN.CA

!
! Channel to reassemble MIME message/partial parts
!
defragment nox_env_to
defragment.CSG.INT.ALCAN.CA

!
! Channel to handling reprocessing jobs
!
reprocess nox_env_to
reprocess.CSG.INT.ALCAN.CA

!
! PMDF-FAX channels
!
!<PMDF_ROOT:[TABLE]FAX.CHANS

!
! PMDF-MR channels
!
!<PMDF_ROOT:[TABLE]MR.CHANS
!
!-------------------------------------------------------------------------------
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU