Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

DNS server /var/spool issue


dns, spool

Thread Tools Search this Thread Display Modes
Old Unix and Linux 03-03-2013   -   Original Discussion by Junaid Subhani
Junaid Subhani Junaid Subhani is offline
Registered User
Join Date: Aug 2012
Last Activity: 2 August 2017, 11:39 AM EDT
Posts: 191
Thanks: 53
Thanked 2 Times in 2 Posts
DNS server /var/spool issue

Hello all
Currently I am working in a live production environment with 100+ Solaris servers . The environment has one DNS server and one SMTP server.

The problem that I am facing since the past 2 months is that the /var/spool/mqueue on my DNS server keeps getting full i.e. mails with name starting with qfr & dfr keeping on gathering up and I have to manually go and delete these mails.
Some sample outputs of these mail files are given below:

root@opaldn0: /var/spool/mqueue $ cat dfr238L5KN024487
Your "cron" job on mercury0 couldn't be run
can't change directory to your home directory.
Your commands will not be executed.
The error was "No such file or directory"

root@opaldn0: /var/spool/mqueue $ cat dfr237i8iY018725
Your "cron" job on mercury1

produced the following output:

create_log_dir.sh is already running.

root@opaldn0: /var/spool/mqueue $ cat qfr237oAtK019510
MDeferred: Connection timed out with mercury1.waridtel.com.
$_mercury1.waridtel.com []
MDeferred: Connection timed out with mercury1.waridtel.com.
rRFC822; debmed@mercury1.waridtel.com
H?P?Return-Path: <g>
H??Received: from mercury1.waridtel.com (mercury1.waridtel.com [])
        by opaldn0.waridtel.com (8.13.8+Sun/8.13.8) with ESMTP id r237oAtK019510
        for <debmed@mercury1.waridtel.com>; Sun, 3 Mar 2013 12:50:10 +0500 (PKT)
H??Received: (from debmed@localhost)
        by mercury1.waridtel.com (8.14.4+Sun/8.13.8/Submit) id r237o5Dc026496
        for debmed; Sun, 3 Mar 2013 12:50:05 +0500 (PKT)
H??Date: Sun, 3 Mar 2013 12:50:05 +0500 (PKT)
H??From: Backend BINs operator for mediation <debmed@mercury1.waridtel.com>
H??Message-Id: <201303030750.r237o5Dc026496@mercury1.waridtel.com>
H??To: debmed@mercury1.waridtel.com
H??Subject: Output from "cron" command
H??MIME-Version: 1.0
H??Content-Type: text/plain

It seems that the issue is somewhat related to crons.

Does anyone know how I can get rid of such mails ? I have to empty the /var/spool/mqueue directory every 7-8 hours since the number of mails reaches 50,000 +
Sponsored Links
Old Unix and Linux 03-04-2013   -   Original Discussion by Junaid Subhani
MadeInGermany MadeInGermany is offline Forum Staff  
Join Date: May 2012
Last Activity: 19 November 2017, 9:36 PM EST
Location: Simplicity
Posts: 3,824
Thanks: 318
Thanked 1,281 Times in 1,159 Posts
You are saying your DNS server is getting these mails from other hosts like mercury1?
Assumed the DNS server is not the SMTP server, I suggest to stop the sendmail listener on the interfaces, in /etc/mail/sendmail.cf

O DaemonPortOptions=Addr=, Name=MTA-v4, Family=inet
O DaemonPortOptions=Addr=, Port=587, Name=MSA, M=E

And restart sendmail.
This will protect your server from further mails, and from DoS attacks on the sendmail port.
The /var/mail/mqueue will grow on the other (wrongly configured) hosts like mercury1.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/var/spool/mqueue issue Junaid Subhani Solaris 3 12-06-2012 12:13 PM
BIND DNS Server issue on Solaris 10 h@foorsa.biz Solaris 3 11-18-2011 06:58 AM
/var/spool/clientmqueue maooah Solaris 1 01-31-2011 01:32 PM
/var/spool/mail siba.s.nayak UNIX for Dummies Questions & Answers 2 04-19-2009 04:15 PM
/var/spool/mqueue !!! Wingman21 UNIX for Dummies Questions & Answers 3 06-11-2002 10:47 AM

All times are GMT -4. The time now is 02:01 AM.