Solved

problem with sendmail

Posted on 1997-11-17
2
327 Views
Last Modified: 2013-12-27
Sendmail seems to be "locking up" every minute or so, e.g
if you telnet on port 25 you will get a sendmail prompt, then if you do the same again 30 secs later it says connecting to xxx.xxx.xxx.xxx and does nothing else, if you then restart sendmail, it will be ok for about 2-3 mins then stop working again!

We are running sendmail 8.8.7 on a sun sparc 20 running solaris 2.5.

It was working fine until now :(
0
Comment
Question by:ianfoster
2 Comments
 

Accepted Solution

by:
pvenezia earned 100 total points
ID: 2007840
Sounds like you may have a problem with your nameserver. Check the server designated in /etc/resolv.conf as the primary name server. One of two things might be happening:

1) The primary DNS server listed in /etc/resolv.conf is not answering queries, causing a timeout every time sendmail tries to lookup a name (sendmail *does* do resolution for just about every function, incl. mailq. The resolution is provided by the secondary listed.

2) There is an error in a host or in-addr.arpa file on the nameserver. Check the logs on the server for named errors. It might be a bad $INCLUDE, or other syntax error, which will allow named to run, but hork sendmail.

Just about every time I see a slowdown in sendmail execution (waiting 30 secs-1 minute to produce a mailq, or send a message with sendmail -v) it's the fault of the nameserver.
0
 

Author Comment

by:ianfoster
ID: 2007841
Seems to have started working again without touching a thing!
Good suggestions though, I will keep them in mind for the next time something goes wrong!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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.

856 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