home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!ames!agate!dog.ee.lbl.gov!epb2!envwpk
- From: envwpk@epb2.lbl.gov (Werner P. Keilholz)
- Newsgroups: comp.mail.sendmail
- Subject: How to set From: line
- Date: 12 Nov 1992 16:30:24 GMT
- Organization: Lawrence Berkeley Laboratory, Berkeley
- Lines: 57
- Distribution: world
- Message-ID: <27405@dog.ee.lbl.gov>
- Reply-To: envwpk@epb2.lbl.gov (Werner P. Keilholz)
- NNTP-Posting-Host: 128.3.12.39
-
- I asked the following question in comp.unix.questions, but apparently it is
- even too wizardly for that group ... So I try here...
-
- My problem is, how to configure the Return-Path used by the mailer
- when it is creating headers. In principle, my mailer works fine, i.e.
- I can send and receive mail via the net. However, if people try to use
- the REPLY function of their mailers to answer mail comming from our site,
- the replies bounce, because the mailer generated a wrong 'RETURN-PATH:'
- line.
-
- I checked the man on sendmail, and it says the configuration is done in
- /etc/sendmail.cf . In this file I indeed found a line like
- RETURN PATH: <$g>
- and
- H?F?From: $q
-
- Great. But where are $g dnd $q efined ??? Of course, I could put in some
- constant string, but I only want to receive the replies to my own mails,
- not *everybody's* !
-
- Following some suggestions from the 'wizards', I already checked the
- following points:
-
- * use elm: I don't have elm
- * the hostname databaste (/etc/hosts); it looks ok:
- there's a line for the mailer-host:
- 192.9.100.3 star cstbsop
- and for my own host:
- 127.0.0.1 localhost
-
-
-
- * The file /usr/lib/mailhosts contains the mailhost:
- star
-
- * "You could write a shell script which takes the letter, adds the
- Reply-To header, and then feeds it to sendmail."
- I can't believe that there isn't a simple, proper solution !
-
- * "Might get more help by posting to comp.mail.sendmail" ... done !
-
-
-
-
-
- Thanks for any kind of hint !
-
- Werner
-
- ----------------------------------------------------------------------------
- Werner Keilholz EMAIL: werner@CSTB.FR or
- CSTB Sophia Antipolis CSTBSOP!werner@CORTON.INRIA.FR or
- BP 209 envwpk@epb2.lbl.gov
- 06904 SOPHIA ANTIPOLIS Warning: mail header replies
- F R A N C E / United States of Europe to CSTB don't work!
-
- It's not the holy Grail - it's ISO !
-