home *** CD-ROM | disk | FTP | other *** search
- 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
- From: robin_goldstone@macgate.csuchico.edu (Robin Goldstone)
- Newsgroups: vmsnet.mail.pmdf
- Subject: deliver and 'vacation' processing
- Message-ID: <01GNSQZ1YG1E95NQT7@YMIR.CLAREMONT.EDU>
- Date: 20 Aug 92 08:41:16 GMT
- Organization: The Internet
- Lines: 41
- Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
- Resent-Date: 20 Aug 1992 08:41:16 +0000 (U)
- Resent-From: epmdf@YMIR.CLAREMONT.EDU
- Errors-To: epmdf@YMIR.CLAREMONT.EDU
- Resent-Message-ID: <01GNSROECDR095NQPW@YMIR.CLAREMONT.EDU>
- X-Vms-To: IN%"ipmdf@YMIR.CLAREMONT.EDU"
- Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
- Content-Transfer-Encoding: 7BIT
-
- I have never used DELIVER before and I though I would experiment around with it
- to set up a simple "vacation" process, such that whenever anyone sends mail to
- my account, they would get a message back saying I am on vacation. My
- MAIL.DELIVERY looks like this:
-
- * * * A L DELIVER.LOG
- * * * A E @VACATION.COM
- * * * A D
-
- The first line is for debugging purposes. The second line invokes a DCL program
- which sends the vacation message back to the user. The third line delivers the
- message to the mailbox.
-
- I am having trouble with my VACATION.COM procedure. All I want it to do is
- send a message back to the user. It looks like this:
-
- $ MAIL VACATION.TXT 'FROM'
-
- The problem is the value of the symbol 'FROM' which DELIVER creates. According
- to the DELIVER.LOG file, the symbol looks like this:
- $ FROM == "IN%""RGOLDSTONE@oavax.csuchico.edu"" ""Robin Goldstone"""
-
- When I try to do:
- $ MAIL VACATION.TXT 'FROM'
- I get the error:
- %DCL-W-MAXPARM, too many parameters - reenter command with fewer parameters
- \"Robin Goldstone"\
-
- I know this is a quote problem. If I do:
- $ mail vacation.txt "IN%""RGOLDSTONE@oavax.csuchico.edu"" ""Robin Goldstone"""
- it works fine. So somewhere some quotes are getting stripped. DCL and quotes
- always gives me fits. Can someone tell me what is happening and how I can fix
- it?
-
- Also, another problem. The last line of MAIL.DELIVERY is:
- * * * A D
- which causes the message to be delivered "normally." However, I noticed that
- the delivered message has a header on it. I have the 'headeromit' keyword on
- my 'l' channel, but DELIVER seems to be ignoring this. Is this a bug?
-
- Robin Goldstone, CSU Chico
-