Huge Sendmail Queue Problem
Posted on 2006-07-20
I need some help regarding Sendmail on a debian box.
We had a client complain about slow email delivery times so I looked into the issue. I had a look at the mailq and it never loaded. Then I looked further ..
mail:/var/spool/mqueue# ls | wc -l
227 THOUSAND emails in the queue. What in gods name?
I've had a look further and most are bounce messages, trying to send to tell external users that bob@mycompany doesn't exist! Aren't they supposed to try for 3 or 4 days and then be deleted?
Anyone have any idea's about how to clear this? And most importantly, what settings or permissions to check why sendmail isn't removing items from the queue.
Any help would be much appreciated.