[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Giant sendmail log!

Posted on 2004-11-04
2
Medium Priority
?
256 Views
Last Modified: 2013-12-16
Hi,
I have an usrgent problem I need to attend to, but I dont really know whats happening.  Ill get to the point.
My sendmail logs are filling up rather quickly, I only checked them today, but one log was over 500Mb!  Its full of this:
Nov  4 19:24:48 smail03 sm-msp-queue[6466]: iA35A3Z3006875: to=postmaster, delay=1+03:28:21, xdelay=00:00:00, mailer=relay, pri=2553201, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Whats happening??
I have to admit I dont know alot about sendmail, it jsut seemed to work for me :)
0
Comment
Question by:maunded
2 Comments
 
LVL 5

Accepted Solution

by:
paranoidcookie earned 2000 total points
ID: 12491944
Sounds like there is an error in your sendmail configure and admin messages are buliding up in the mail queue.

Run mailq to check the state of your mailq

Also post your config file s we can see if there are an errors.

Also have a look at programs like logrotate which can roll over your log files.
0
 
LVL 1

Author Comment

by:maunded
ID: 12492039
Cheers!
The sendmail config was only listening on the eth0 address, so admin messages were building up in the queue.  There were over 26000 of them!!  Deleteing them was a bit of a slow task, but its done.
Thanks for pointing me in the right direction.
D.
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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

872 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