Solved

problem with sendmail

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

Suggested Solutions

Title # Comments Views Activity
phantom space used up on RHEL?  (du shows no space used) 1 91
Parsing a file using ksh 10 82
Solaris 10.  Nmap installation fails 2 84
unix shell script 4 40
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…
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

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