Article View: comp.mail.sendmail
Article #2532Re: How to set Return-Path?
From: Neil Rickert
Date: Fri, 14 Jun 1991 14:46
Date: Fri, 14 Jun 1991 14:46
29 lines
1831 bytes
1831 bytes
In article <1991Jun13.221355.12091@atlas.abccomp.oz.au> peter@atlas.abccomp.oz.au (Peter Barker) writes:
>How do I set Return-Path: in my sendmail.cf? Our sendmail makes the return
>path peter@atlas.abccomp, which is not sufficient for replying from
>outside our local site. I have tried changing the entry in sendmail.cf
It is probably better to not use 'Return-Path:' in any mailer (usually
selected with the 'P' mailer flag) except the local and prog mailers.
>(appending .oz.au), but the message header is not affected. I have also
>been unable to change the From line, although I can change the From: line.
Problems with both the envelope sender ('From ' line) and return path are
related to the value of $g.
The actual processing is this:
Start with the sender. In our case, 'peter'.
This is first processed by ruleset 3. Next by ruleset 1. Next by the
ruleset defined in the 'S=' operand of the mailer definition. Finally by
ruleset 4. The resulting value is assigned to $g. Do some experimenting
with test mode (sendmail -bt) until you get it right.
--
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Neil W. Rickert, Computer Science <rickert@cs.niu.edu>
Northern Illinois Univ.
DeKalb, IL 60115 +1-815-753-6940
Technical Details
Message-ID:
<1991Jun14.144601.22446@mp.cs.niu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickertReferences:
<1991Jun13.221355.12091@atlas.abccomp.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: How to set Return-Path? Message-ID: <1991Jun14.144601.22446@mp.cs.niu.edu> Date: 14 Jun 91 14:46:01 GMT Article-I.D.: mp.1991Jun14.144601.22446 References: <1991Jun13.221355.12091@atlas.abccomp.oz.au> Organization: Northern Illinois University Lines: 29