home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / vmsnet / mail / pmdf / 2153 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.3 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!ub!zaphod.mps.ohio-state.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!decwrl!decwrl!infopiz!mccall!ipmdf-newsgate!list
  2. From: robin_goldstone@macgate.csuchico.edu (Robin Goldstone)
  3. Newsgroups: vmsnet.mail.pmdf
  4. Subject: deliver and 'vacation' processing
  5. Message-ID: <01GNSQZ1YG1E95NQT7@YMIR.CLAREMONT.EDU>
  6. Date: 20 Aug 92 08:41:16 GMT
  7. Organization: The Internet
  8. Lines: 41
  9. Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
  10. Resent-Date: 20 Aug 1992 08:41:16 +0000 (U)
  11. Resent-From: epmdf@YMIR.CLAREMONT.EDU
  12. Errors-To: epmdf@YMIR.CLAREMONT.EDU
  13. Resent-Message-ID: <01GNSROECDR095NQPW@YMIR.CLAREMONT.EDU>
  14. X-Vms-To: IN%"ipmdf@YMIR.CLAREMONT.EDU"
  15. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  16. Content-Transfer-Encoding: 7BIT
  17.  
  18. I have never used DELIVER before and I though I would experiment around with it
  19. to set up a simple "vacation" process, such that whenever anyone sends mail to
  20. my account, they would get a message back saying I am on vacation.  My
  21. MAIL.DELIVERY looks like this:
  22.  
  23. * * * A L DELIVER.LOG
  24. * * * A E @VACATION.COM
  25. * * * A D
  26.  
  27. The first line is for debugging purposes. The second line invokes a DCL program
  28. which sends the vacation message back to the user.  The third line delivers the
  29. message to the mailbox.
  30.  
  31. I am having trouble with my VACATION.COM procedure.  All I want it to do is
  32. send a message back to the user.  It looks like this:
  33.  
  34. $ MAIL VACATION.TXT 'FROM'
  35.  
  36. The problem is the value of the symbol 'FROM' which DELIVER creates.  According
  37. to the DELIVER.LOG file, the symbol looks like this:
  38. $ FROM == "IN%""RGOLDSTONE@oavax.csuchico.edu""  ""Robin Goldstone"""
  39.  
  40. When I try to do:
  41. $ MAIL VACATION.TXT 'FROM'
  42. I get the error:
  43. %DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters
  44.  \"Robin Goldstone"\
  45.  
  46. I know this is a quote problem.  If I do:
  47. $ mail vacation.txt "IN%""RGOLDSTONE@oavax.csuchico.edu""  ""Robin Goldstone"""
  48. it works fine.  So somewhere some quotes are getting stripped.  DCL and quotes
  49. always gives me fits.  Can someone tell me what is happening and how I can fix
  50. it?
  51.  
  52. Also, another problem.  The last line of MAIL.DELIVERY is:
  53. * * * A D
  54. which causes the message to be delivered "normally."  However, I noticed that
  55. the delivered message has a header on it.  I have the 'headeromit' keyword on
  56. my 'l' channel, but DELIVER seems to be ignoring this.  Is this a bug?
  57.  
  58. Robin Goldstone, CSU Chico
  59.