home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!infopiz!mccall!ipmdf-newsgate!list
- From: dmpm%dukemc.bitnet@ymir.claremont.edu (James Dryfoos - Postmaster)
- Newsgroups: vmsnet.mail.pmdf
- Subject: Use of mail/prot=deliver_mailshr
- Message-ID: <01GOA1J3S7ZM006WUO@mc.duke.edu>
- Date: 1 Sep 92 22:53:00 GMT
- Organization: Duke University Medical Center, Durham NC, USA
- Lines: 43
- Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
- Resent-Date: 01 Sep 1992 17:53:00 -0500 (EST)
- Resent-From: epmdf@YMIR.CLAREMONT.EDU
- Errors-To: epmdf@YMIR.CLAREMONT.EDU
- Resent-Message-ID: <01GO9WVYJ20I95P1Y7@YMIR.CLAREMONT.EDU>
- X-Vms-To: IN%"ipmdf@ymir"
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
- Content-Transfer-Encoding: 7BIT
-
- A long time ago I wrote a procedure to send mail using PMDF
- It uses the format:
-
- $ define/job pmdf_from "soandso"
- $ mail/prot=deliver_mailshr/subj="test" t. "in%""dmpm@dukemc"""
-
- I am not sure why this is so.
-
- One thing I do notice is that rewrite rules behave differently.
- It appears that mail sent with above is not treated as from the
- local channel. If not, what is its channel?
- Reason I say this is I have some rules that have
-
- $Nl
-
- on them so that they are not used when from the local channel.
- If I send the mail as above these rules are used.
- If I do not use the /prot bit, the rules are not used.
-
- One reason for using the above, is that the sender field is what
- I define PMDF_FROM to be. If I simply send it with
-
- mail/subj="test" t. "in%""dmpm@dukemc"""
-
- The sender field is the username it was sent with and not the logical
- PMDF_FROM -- this causes problems with what I am doing.
-
- Does this all make sense?
-
- -Jim
-
- P.s. I have tried using PMDF SEND and have same problem with sender field.
-
- P.s.s. What I am trying to do is send mail on behalf of someone and set
- the return address to go to them. If someone has a better way I
- would love to hear it. Thanks.
-
- =======================================================================
- James D. Dryfoos -- Postmaster | dmpm@mc.duke.edu
- Duke University Medical Center | dmpm@dukemc.bitnet
- Box 2914 DUMC | (919) 684-6421 - office
- Durham, NC 27710 Earth | (919) 684-8675 - fax
- =======================================================================
-