[comp.unix.aix] Sendmail connecting to itself! Help?

jew@rt.sunquest.com (/87336) (04/04/91)

Please help me with this problem if you can.  I am trying to get sendmail to
send to other hosts on the internet.  I am running AIX PS/2 1.2 on a PS/2
Model 70.  Everything works fine except outbound mail.  It seems that sendmail
connects back to the same machine instead of the destination machine:

AIX instfe 2.1> mail -v jew@alpha
Subject: Test
This is one.
.
Cc: 
jew@alpha... Connecting to alpha.sunquest.com (tcp)...
220 instfe.sunquest.com Sendmail 5.61-AIX-1.2/1.0 ready at Wed, 3 Apr 91 13:14:1
9 -0700
>>> HELO instfe.sunquest.com
553 Local configuration error, hostname not recognized as local
>>> QUIT
221 instfe.sunquest.com closing connection
jew@alpha... Service unavailable: No such file or directory
Saving message in /u/jew/dead.letter
/u/jew/dead.letter... Sent

Now alpha is a VMS host running SMTP.  I included it as an example because
it is more informative than:

AIX instfe 2.1> mail -v jew@rt
Subject: Test
This is another one.
.
Cc: 
jew@rt... Connecting to rt.sunquest.com (tcp)...
jew@rt... Host unknown
Saving message in /u/jew/dead.letter
/u/jew/dead.letter... Sent


I know what you're thinking!  He can't reach the other hosts, right!  No,
I can telnet, rlogin, ftp, and anything else you can imagine except send
mail to them:

AIX instfe 2.1> ping rt
PING rt.sunquest.com: 56 data bytes
64 bytes from 192.12.52.50: icmp_seq=0. time=0. ms

----rt.sunquest.com PING Statistics----
1 packets transmitted, 1 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0


Please point me in the right direction if you can and thanks for bearing
with me in any case!  Any help will be much appreciated and thanks in
advance!

J. E. Ward	jew@sunquest.com

Confucious say...
Be security conscious -- National Defense is at stake.

rickert@mp.cs.niu.edu (Neil Rickert) (04/04/91)

In article <16986@sunquest.UUCP> jew@rt.sunquest.com (/87336) writes:
>
>Please help me with this problem if you can.  I am trying to get sendmail to
>send to other hosts on the internet.  I am running AIX PS/2 1.2 on a PS/2
>Model 70.  Everything works fine except outbound mail.  It seems that sendmail
>connects back to the same machine instead of the destination machine:

 Many versions of 'sendmail.cf' come set up so that you can easily define
a relay host.  I bet you defined yourself to be the relay host.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940

jackv@turnkey.tcc.com (Jack F. Vogel) (04/04/91)

In article <16986@sunquest.UUCP> jew@rt.sunquest.com (/87336) writes:
 
>Please help me with this problem if you can.  I am trying to get sendmail to
>send to other hosts on the internet.  I am running AIX PS/2 1.2 on a PS/2
>Model 70.  Everything works fine except outbound mail.  It seems that sendmail
>connects back to the same machine instead of the destination machine:
 
>AIX instfe 2.1> mail -v jew@alpha
[...stuff deleted...]

>jew@alpha... Connecting to alpha.sunquest.com (tcp)...
>220 instfe.sunquest.com Sendmail 5.61-AIX-1.2/1.0 ready at Wed...

There is only one reason I can think of that this would be happening and
that is that sendmail is getting an MX from some nameserver pointing at
instfe as the forwarder for alpha. You could try invoking sendmail directly
using a -d option and look at the nameserver debug info. Of course, this
assumes you are using nameservice, but if you aren't then I would really
be at a loss to explain this. One other test that would be illuminating
is to try mailing out of your domain, try jackv@seas.ucla.edu (yes, I 
will forgive the test mail :-}).

If you still can't resolve this, send me email on your progress and I will
attempt further suggestions. jackv@locus.com is the prefered address.
Good luck.

Disclaimer: I don't speak for my employer.

-- 
Jack F. Vogel			jackv@locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv@turnkey.TCC.COM

jackv@turnkey.tcc.com (Jack F. Vogel) (04/05/91)

In article <1991Apr3.234406.8469@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes:
>In article <16986@sunquest.UUCP> jew@rt.sunquest.com (/87336) writes:

>>Please help me with this problem if you can.  I am trying to get sendmail to
>>send to other hosts on the internet.  I am running AIX PS/2 1.2 on a PS/2
>>Model 70.  Everything works fine except outbound mail.  It seems that sendmail
>>connects back to the same machine instead of the destination machine:
 
> Many versions of 'sendmail.cf' come set up so that you can easily define
>a relay host.  I bet you defined yourself to be the relay host.
 
Good guess Neil, the only problem with it is that AIX 1.2's sendmail.cf does
not have the relayhost support in it as shipped. So unless he hacked the
rules this would not be a possibility. I suspect MX problems as I said in
a seperate posting.

Disclaimer: I only work here, I don't speak for the company.


-- 
Jack F. Vogel			jackv@locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv@turnkey.TCC.COM