From: daven@vx.cis.umn.edu (David Nieters)
Subject: More on using the customer-supplied ...
News-Software: VAX/VMS VNEWS 1.41    
Organization: University of Minnesota CIS
Distribution: usa
Date: Tue, 15 Dec 1992 21:56:00 GMT

When I use the pmdf test/rewrite/conf=.../debug, I get the following output.
What looks like trouble is the "Rewrite failed, not envelope." message and
the "Rewrite failed due to improper usage of a metacharacter." message.
---------------------------------------------------------------------------
Initializing mm_.
Initializing mm_ submission.
Checking identifiers.
Rewriting: mbox = "DAVE.NIETERS", host = "vx", domain = "vx.cis.umn.edu", literal = ""
Rewrite: "vx.cis.umn.edu", position 0, hash table - "$[REWRITE,X500_REWRITE,$U]$E$F"
User routine call: REWRITE\X500_REWRITE(DAVE.NIETERS) -> returned "DAVE.NIETERS%UMN.EDU".
Rewrite failed, not envelope.
Rewrite: "vx.cis.umn.edu", position 1, hash table - "$U%somewhere.umn.edu@MTCP-DAEMON"
  New mailbox: "DAVE.NIETERS"
  New host: "somewhere.umn.edu"
  New route: "MTCP-DAEMON"
  New channel system: "MTCP-DAEMON"
Looking up host "MTCP-DAEMON" - found on channel mtcp_local                      
  channel                = mtcp_local                      
  channel flags #1       = BIDIRECTIONAL SINGLE_SYSTEM IMMNORMAL
  channel flags #2       = SMTP DEFAULTMX HEADERINC 
  channel flags #3       = LOGGING 
  channel flags #4       = EIGHT_NEGOTIATE RULES
  channel flags #5       = MASTER_DEBUG SLAVE_DEBUG 
  channel flags #6       = LOCALUSER X_ENV_TO 
  channel flags #7       = NOSWITCH NOREMOTEHOST NODEFRAGMENT DATEFOUR 
  channel envelope address type =  SOURCEROUTE
  channel header address type =  SOURCEROUTE
  channel official host  = MTCP-DAEMON
  channel local alias    = 
  channel queue name     = MAIL$BATCH
  channel daemon name    =                                 
  channel user name      =                                 
  notices                = 
  channel rightslist ids = 
  header To: address     = DAVE.NIETERS@somewhere.umn.edu
  header From: address   = DAVE.NIETERS@somewhere.umn.edu
  envelope To: address   = DAVE.NIETERS@somewhere.umn.edu  (route (MTCP-DAEMON,MTCP-DAEMON))
  envelope From: address = DAVE.NIETERS@somewhere.umn.edu
  name                   = 
  mbox                   = DAVE.NIETERS
Extracted address action list:
    DAVE.NIETERS@vx.cis.umn.edu
Extracted 733 address action list:
    DAVE.NIETERS@vx.cis.umn.edu
    Parsing address DAVE.NIETERS
Rewriting: mbox = "DAVE.NIETERS", host = "vx", domain = "vx.cis.umn.edu", literal = ""
Rewrite: "vx.cis.umn.edu", position 0, hash table - "$[REWRITE,X500_REWRITE,$U]$E$F"
User routine call: REWRITE\X500_REWRITE(DAVE.NIETERS) -> returned "DAVE.NIETERS%UMN.EDU".
  Rewrite failed due to improper usage of a metacharacter.
Rewrite: "vx.cis.umn.edu", position 1, hash table - "$U%somewhere.umn.edu@MTCP-DAEMON"
  New mailbox: "DAVE.NIETERS"
  New host: "somewhere.umn.edu"
  New route: "MTCP-DAEMON"
  New channel system: "MTCP-DAEMON"
Looking up host "MTCP-DAEMON" - found on channel mtcp_local                      
      - adding address DAVE.NIETERS@somewhere.umn.edu to headers.
      - adding address DAVE.NIETERS@somewhere.umn.edu to channel mtcp_local                      
Expanded address: 
  DAVE.NIETERS@somewhere.umn.edu
Submitted address list:
  mtcp_local                      
    DAVE.NIETERS@somewhere.umn.edu (somewhere.umn.edu)

David Nieters
University of Minnesota
daven@vx.acs.umn.edu