[comp.mail.sendmail] problems with sendmail under HP-UX 7.0

chance@sfsuvax1.sfsu.edu (Jon Naumann) (06/27/91)

hi there,

i'm a novice sys admin with an old HP9000s300 running a very
recently installed HP-UX 7.0 ...

users on the system can send mail to each other just fine, but when
another host attempts to send mail it gets errors like :

   ----- Transcript of session follows -----

While connected to foghorn.sfsu.edu [130.212.10.100] (tcp):
>-> HELO foghorn
<<< 553 foghorn I refuse to talk to myself

554 <chance@foghorn.SFSU.EDU>... Service unavailable

   ----- Unsent message follows -----
From: chance@sutro.sfsu.edu (Jon E. Naumann)
To: chance@foghorn.SFSU.EDU

chance@foghorn... Connecting to foghorn via ether...
mail exchanger is foghorn.sfsu.edu
Trying 130.212.10.100...  connected.
220 foghorn HP Sendmail (15.11/15.6) ready at Thu, 27 Jun 91 07:17:48 pdt
>>> HELO sutro.SFSU.EDU
250 foghorn Hello sutro.SFSU.EDU, pleased to meet you
>>> MAIL From:<chance@sutro>
250 <chance@sutro>... Sender ok
>>> RCPT To:<chance@foghorn.SFSU.EDU>
250 <chance@foghorn.SFSU.EDU>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 Ok
>>> QUIT
221 foghorn closing connection
chance@foghorn... Sent

i'm perplexed as the verbose mail from the remote host looks like
it sent the message properly, yet it gets returned with the criptic
"i refuse to talk to myself" message.  Is this machine a
recalcitrant schizo, haunted by Rod Sefling, or just suffering from
an inadequate configuration ?

does anyone out there have any ideas ?  any and all comments will
be greatly appreciated.  e-mail directly to chance@sfsu.edu or
post.

thanks much in advance ...

-- jon

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

In article <1991Jun27.142353.19891@csus.edu> chance@sfsuvax1.sfsu.edu (Jon Naumann) writes:
>
>users on the system can send mail to each other just fine, but when
>another host attempts to send mail it gets errors like :
>
>>-> HELO foghorn
><<< 553 foghorn I refuse to talk to myself

  This happens because 'foghorn.sfsu.edu' isn't recognized as local.

  You will have to make some changes in 'sendmail.cf' so that the local
mailer is selected for any of:   user, user@foghorn, user@foghorn.sfsu.edu

  Try running 'sendmail -bt' and running these addresses through ruleset 0.

  I can't tell you exactly what you need to change.  It might be as simple
as defining $D or $M to be your domain.  Or it might just be a matter of
getting domainname() correct.  Most vendors put a few comments in sendmail.cf
to help with the initial setup.

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