Path: 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 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 Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940