Xref: utzoo comp.unix.ultrix:2257 comp.mail.sendmail:1204 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!uccba!ucunix!rainwatr From: rainwatr@ucunix.SAN.UC.EDU (Don Rainwater) Newsgroups: comp.unix.ultrix,comp.mail.sendmail Subject: Getting inside the quotes in sendmail... Keywords: Ultrix, From address Message-ID: <71@ucunix.SAN.UC.EDU> Date: 1 Dec 89 17:10:48 GMT Reply-To: rainwatr@ucunix.san.uc.edu (Don Rainwater) Followup-To: comp.unix.ultrix Organization: University of Cincinnati Lines: 26 Hello, I have a VAX running Ultrix 3.0 which is setup to be a "mail gateway" between the Internet and an internal network of Office Automation VAXen running VMS and All-in-1. To make it easy to get mail from an Internet site to a user on the OA net, I have a pseudo-domain defined so that an address can look like 'user@node.oa.uc.edu'. In sendmail, this type of address is intercepted and translated to 'node::mrgate::"a1::user"' and goes out over DECnet to the right machine. For OA mail that is bound for the Internet, I would like to change the 'From:' address to something that looks like Internet. (ie. I want to change 'node::mrgate::"a1::user"' to 'user@node.oa.uc.edu') This seems to be a problem, since '"a1::user"' is treated as a single token and there appears to be no way to get inside the quotes. Does anyone have any suggestions for getting around this problem? What I would really like is info on how to get inside the quotes, but I'm open to other suggestions as well. Thanks in advance for any help. -- Don Rainwater, Univ. of Cincinnati Computer Center rainwatr@ucunix.san.uc.edu rainwatr@ucbeh.san.uc.edu rainwatr@ucbeh.bitnet