home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / sendmail / 2743 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  2.3 KB

  1. Path: sparky!uunet!think.com!ames!agate!dog.ee.lbl.gov!epb2!envwpk
  2. From: envwpk@epb2.lbl.gov (Werner P. Keilholz)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: How to set From: line
  5. Date: 12 Nov 1992 16:30:24 GMT
  6. Organization: Lawrence Berkeley Laboratory, Berkeley
  7. Lines: 57
  8. Distribution: world
  9. Message-ID: <27405@dog.ee.lbl.gov>
  10. Reply-To: envwpk@epb2.lbl.gov (Werner P. Keilholz)
  11. NNTP-Posting-Host: 128.3.12.39
  12.  
  13. I asked the following question in comp.unix.questions, but apparently it is
  14. even too wizardly for that group ... So I try here...
  15.  
  16. My problem is, how to configure the Return-Path used by the mailer 
  17. when it is creating headers. In principle, my mailer works fine, i.e. 
  18. I can send and receive mail via the net. However, if people try to use 
  19. the REPLY function of their mailers to answer mail comming from our site, 
  20. the replies bounce, because the mailer generated a wrong 'RETURN-PATH:' 
  21. line. 
  22.  
  23. I checked the man on sendmail, and it says the configuration is done in 
  24. /etc/sendmail.cf .  In this file I indeed found a line like
  25. RETURN PATH: <$g>
  26. and
  27. H?F?From: $q
  28.  
  29. Great. But where are $g dnd $q efined ???  Of course, I could put in some 
  30. constant string, but I only want to receive the replies to my own mails,
  31. not *everybody's* !
  32.  
  33. Following some suggestions from the 'wizards', I already checked the 
  34. following points:
  35.  
  36.   * use elm: I don't have elm
  37.   * the hostname databaste (/etc/hosts); it looks ok:
  38.     there's a line for the mailer-host:
  39.        192.9.100.3     star cstbsop
  40.     and for my own host:
  41.        127.0.0.1       localhost
  42.  
  43.  
  44.  
  45.   * The file /usr/lib/mailhosts contains the mailhost:
  46.        star
  47.  
  48.   * "You could write a shell script which takes the letter, adds the
  49.      Reply-To header, and then feeds it to sendmail."
  50.      I can't believe that there isn't a simple, proper solution !
  51.  
  52.   * "Might get more help by posting to comp.mail.sendmail" ... done !
  53.  
  54.  
  55.  
  56.   
  57.  
  58. Thanks for any kind of hint !
  59.  
  60. Werner
  61.  
  62. ----------------------------------------------------------------------------
  63. Werner Keilholz                     EMAIL: werner@CSTB.FR                 or
  64. CSTB Sophia Antipolis                      CSTBSOP!werner@CORTON.INRIA.FR or
  65. BP 209                                     envwpk@epb2.lbl.gov
  66. 06904 SOPHIA ANTIPOLIS                     Warning: mail header replies
  67. F R A N C E / United States of Europe               to CSTB don't work!
  68.  
  69.   It's not the holy Grail - it's ISO !
  70.