Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!news.nd.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: Envelope-To and Envelope-From in PROG mailer? Message-ID: <1991May23.212448.8455@mp.cs.niu.edu> Date: 23 May 91 21:24:48 GMT References: <1991May23.195333.27759@iwarp.intel.com> Organization: Northern Illinois University Lines: 30 In article <1991May23.195333.27759@iwarp.intel.com> merlyn@iwarp.intel.com (Randal L. Schwartz) writes: >I don't seem to see any way to get the Envelope-To and Envelope-From >in a PROG mail delivery agent in a stock sendmail with more-or-less >standard sendmail.cf's. I've checked the environment and the command >line arguments. (No, I don't have quick access to the sources.) > >(1) is there something I'm overlooking? It would help if you explained the REAL problem that is causing you to ask this question. When the program mailer gets hold of your message, the envelope sender should be on the unix 'From ' line which will be the first line of standard input. The envelope recipient by now is exactly the name of the program command you are using. You probably should know what that is! My guess is that you wanted the envelope recipient before aliasing. But you can't get that, since the purpose of aliasing is to completely replace the envelope recipient with the alias. However if you control the alias file, you can always put the desired information somewhere into the command line in the alias. More than likely the question arose from a simple problem for which there is a straightforward solution. But you will have to tell us the problem before we can give you the solution. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940