peirce@gumby.cc.wmich.edu (Leonard J. Peirce) (01/26/89)
I'm having problems with the sendmail.cf that comes with Ultrix 3.0. I would post this to comp.unix.ultrix but that group seems to be dead lately; maybe the moderator is on vacation. First, a little about our situation. We have a VAXcluster of VMS machines and an Ultrix machine with the DECnet/Internet gateway software that is connected to the Internet. Our users send/receive Internet mail via the Ultrix machine. The address form they must use when sending mail from the VMS machines is (GW is the DECnet node name for the Ultrix machine): To: GW::"user@host.domain" The reason I mentioned this will become apparent shortly. The problems are: 1) the use of the N macro to allow for a central site for resolving user names seems to be broken. We have all unresolved usernames forwarded to our VAXcluster via DECnet mail. We don't give out accounts on the Ultrix mach-ine so all mail to users is just for warded to the VAXcluster. The sendmail.cf for 3.0 keeps thinking that our forward node via TCP. In the 2.2 .cf file, it would the right thing and use DECnet. 2) our domain name is not getting tacked on for outgoing mail. It was working in 2.2 but is doesn't now. 3) Some rewriting rules that I got from the NIC for rewriting BITNET stuff and such didn't work the with the 3.0 .cf file. They worked fine with 2.2. In order to get a working sendmail.cf file, I hacked/merged our 2.2 file with the 3.0 file. It takes care of problems #1 and #3 above and I had to hack ruleset 14 to add the domain name. However, the To: line was coming out really screwed up from the beginning. The problem seems to come from the sendmail treating anything inside double quotes as one token. It proceeds to add a % sign, a DECnet subdomain, and our host so that the To: line ends up looking something like: To: "user@host.domain"%vmsnode.dnet@gw when I would LIKE it to be just To: user@host.domain My questions are: 1) Does anyone have a sendmail.cf for Ultrix 3.0 that works like it should? 2) In the absence of a working sendmail.cf, can anyone tell me how I can parse double quotes (") on the left side of a rule? If I could, I could probably fix my problem with the To: line. Just being able to take apart things inside double quotes and treat them as separate tokens would be great. I'm no sendmail expert so ANY light that ANYONE can shed on this would be a great help. -- Leonard J. Peirce Internet: peirce@gumby.cc.wmich.edu Western Michigan University peirce@gw.wmich.edu Academic Computer Center Voice: (616) 387-5469 Kalamazoo, MI 49008