From: csc_ted@uhdvx3.dt.uh.edu (TED KOUBIAR)
Newsgroups: vmsnet.mail.pmdf
Subject: Trying to use  *** DELIVER ***
Date: 22 Jan 1993 16:32 CST
Organization: University of Houston-Downtown
Distribution: world
NNTP-Posting-Host: uhdvx3.dt.uh.edu
X-Lunar-Date: 4 days, 15 hours, 11 minutes since the last quarter of the moon
News-Software: VAX/VMS VNEWS 1.41A   


PMDF 4.0 (page 2-19 section 2.3.1)

username is CSC_TEST

a.	I have the USE_MAIL_DELIVERY set to 1
b.	MAIL.DELIVER has one line--->   * * * A P  SYSTEM
c.	set forward in%"~CSC_TEST"


messages goto the D channel and stay there....
is there something else i should be doing I am including teh D_MASTER.LOG
file.

thanks 
===============================================================================
===============================================================================
$ !
$ ! Handle various channels specially
$ !
$ if channel_name .eqs. "d"          then goto DECnet_compatibility_channel
$ DECnet_compatibility_channel:
$ !
$ ! We now delivery it all with one invocation of MAIL_SERVER. Speeds things
$ ! up a LOT!
$ !
$ priv_list = f$setprv("SYSPRV, DETACH, BYPASS")
$ define/user pmdf_message_list pmdf_root:[log]d_master_dirlst_2183AA6F.tmp
$ mail/protocol=pmdf_mailshr
mm_init has been called.
qu_init has been called.
deliver_init has been called.
  Translating PMDF_MESSAGE_LIST
  Try to open message list file: "PMDF_ROOT:[LOG]D_MASTER_DIRLST_2183AA6F.TMP".
Finding and opening message file.
Opening PMDF_ROOT:[QUEUE.D]ZZ01GTTM33YKV69ATGUS.00;1
Open successful.
Checking addresses for various delivery mechanisms.
Processing headers.
  Adding Return-path:.
setup_do_returns called.
MAIL_IN_CONNECT returning.
MAIL_IN_LINE called with: 9
IN_SENDER option used.
VMS version  V5
copy_vstring_to_descr called.
String copied: "IN%"CSC_TED@dt3.dt.uh.edu"  "TED KOUBIAR""
IN_SENDER option finished.
MAIL_IN_LINE returning.
MAIL_IN_LINE called with: 10
IN_CKUSER option used.
PUSH called.
  after PUSH:
         USER_CHECK
            BAD_MSG
  PMDF To: address: csc_test@uhdvx4
  VMS MAIL To: address: UHDVX4::CSC_TEST
copy_vstring_to_descr called.
String copied: "UHDVX4::CSC_TEST"
IN_CKUSER option finished.
MAIL_IN_LINE returning.
MAIL_IO_WRITE called.
TOP_OF_STACK called.
 returning      USER_CHECK
User check.
 got a stat: 1
MAIL_IO_WRITE returning.
MAIL_IN_LINE called with: 10
IN_CKUSER option used.
POP called.
  after POP:
            BAD_MSG
copy_vstring_to_descr called.
String copied: "
IN_CKUSER option finished.
MAIL_IN_LINE returning.
MAIL_IN_LINE called with: 11
IN_TO option used.
copy_vstring_to_descr called.
String copied: "IN%"~csc_test@dt3.dt.uh.edu""
IN_TO option finished.
MAIL_IN_LINE returning.
MAIL_IN_LINE called with: 16
IN_CC option used.
copy_vstring_to_descr called.
String copied: ""
IN_CC option finished.
MAIL_IN_LINE returning.
MAIL_IN_LINE called with: 12
IN_SUBJ option used.
copy_bigvstring_to_descr called.
String copied: "YYYYYYYYYYYYYYYYYYYYYYYYY"
IN_SUBJ option finished.
MAIL_IN_LINE returning.
MAIL_IN_ATTRIBS called.
MAIL_IN_ATTRIBS returning.
MAIL_IN_FILE called.
Providing attop header RFAs.
Copying message body.
Line: $def/user sys$output g.g
Line: $def/user sys$error x.x
Line: $set file /own=pmdf $1$dia3:[pmdf...]*.*;*
PUSH called.
  after PUSH:
     DELIVERY_CHECK
            BAD_MSG
MAIL_IN_FILE returning.
MAIL_IO_WRITE called.
TOP_OF_STACK called.
 returning  DELIVERY_CHECK
Delivery check, got a stat: 8290586
PUSH called.
  after PUSH:
          ERROR_MSG
     DELIVERY_CHECK
            BAD_MSG
MAIL_IO_WRITE returning.
MAIL_IO_WRITE called.
TOP_OF_STACK called.
 returning       ERROR_MSG
Error text.
copy_descr_to_vstring called.
String copied: "%MAIL-E-SENDERR, error sending to user CSC_TEST at UHDVX4"
Error message: "%MAIL-E-SENDERR, error sending to user CSC_TEST at UHDVX4"
MAIL_IO_WRITE returning.
%MAIL-E-SENDERR, error sending to user CSC_TEST at UHDVX4
MAIL_IO_WRITE called.
TOP_OF_STACK called.
 returning       ERROR_MSG
Error text.
copy_descr_to_vstring called.
String copied: "%MAIL-E-OPENOUT, error opening SYS$USERS:[000000]TEST.DIR as output"
Error message: "%MAIL-E-OPENOUT, error opening SYS$USERS:[000000]TEST.DIR as output"
MAIL_IO_WRITE returning.
%MAIL-E-OPENOUT, error opening SYS$USERS:[000000]TEST.DIR as output
MAIL_IO_WRITE called.
TOP_OF_STACK called.
 returning       ERROR_MSG
Error text.
copy_descr_to_vstring called.
String copied: "-RMS-E-PRV, insufficient privilege or file protection violation"
Error message: "-RMS-E-PRV, insufficient privilege or file protection violation"
MAIL_IO_WRITE returning.
-RMS-E-PRV, insufficient privilege or file protection violation
MAIL_IO_WRITE called.
TOP_OF_STACK called.
 returning       ERROR_MSG
Error text.
 got a NULL -- popping write_recv_states
POP called.
  after POP:
     DELIVERY_CHECK
            BAD_MSG
MAIL_IO_WRITE returning.
MAIL_IN_LINE called with: 9
IN_SENDER option used.
start_message called.
Initializing state stack.
INIT_STACK called.
PUSH called.
  after PUSH:
            BAD_MSG
finish_message called.
  All addresses are ugly, no sense requeuing them all.
  Aborting QU_ .
Finding and opening message file.
Message list exhausted; exiting...
do_returns called.
finish_message called.
$ priv_list = f$setprv(priv_list)
$ goto out1
$ out1:
$ delete pmdf_root:[log]d_master_dirlst_2183AA6F.tmp;*
$ !
$ ! Common exit point - clean up things first
$ !
$ exit
  SYSTEM       job terminated at 22-JAN-1993 14:17:24.25

  Accounting information:
  Buffered I/O count:             174         Peak working set size:    3745
  Direct I/O count:               154         Peak page file size:     12309
  Page faults:                   6031         Mounted volumes:             0
  Charged CPU time:           0 00:00:08.14   Elapsed time:     0 00:00:20.13
===============================================================================
===============================================================================




TED@DT.UH.EDU