Date-warning: Date header was inserted by NAUVAX.UCC.NAU.EDU
Errors-to: epmdf@YMIR.BITNET
X-Envelope-to: PMDF-L@IRLEARN.BITNET
X-VMS-To: IN%"NED@SIGURD.INNOSOFT.COM"
X-VMS-Cc: IN%"IPMDF@YMIR.CLAREMONT.EDU"
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
Date:         Wed, 19 Aug 92 19:09:31 GMT
From:         Chris Michels <cvm@NAUVAX.UCC.NAU.EDU>
Subject:      RE: Changing To: header on alias list
X-To:         NED@SIGURD.INNOSOFT.COM
X-cc:         IPMDF@YMIR
Newsgroups: bit.listserv.pmdf-l

>Use the BULLETIN channel that's provided with PMDF and BULLETIN. This is
>much more efficient and clean than the approach you're trying to use.
>
>                                Ned

I have tried this and have been unable to get it to work.  I am running PMDF
4.0-?.  I won't be able to upgrade to 4.1 until next week.  Here is what I am
trying to do.  Allow people to send mail to an alias called NETGROUP. This
alias translates to multiple mail addresses.  One of these mail addreses is
called NETGROUP_AR on the same machine.  NETGROUP_AR is an alias that gets
delivered via the bulletin channel.  The rest of the message contains what I
think is the important info needed to solve this problem.


Here are the entries for BULLETIN in my PMDF.CNF file:

! rewrite rule needed to get mail to BULLETIN daemon
BULLETIN                                $U%BULLETIN@BULLETIN-DAEMOM

! BULLETIN channel needed for PMDF to put mail in BULLETIN/MSGS folder directly
bull_local single logging
BULLETIN-DAEMON


Here is the alias that gets placed in PMDF_ALIAS_FILE

NETGROUP: ucc2kea@nauvm.bitnet, netgroup_ar@nauvax.ucc.nau.edu, \
   arminio@nauvax.ucc.nau.edu, jdc@nauvax.ucc.nau.edu, \
   devries@nauvax.ucc.nau.edu, ucc0jff@nauvm.bitnet, weg@nauvax.ucc.nau.edu, \
   caren@nauvax.ucc.nau.edu, ucc2mem@nauvm.bitnet, acm@nauvax.ucc.nau.edu, \
   mfm@nauvax.ucc.nau.edu, cvm@nauvax.ucc.nau.edu, aer@nauvax.ucc.nau.edu, \
   wilson@nauvax.ucc.nau.edu


Here is the alias that gets placed in the PMDF_ALIAS_DATABASE

netgroup_ar:                            netgroup_ar@BULLETIN


A couple of MMTESTs to show that things aren't working correctly:

$ pmdf mmtest netgroup
  channel                = l
  channel flags #1       = BIDIRECTIONAL       MULTIPLE
  channel flags #2       = NOSENDPOST NOWARNPOST HEADERINC
  channel flags #3       =
  channel flags #4       = EIGHTBIT RULES
  channel flags #5       =
  channel flags #6       =
  channel envelope address type =  SOURCEROUTE
  channel header address type =  SOURCEROUTE
  channel official host  = NAUVAX.UCC.NAU.EDU
  channel local alias    =
  channel queue name     =
  channel daemon name    =
  channel user name      =
  notices                =
  channel rightslist ids =
  header To: address     = NETGROUP@NAUVAX.UCC.NAU.EDU
  header From: address   = NETGROUP@NAUVAX.UCC.NAU.EDU
  envelope To: address   = NETGROUP@NAUVAX.UCC.NAU.EDU  (route (NAUVAX.UCC.NAU.E
   DU,NAUVAX.UCC.NAU.EDU))
  envelope From: address = NETGROUP@NAUVAX.UCC.NAU.EDU
  name                   =
  mbox                   = NETGROUP
Extracted address action list:
    NETGROUP@NAUVAX.UCC.NAU.EDU
Extracted 733 address action list:
    NETGROUP@NAUVAX.UCC.NAU.EDU
Expanded address:
NETGROUP@NAUVAX.UCC.NAU.EDU
Submitted address list:
  bit_local
    ucc0jff@nauvm.bitnet (nauvm.bitnet)
    ucc2kea@nauvm.bitnet (nauvm.bitnet)
    ucc2mem@nauvm.bitnet (nauvm.bitnet)
  l
    acm (NAUVAX.UCC.NAU.EDU)
    aer (NAUVAX.UCC.NAU.EDU)
    arminio (NAUVAX.UCC.NAU.EDU)
    caren (NAUVAX.UCC.NAU.EDU)
    cvm (NAUVAX.UCC.NAU.EDU)
    devries (NAUVAX.UCC.NAU.EDU)
    jdc (NAUVAX.UCC.NAU.EDU)
    mfm (NAUVAX.UCC.NAU.EDU)
    weg (NAUVAX.UCC.NAU.EDU)
    wilson (NAUVAX.UCC.NAU.EDU)

