Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!coplex!dean From: dean@coplex.uucp (Dean Brooks) Newsgroups: comp.mail.misc Subject: Smail 3.1.19 -- Can I get a valid return address? Message-ID: <1991Apr20.194832.21739@coplex.uucp> Date: 20 Apr 91 19:48:32 GMT Organization: Copper Electronics, Inc. Lines: 29 Well, I have been using smail3.1.19 for several months now, and everything works better than I ever imagined. However, there is one problem that I have, and can't seem to figure out a clean way to do it. I have several mail servers that are aliased via the pipe-driver transport. The message comes in, gets piped through our scripts and then we generate a response; your typical archive server type stuff. I have been relying on the $SENDER environment variable to determine the correct return address, but I am having major problems with it. It appears that the SENDER variable is created from the "From" line (not the "From:" header) in the message that is *supposed* to be created by the UUCP transport system. Of course, several uucp sites around me don't correctly put their entry in the message headers (no "Receieved:" lines). Is there an environment variable (or a way to do this) that will allow me to use the "From:" (not the UUCP "From") line with all the name-comments and other garbage stipped off? I would like to have a "@" type address if possible rather than a bang path, althought probably not possible. If its not possible, would it be easy for me to hack in the code? -- dean@coplex.uucp (Dean Brooks) Copper Electronics, Inc. Louisville, Kentucky