Solved

Timeout from SMTP on HP-UX

Posted on 1998-09-28
7
646 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to check for shares on HP-UX 1 75
MarkLogic 1 118
Unix Script: Loop over all days of a month 17 132
Wrap Oraccle SQL*Plus executable Command 4 104
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

739 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