Page 2 of 2

Re: Nagios filling up /var/spool/mqueue

Posted: Tue Sep 25, 2012 11:10 am
by scottwilkerson
The items in /cache/logwatch aren't part of the Nagios XI install but may be part of your standard install..

Can you run the following to determine your MTA

Code: Select all

ls -l /etc/alternatives/mta

Re: Nagios filling up /var/spool/mqueue

Posted: Tue Sep 25, 2012 12:32 pm
by disrael
tmproot@usa0300lv725>ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 27 Mar 1 2012 /etc/alternatives/mta -> /usr/sbin/sendmail.sendmail

I will speak to our datacenter regarding those files.

Re: Nagios filling up /var/spool/mqueue

Posted: Tue Sep 25, 2012 12:50 pm
by scottwilkerson
Can you run

Code: Select all

service sendmail status
If it is not running, run

Code: Select all

service sendmail start

Re: Nagios filling up /var/spool/mqueue

Posted: Tue Sep 25, 2012 1:06 pm
by disrael
interesting, I wonder how it stopped.

-Doron

Re: Nagios filling up /var/spool/mqueue

Posted: Tue Sep 25, 2012 1:08 pm
by scottwilkerson
That should fix the problem...

Re: Nagios filling up /var/spool/mqueue

Posted: Mon Apr 08, 2013 9:04 am
by jbennett
I normally don't like to piggy back on someone elses threads, but it seems like this would be a valuable addition to troubleshooting in this instance.

I'm noticing our maillog is growing rather large as well. I've messed around with rotation/compression optons, but I'm noticing a number of connection refused entries in my maillog.

I'm getting connection refused to 2 different mail servers on our system but emails are being sent just fine. Is there a configuration somewhere that's causing this that I haven't caught yet?

Code: Select all

Apr  8 08:15:58 nagiosserver sendmail[7653]: r33FRYYn004946: to=<[email protected]>, ctladdr=<[email protected]> (501/100), delay=4+21:48:24, xdelay=00:00:00, mailer=esmtp, pri=5880586, relay=mail2.company.org., dsn=4.0.0, stat=Deferred: Connection refused by mail2.company.org.
Apr  8 08:15:58 nagiosserver sendmail[7653]: r33FPLIf002839: to=<[email protected]>, ctladdr=<[email protected]> (501/100), delay=4+21:50:37, xdelay=00:00:00, mailer=esmtp, pri=5880586, relay=mail1.company.org., dsn=4.0.0, stat=Deferred: Connection refused by mail1.company.org.
(if this should be a new thread, please pardon me and feel free to split off)

Re: Nagios filling up /var/spool/mqueue

Posted: Mon Apr 08, 2013 2:43 pm
by slansing
Hmm, odd as well, would you mind splitting this off into a new thread? "phpbb3 won't allow us to break someones reply off and force a thread creation...I don't believe."