home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / sendmail / 2748 < prev    next >
Encoding:
Text File  |  1992-11-12  |  2.2 KB  |  51 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!rickert
  3. From: rickert@mp.cs.niu.edu (Neil Rickert)
  4. Subject: Re: How to set From: line
  5. Message-ID: <1992Nov12.172436.628@mp.cs.niu.edu>
  6. Organization: Northern Illinois University
  7. References: <27405@dog.ee.lbl.gov>
  8. Date: Thu, 12 Nov 1992 17:24:36 GMT
  9. Lines: 40
  10.  
  11. In article <27405@dog.ee.lbl.gov> envwpk@epb2.lbl.gov (Werner P. Keilholz) writes:
  12. >I asked the following question in comp.unix.questions, but apparently it is
  13. >even too wizardly for that group ... So I try here...
  14.  
  15. I replied.  Perhaps you forgot to read comp.unix.questions to see if
  16. there were any responses.  I enclose the body of my reply below.
  17.  
  18. In article <27022@dog.ee.lbl.gov> envwpk@epb2.lbl.gov (Werner P. Keilholz) writes:
  19. >
  20. >My problem is, how to configure the Return-Path used by the mailer 
  21. >when it is creating headers. In principle, my mailer works fine, i.e. 
  22. >I can send and receive mail via the net. However, if people try to use 
  23. >the REPLY function of their mailers to answer mail comming from our site, 
  24. >the replies bounce, because the mailer generated a wrong 'RETURN-PATH:' 
  25. >line. 
  26.  
  27.    (1)  If anybody tries to use the "Return-Path:" header for a reply,
  28.     then their mail software is broken.  They should be replying to
  29.     the address in "From:".
  30.  
  31.    (2)  If your 'sendmail' is sending out messages containing a
  32.     "Return-Path" then your configuration is broken.  "Return-Path:"
  33.     is supposed to be added only at the final hop (i.e. at the
  34.     destination site) when delivering to the mailbox.
  35.  
  36.    (3)    "Return-Path:" is unreliable, partlty because many people make
  37.     the mistake in (2) above, and partly because 'sendmail' makes
  38.     no attempt to correct the mistake.
  39.  
  40. >I checked the man on sendmail, and it says the configuration is done in 
  41. >/etc/sendmail.cf .  In this file I indeed found a line like
  42. >RETURN PATH: <$g>
  43. >
  44. >Great. But where is $g defined ???
  45.  
  46. $g is defined internally.  It is set to the return path.  It is actually
  47. the address returned by the rewrite rules.  That is, the sender name is
  48. processed by ruleset 3, ruleset 1, the mailer specific ruleset in the
  49. "S=" operand, and by ruleset 4.  The final result becomes $g.
  50.  
  51.