From: krishnav@faatcrl.UUCP (krishnav)
Newsgroups: comp.mail.sendmail
Subject: HELPPPPP!!!!!!!!HELLLLLLLLLLPPPPPPPPPPPPP!!!!!!!
Summary: sendmail problems help dns uucp
Keywords: sendmail problems uucp dns internet
Date: 23 Jul 92 20:53:02 GMT
Organization: FAA Technical Center


Hi,
	I have a major problem with sendmail.  We are going to be on 
the internet shortly.  So I setup dns and everything is working fine.
I upgraded my main mail server from SunOS 4.1.1 to 4.1.2.  After that
we started having problems with sendmail (in fact dns and os upgrading
were done at the same time).  Currently we are running smail 2.5 on our
mail server.  Our sendmail.cf looks like this:

--------------------------Start file-------------------------
#
#     SENDMAIL CONFIGURATION FILE
#
#     supports internet style addressing
#     over UUCP and ethernet links.
#
#     A product of the UUCP Project.
#
#     @(#)template.cf 2.5 (smail) 9/15/87
#
############################################################


############################################################
#
#  Local configuration options - HINTS
#
# Host name and domain name macros.
#
#     Dw sets $w
#     DD sets $D
#     CD sets $=D
#
# $D and $=D list all domains in which this host sits.
# $D goes into outbound addresses, i.e. "user@$w.$D".
# $A is another domain for which this host is 'authoritative'
# it will will be turned into $D.

Djmailhost
DDUUCP
DA""
CDUUCP ""

# Preemptive ether connections.  We prefer these connections
# over both designated transport mechanisms and the general depository.
# You can add more classes (here and in S0).

# /etc/hosts.smtp might be a link to /etc/hosts

FE/usr/lib/mailhosts %s


# Mock top-level domain names.  These name designate a transport mechanism
# and appear internally only, set in S3, used in S0, and removed in S4 and
# (possibly) the ruleset for the particular mailer.

CTETHER UUX

# Relay host.  Used at the end of S0 as the general depository for
# addresses which didn't resolve locally.

DRrelay

...The rest remains the same.

--------------------End file-------- 

Now our domain looks like hell.cs.Podunk.Edu. When I send mail locally
with  user@myhosthardcodedhere.UUCP it does not recognize the machine.
We were having problems with all the hosts in the same domain and other
domains as well.  
When I do a sendmail -v -x9 user@mailhost this is what it looks like

Trying 000.000.000.0...  connected.
220 client.hell.cs.Podunk.edu Sendmail 4.1/SMI-4.1 ready at Thu, 23 Jul 92 16:29:19
 EDT
>>HELO client 
250 client.hell.cs.Podunk.edu Hello client, pleased to meet you
>>MAIL FROM:<krishnav>
250 <krishnav>... Sender ok
>>RCPT TO:<krishnav@mailhost>
250 <krishnav@mailhost>... Recipient ok
>>DATA
354 Enter mail, end with "." on a line by itself
lksdflaksf
.
>>.
250 Mail accepted
>>QUIT
221 client.hell.cs.Podunk.edu delivering mail


and the mail bounces back give the following error message:

Message  1:
From MAILER-DAEMON@mailhost Thu Jul 23 16:37:42 1992
Return-Path: <MAILER-DAEMON@mailhost>
Received: from mailhost. by client.hell.cs.Podunk.edu (4.1/SMI-4.1)
	id AA11228; Thu, 23 Jul 92 16:37:41 EDT
Received: by mailhost. (4.1/smail2.5/11-20-89)
	id AA17558; Thu, 23 Jul 92 16:37:28 EDT
Date: Thu, 23 Jul 92 16:37:28 EDT
From: MAILER-DAEMON@mailhost (Mail Delivery Subsystem)
Subject: Returned mail: Service unavailable
Reply-To: MAILER-DAEMON@mailhost Thu Jul 23 16:37:28 1992
Message-Id: <9207232037.AA17558@mailhost.>
To: <krishnav@client>
Status: R

   ----- Transcript of session follows -----
Connected to mailhost:
>>> HELO mailhost.
<<< 553 mailhost. host name configuration error
554 <krishnav@mailhost>... Service unavailable

   ----- Unsent message follows -----
Received: from client.hell.cs.Podunk.edu 
     by mailhost. (4.1/smail2.5/11-20-89)
      id AA17547; Thu, 23 Jul 92 16:37:28 EDT
Reply-To: krishnav@client Thu Jul 23 16:37:28 1992
Received: from client by client.hell.cs.Podunk.edu (4.1/SMI-4.1)
      id AA11221; Thu, 23 Jul 92 16:37:25 EDT
Date: Thu, 23 Jul 92 16:37:25 EDT
From: krishnav@client ('Krishna V. Veeraghanta')
Message-Id: <9207232037.AA11221@client.hell.cs.Podunk.edu>
Apparently-To: <krishnav@mailhost>

lksdjaflksdf


Now, what I want is all the hosts to forward mail to my mailhost and
all mail going out through my mailhost should have user@mailhost.UUCP
in the From field.  How do I write my sendmail.cf file?  If I change
anything in sendmail.cf, my From field gets screwed up.  I tried a number
of combinations and permutations. I also setup my dns so that it would
properly identify mailhost.UUCP and respond with the proper IP address
(when using nslookup).  Now, what am I doing wrong ?  I know that the
smail version is really old.  We have smail 3.1.25 compiled and I'm still
in the process of testing.  Do I have to run sendmail.mx?  What do I do
now?  How do I fix this?   
Any help would be greatly appreciated.   I'll name my next host with
your name (immortalizing you ;-).

Thanks in advance.  


-Krishna

-- 
-------------------------------------------------------------------------
Krishna Veeraghanta    Senior Engineer                 CTA Inc.  
Internet : krishnav@pilot.njin.net          Voice:W:(609)-484-4812/6700
UUCP: .....rutgers!faatcrl!krishnav               R:(609)-926-9529
Newsgroups: comp.mail.sendmail