Giant sendmail log!

Posted on 2004-11-04
Last Modified: 2013-12-16
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=[], dsn=4.0.0, stat=Deferred: Connection refused by []
Whats happening??
I have to admit I dont know alot about sendmail, it jsut seemed to work for me :)
Question by:maunded
    LVL 5

    Accepted Solution

    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.
    LVL 1

    Author Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    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.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now