Giant sendmail log!

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 :)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
maundedAuthor Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.