Solved

Timeout from SMTP on HP-UX

Posted on 1998-09-28
7
640 Views
Last Modified: 2013-12-06
I am using the SMTP on HP-UX 10.10 as my email gateway for sending out emails. Currently, there are 20 clients using outlook express on win95 for emailing. There is also a router with 64Kbps link for WAN connection. Recently, I have experience timeout message from SMTP and the email cannot be sent out. I have set the timeout interval on the
Outlook express from 1 min to 2 mins. But the same message still occur. Please advise me on how to troubleshoot this problem?
0
Comment
Question by:Megahertz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 2

Accepted Solution

by:
blowfish earned 100 total points
ID: 2007134
The timeout message is being sent from the SMTP (sendmail) daemon running on your HP-UX mailserver.  Changing time settings on Outlook will not help.  

Timeouts will occur if sendmail cannot connect to the SMTP port (25) on a remote system to deliver/forward a message.  When the  sendmail daemon time's out, it will leave the undeliverd message on the message queue (/var/spool/mqueue), and attempt to deliver it every 30 minutes for the next 5 days.  

Time-outs can occur for several reasons, such as; a network link is down, the remote host is down, or the SMTP daemon on the remote system is not running.  

If a message cannot be delivered for 4 hours, sendmail will send a warning message to the sender (Outlook user).  If a message cannot be sent for 5 days, sendmail will send a delivery failure notification to the sender (Outlook user).  This is sendmail's default behaviour, but that can be changed.  

If the warning messages are alarming your users, and you wish to disable them, then do the following on your HP-UX mailserver;

  1.  login as root

  2.  change to the mail configuration directory, and make a backup copy of the sendmail configuration file
  #  cd /etc/mail
  #  cp sendmail.cf sendmail.cf.BAK

  3.  edit the sendmail.cf file and find the following lines;
  O Timeout.queuereturn=5d
  O Timeout.queuewarn=4h

  4.  you can stop the warning messages by commenting the queuewarn line like so;

  #O Timeout.queuewarn=4h

  5.  You should not comment the queuereturn line, but you could change the time delay if you wish.  

  6.  save the file

To activate your changes you will need to stop and then start the sendmail daemon.  Do it like this;

  #  /sbin/rc2.d/S540sendmail stop
  #  /sbin/rc2.d/S540sendmail start

Hope this helps,

--frankf


0
 

Author Comment

by:Megahertz
ID: 2007135
Hello Blowfish,

Thank you for your rely.
I could not find the Timeout.queuereturn= in my sendmail.cf file.
I could only find the #return time
 The version of UNIX I am running is HP-UX 10.10.
0
 

Author Comment

by:Megahertz
ID: 2007136
cont'd
it is under the <Localizable Options> as follow:
#return time
0r5m

Is this the same as Timeout.queuereturn= option that you have mentioned.

TIA
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:blowfish
ID: 2007137
Most of my experience with Sendmail is with the Solaris version by Sun, and with the Berkely version 8.x.  The only HP-UX systems I have access to identify themselves as "HP-UX B.10.20".  The sendmail running there is (berkely) "Version 8.7.5".  

To determine your sendmail version, type the following at the command prompt (you do not need to be root for this);  

  #  /usr/lib/sendmail -d0.9 < /dev/null

I am not familiar with the lines that you have posted in your previous comment.  If you wish, you can send me a copy of your sendmail.cf via e-mail, and I'll see if I can provide any further suggestions.  You'll find my e-mail address under my profile.  

--frankf
0
 
LVL 2

Expert Comment

by:blowfish
ID: 2007138
In your original question you state that you are experiencing timeout messages from SMTP.  Where are you getting these timeout messages, and what do they look like?  


0
 

Author Comment

by:Megahertz
ID: 2007139
Hello Blowfish,

I will do the testing this weekend and let you know the outcome.
And also not to forget to you the credit.

Cheers,
MegaHertz
0
 

Author Comment

by:Megahertz
ID: 2007140
Hello Blowfish,

So far it works fine.
:>

Thanks,
megahertz
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question