Solved

problem with sendmail

Posted on 1997-11-17
2
311 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now