Solved

problem with sendmail

Posted on 1997-11-17
2
332 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

Industry Leaders: 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!

Question has a verified solution.

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

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

763 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