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

  1. Path: sparky!uunet!olivea!decwrl!infopiz!mccall!ipmdf-newsgate!list
  2. From: dmpm%dukemc.bitnet@ymir.claremont.edu (James Dryfoos - Postmaster)
  3. Newsgroups: vmsnet.mail.pmdf
  4. Subject: Use of mail/prot=deliver_mailshr
  5. Message-ID: <01GOA1J3S7ZM006WUO@mc.duke.edu>
  6. Date: 1 Sep 92 22:53:00 GMT
  7. Organization: Duke University Medical Center, Durham NC, USA
  8. Lines: 43
  9. Return-Path: <epmdf@YMIR.CLAREMONT.EDU>
  10. Resent-Date: 01 Sep 1992 17:53:00 -0500 (EST)
  11. Resent-From: epmdf@YMIR.CLAREMONT.EDU
  12. Errors-To: epmdf@YMIR.CLAREMONT.EDU
  13. Resent-Message-ID: <01GO9WVYJ20I95P1Y7@YMIR.CLAREMONT.EDU>
  14. X-Vms-To: IN%"ipmdf@ymir"
  15. Mime-Version: 1.0
  16. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  17. Content-Transfer-Encoding: 7BIT
  18.  
  19. A long time ago I wrote a procedure to send mail using PMDF
  20. It uses the format:
  21.  
  22. $ define/job pmdf_from "soandso"
  23. $ mail/prot=deliver_mailshr/subj="test" t. "in%""dmpm@dukemc"""
  24.  
  25. I am not sure why this is so.
  26.  
  27. One thing I do notice is that rewrite rules behave differently.
  28. It appears that mail sent with above is not treated as from the
  29. local channel.  If not, what is its channel?
  30. Reason I say this is I have some rules that have
  31.  
  32. $Nl
  33.  
  34. on them so that they are not used when from the local channel.
  35. If I send the mail as above these rules are used.
  36. If I do not use the /prot bit, the rules are not used.
  37.  
  38. One reason for using the above, is that the sender field is what
  39. I define PMDF_FROM to be.  If I simply send it with
  40.  
  41. mail/subj="test" t. "in%""dmpm@dukemc"""
  42.  
  43. The sender field is the username it was sent with and not the logical
  44. PMDF_FROM -- this causes problems with what I am doing.
  45.  
  46. Does this all make sense?
  47.  
  48. -Jim
  49.  
  50. P.s.  I have tried using PMDF SEND and have same problem with sender field.
  51.  
  52. P.s.s.  What I am trying to do is send mail on behalf of someone and set
  53.         the return address to go to them.  If someone has a better way I
  54.         would love to hear it.  Thanks.
  55.  
  56.    =======================================================================
  57.       James D. Dryfoos -- Postmaster    |  dmpm@mc.duke.edu
  58.       Duke University Medical Center    |  dmpm@dukemc.bitnet
  59.       Box 2914 DUMC                     |  (919) 684-6421 - office
  60.       Durham, NC 27710 Earth            |  (919) 684-8675 - fax
  61.    =======================================================================
  62.