home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.sendmail
- Path: sparky!uunet!ukma!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!rickert
- From: rickert@mp.cs.niu.edu (Neil Rickert)
- Subject: Re: How to set From: line
- Message-ID: <1992Nov12.172436.628@mp.cs.niu.edu>
- Organization: Northern Illinois University
- References: <27405@dog.ee.lbl.gov>
- Date: Thu, 12 Nov 1992 17:24:36 GMT
- Lines: 40
-
- In article <27405@dog.ee.lbl.gov> envwpk@epb2.lbl.gov (Werner P. Keilholz) writes:
- >I asked the following question in comp.unix.questions, but apparently it is
- >even too wizardly for that group ... So I try here...
-
- I replied. Perhaps you forgot to read comp.unix.questions to see if
- there were any responses. I enclose the body of my reply below.
-
- In article <27022@dog.ee.lbl.gov> envwpk@epb2.lbl.gov (Werner P. Keilholz) writes:
- >
- >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.
-
- (1) If anybody tries to use the "Return-Path:" header for a reply,
- then their mail software is broken. They should be replying to
- the address in "From:".
-
- (2) If your 'sendmail' is sending out messages containing a
- "Return-Path" then your configuration is broken. "Return-Path:"
- is supposed to be added only at the final hop (i.e. at the
- destination site) when delivering to the mailbox.
-
- (3) "Return-Path:" is unreliable, partlty because many people make
- the mistake in (2) above, and partly because 'sendmail' makes
- no attempt to correct the mistake.
-
- >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>
- >
- >Great. But where is $g defined ???
-
- $g is defined internally. It is set to the return path. It is actually
- the address returned by the rewrite rules. That is, the sender name is
- processed by ruleset 3, ruleset 1, the mailer specific ruleset in the
- "S=" operand, and by ruleset 4. The final result becomes $g.
-
-