$ pmdf mmtest netgroup_ar
  channel                = l
  channel flags #1       = BIDIRECTIONAL       MULTIPLE
  channel flags #2       = NOSENDPOST NOWARNPOST HEADERINC
  channel flags #3       =
  channel flags #4       = EIGHTBIT RULES
  channel flags #5       =
  channel flags #6       =
  channel envelope address type =  SOURCEROUTE
  channel header address type =  SOURCEROUTE
  channel official host  = NAUVAX.UCC.NAU.EDU
  channel local alias    =
  channel queue name     =
  channel daemon name    =
  channel user name      =
  notices                =
  channel rightslist ids =
  header To: address     = NETGROUP_AR@NAUVAX.UCC.NAU.EDU
  header From: address   = NETGROUP_AR@NAUVAX.UCC.NAU.EDU
  envelope To: address   = NETGROUP_AR@NAUVAX.UCC.NAU.EDU  (route (NAUVAX.UCC.NA
   U.EDU,NAUVAX.UCC.NAU.EDU))
  envelope From: address = NETGROUP_AR@NAUVAX.UCC.NAU.EDU
  name                   =
  mbox                   = NETGROUP_AR
Extracted address action list:
    NETGROUP_AR@NAUVAX.UCC.NAU.EDU
Extracted 733 address action list:
    NETGROUP_AR@NAUVAX.UCC.NAU.EDU
Expanded address:
NETGROUP_AR@NAUVAX.UCC.NAU.EDU
Submitted address list:
Address list error -- unknown host or domain: netgroup_ar@BULLETIN


Now if I remove the following line from PMDF_ALIAS_DATABASE

netgroup_ar:                            netgroup_ar@BULLETIN

Then the MMTESTs display the following:

$ pmdf mmtest netgroup
  channel                = l
  channel flags #1       = BIDIRECTIONAL       MULTIPLE
  channel flags #2       = NOSENDPOST NOWARNPOST HEADERINC
  channel flags #3       =
  channel flags #4       = EIGHTBIT RULES
  channel flags #5       =
  channel flags #6       =
  channel envelope address type =  SOURCEROUTE
  channel header address type =  SOURCEROUTE
  channel official host  = NAUVAX.UCC.NAU.EDU
  channel local alias    =
  channel queue name     =
  channel daemon name    =
  channel user name      =
  notices                =
  channel rightslist ids =
  header To: address     = NETGROUP@NAUVAX.UCC.NAU.EDU
  header From: address   = NETGROUP@NAUVAX.UCC.NAU.EDU
  envelope To: address   = NETGROUP@NAUVAX.UCC.NAU.EDU  (route (NAUVAX.UCC.NAU.E
   DU,NAUVAX.UCC.NAU.EDU))
  envelope From: address = NETGROUP@NAUVAX.UCC.NAU.EDU
  name                   =
  mbox                   = NETGROUP
Extracted address action list:
    NETGROUP@NAUVAX.UCC.NAU.EDU
Extracted 733 address action list:
    NETGROUP@NAUVAX.UCC.NAU.EDU
Expanded address:
NETGROUP@NAUVAX.UCC.NAU.EDU
Submitted address list:
  bit_local
    ucc0jff@nauvm.bitnet (nauvm.bitnet)
    ucc2kea@nauvm.bitnet (nauvm.bitnet)
    ucc2mem@nauvm.bitnet (nauvm.bitnet)
  l
    acm (NAUVAX.UCC.NAU.EDU)
    aer (NAUVAX.UCC.NAU.EDU)
    arminio (NAUVAX.UCC.NAU.EDU)
    caren (NAUVAX.UCC.NAU.EDU)
    cvm (NAUVAX.UCC.NAU.EDU)
    devries (NAUVAX.UCC.NAU.EDU)
    jdc (NAUVAX.UCC.NAU.EDU)
    mfm (NAUVAX.UCC.NAU.EDU)
    netgroup_ar (NAUVAX.UCC.NAU.EDU)
    weg (NAUVAX.UCC.NAU.EDU)
    wilson (NAUVAX.UCC.NAU.EDU)

$ pmdf mmtest netgroup_ar
  channel                = l
  channel flags #1       = BIDIRECTIONAL       MULTIPLE
  channel flags #2       = NOSENDPOST NOWARNPOST HEADERINC
  channel flags #3       =
  channel flags #4       = EIGHTBIT RULES
  channel flags #5       =
  channel flags #6       =
  channel envelope address type =  SOURCEROUTE
  channel header address type =  SOURCEROUTE
  channel official host  = NAUVAX.UCC.NAU.EDU
  channel local alias    =
  channel queue name     =
  channel daemon name    =
  channel user name      =
  notices                =
  channel rightslist ids =
  header To: address     = NETGROUP_AR@NAUVAX.UCC.NAU.EDU
  header From: address   = NETGROUP_AR@NAUVAX.UCC.NAU.EDU
  envelope To: address   = NETGROUP_AR@NAUVAX.UCC.NAU.EDU  (route (NAUVAX.UCC.NA
   U.EDU,NAUVAX.UCC.NAU.EDU))
  envelope From: address = NETGROUP_AR@NAUVAX.UCC.NAU.EDU
  name                   =
  mbox                   = NETGROUP_AR
Extracted address action list:
    NETGROUP_AR@NAUVAX.UCC.NAU.EDU
Extracted 733 address action list:
    NETGROUP_AR@NAUVAX.UCC.NAU.EDU
Expanded address:
NETGROUP_AR@NAUVAX.UCC.NAU.EDU
Submitted address list:
  l
    NETGROUP_AR (NAUVAX.UCC.NAU.EDU)

What am I doing wrong?

--------------------------------------------------------------------------
Chris Michels -- Systems Programmer             cvm@nauvax.ucc.nau.edu
Northern Arizona University -- Flagstaff, AZ    cvm@nauvax.bitnet
Phone: (602) 523-6495                           N7YIU
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU