[comp.sys.apollo] more specific help request for sendmail.cf files

krowitz@MOHO.MIT.EDU (David Krowitz) (04/19/88)

If there's a sendmail.cf hacker out there ... please give
me a hand! This sendmail.cf file I've got is almost perfect.
If the host name appears in /etc/hosts, it directly connects
to the machine and sends the mail, else it forwards it to
a specified relay machine to see if it can figure out the
name. It seems to have problems with mixed uucp/internet
addresses, though. I send messages to the two addresses
below, and the first one is ok, the second one fails.

$ testmail richter!benioff!krowitz@mit-erl
$ testmail richter!benioff!krowitz@erl.mit.edu
$ mail
Mail version 2.18 5/19/83.  Type ? for help.
"/usr/spool/mail/krowitz": 2 messages 1 new 2 unread
 U  1 krowitz  Sun Feb  7 17:18  8/132  "Junk to keep CKMAIL happy"
>N  2 MAILER-DAEMON Mon Apr 18 21:00  21/658 "Returned mail: unknown mailer"
& 
Message  2:
From krowitz Mon Apr 18 21:00:35 1988
Date: Mon, 18 Apr 88 21:00:22 edt
From: MAILER-DAEMON (Mail Delivery Subsystem)
Subject: Returned mail: unknown mailer error 255
To: krowitz
Status: R

   ----- Transcript of session follows -----
554 richter!benioff!krowitz@erl.mit.edu... unknown mailer error 255

   ----- Unsent message follows -----
Received: by moho.mit.edu (4.12/DOMAIN/IX9.5-V4.7)
	id AA19054; Mon, 18 Apr 88 21:00:22 edt
Date: Mon, 18 Apr 88 21:00:22 edt
From: krowitz (David Krowitz)
To: richter!benioff!krowitz@erl.mit.edu

test message
This was sent to the address:
    richter!benioff!krowitz@erl.mit.edu
on Monday, April 18, 1988   9:00:16 pm (EDT)


If anyone can give me a hand in patching this thing to
recognize both forms of the address, I will gladly send
this sendmail.cf file to anyone who wants it. These
things are almost impossible to write on your own!!!


 -- David Krowitz

krowitz@richter.mit.edu   (18.83.0.109)
krowitz%richter@athena.mit.edu
krowitz%richter@eddie.mit.edu
krowitz%richter.mit.edu@mitvma.bitnet
(in order of decreasing preference)