SUMMARY: sendmail on Solaris 2.1

From: Dotty Pon (dotty@elvis.tgivan.wimsey.bc.ca)
Date: Sat Oct 16 1993 - 03:57:23 CDT


Everyone,

Finally, a solution to all my problems (well, almost)!!!

I've included a copy of my original post along with the solution.

Thanks to:
        Dave Curado davec@cs.ust.hk
        Brett Lymn blymn@mulga.awadi.com.AU
        Ian MacPhedran Ian_MacPhedran@engr.USask.CA
        Birger Wathne birger@vest.sdata.no

for pointing me in the right direction.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dotty Pon, Applications Engineer + TGI Technologies Ltd.
SCI*NET 3000 + Voice: (604) 872-6676
Email: dotty@tgivan.wimsey.bc.ca + Fax: (604) 872-6604/6601
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Original post------------------------------------------------------

Sun managers...

Does anyone know what this message means:

Sep 30 15:57:24 aukland sendmail[1005]: NOQUEUE: SYSERR: net hang
reading from elvis: Connection timed out

aukland is an IPX running SunOS 5.1 (Solaris 2.1?) and elvis
is a Sparc2 running SunOS 4.1.1.

I am executing this hunk of code on aukland:

--------------------------------------------------------------------

(void) strcpy( tmp_str, "/usr/ucb/mail -s Dotty_Scinet_Notice dotty < " );
(void) strcat( tmp_str, email_file );

error = ( system( tmp_str ) != 0 ) ? EMAIL_ERROR: EXIT_NORMAL;

--------------------------------------------------------------------

Another strange thing that happens when I email...
My .mailrc file specifies that a copy of all my outgoing mail
is to be stored in a file called "RECORD". A copy of the outgoing
mail is logged in RECORD but I never receive anything in my
in-tray. I can view this message and the To: and From: fields
are correct.

So it seems that the mailer gets the message but it doesn't seem
to be *mailing* it.

If anyone has any suggestions, please email me at the address
listed below. I will post a summary.

Thanx!!!

Solution --------------------------------------------------------------

Looks like sendmail will hang if the message in the file does not
end with a newline. I added a few and presto - it works!



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:25 CDT