Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

problem with sendmail

Posted on 1997-11-17
2
Medium Priority
?
348 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 300 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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 …
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.
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.
Suggested Courses

885 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