The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to use parameters in command line while submitting a report sreenusola UNIX for Dummies Questions & Answers 1 09-17-2008 02:48 PM
OLS: Kernel documentation, and submitting kernel patches iBot UNIX and Linux RSS News 0 07-25-2008 11:10 AM
submitting data during a program run Rob W Shell Programming and Scripting 2 12-03-2007 04:59 PM
Submitting jobs remotely...Experts help reqd arijit UNIX for Advanced & Expert Users 3 02-09-2006 01:02 AM
Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) Vetrivela UNIX for Advanced & Expert Users 2 02-15-2005 10:43 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-07-2009
john_exonets john_exonets is offline
Registered User
  
 

Join Date: Jul 2009
Location: Redmond, WA, USA
Posts: 4
Sendmail not submitting Email on '.'

I have several HP/UX nodes running Sendmail 8.13 ...some work fine, some don't.

When an Email is coming in, the 'DATA' command never ends. The other side of the connection gets to the point where it enters the '.' on a line by itself, but sendmail doesn't accept it...if fact it keeps on holding the connection open like its expecting more data. Eventually the message times out and the system closes the connection. Of course, the big problem is that the other side thinks its successfully sent the message, when in fact the system aborted the message.

I've tried other characters, control characters...nothing seems to close the message for delivery.

When I compare the /etc/mail/sendmail.cf files from those nodes that do work and those nodes that don't, they are identical! ...so I'm guessing it has to be something else.

Anyone every run into this issue?? its a real head scratcher for us.
Thanks for your Help!
-- John
  #2 (permalink)  
Old 07-07-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,568
Something to do with users customisation? or bad .mailrc ?
  #3 (permalink)  
Old 07-07-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
Sendmail is not point-to-point, there is no direct connection to hold open.

If the sending side is a script, please post the script.
  #4 (permalink)  
Old 07-07-2009
john_exonets john_exonets is offline
Registered User
  
 

Join Date: Jul 2009
Location: Redmond, WA, USA
Posts: 4
"there is no direct connection to hold open." ...Huh? I guess it depends on how you define things. If your Email server is going to transfer an Email to my Email server, it opens a TCP connection to port 25 on my server and using the SMTP protocol, holds that connection open until my server either closes the connection or yours does.

In this particular case, your server starts the process (I.E. MAIL FROM:... RCPT TO: ... DATA ...) but when you send the '.' on its own line to signal the end of the message, my server does nothing like its thinking the '.' is still part of the 'DATA' segment. Since your server thinks its already sent the message, its waiting to see the '250 OK' message back from my server, but my server is still accepting input for some reason. One side or the other times out and closes the connection. My server aborts the message and never sends it on. Your server (may) think its successfully sent the message and deletes it. Big problem for me I hope that clarifies things.
  #5 (permalink)  
Old 07-08-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
How precisely are you creating the original email message?
When precisely does the hang take place.

The sendmail program will first put the complete message onto a queue on the source computer. It will then negotiate with the appropriate destination computer and open a connection.
  #6 (permalink)  
Old 07-08-2009
john_exonets john_exonets is offline
Registered User
  
 

Join Date: Jul 2009
Location: Redmond, WA, USA
Posts: 4
This is for INBOUND emails. Here's my last test session:

host01:/home/jd $telnet localhost 25
Trying...
Connected to localhost.
Escape character is '^]'.
220 host01.xxxxxx.com ESMTP Sendmail @(#)Sendmail version 8.13.3 - Revision 2.001 - 2005/02/12/8.13.3; Wed, 8 Jul 2009 15:09:29 -0400 (EDT)
EHLO test.com
250-host01xxxxxx.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE 4096000
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
MAIL FROM: jd@test.com
250 2.1.0 jd@test.com... Sender ok
RCPT TO: jd@blatt.com
250 2.1.5 jd@blatt.com... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
this is a test message

.

.

at this point, nothing happens...the connection will eventually timeout and close the connection. I've tried it from three different hosts and two different terminal programs...no change in results. Using different FROM: and TO: addresses also have no effect.

Thanks for the help
Reply

Bookmarks

Tags
hpux, sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0