Getting Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL error

long story short, i've got a redhat enterprise server running sendmail (with mailscanner/spamassassin/clamav/mailwatch) and its been fine and happy for several months and pushes out something to the tune of 20,000 messages a day but coming back from the holiday's, i noticed about 450 messages logged in the outbound queue (where mailscanner puts its emails after its scanned them for viruses/spam).  they all have the same error and subject line but different sizes.  here is a copy of my mailwatch log:

     11/29/04 00:22:27   Postmaster notify: see transcript for details Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL 18.1Kb 488 00:05:20
     11/29/04 00:24:39   Postmaster notify: see transcript for details Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL 9.1Kb 491 00:05:11
     11/29/04 00:25:36   Postmaster notify: see transcript for details Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL 5.2Kb 492 00:05:11
     11/29/04 00:26:09   Postmaster notify: see transcript for details Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL   20.2Kb 488 00:05:20

they look like NDR's but why are they stuck and what is causing this?  its also making hte server load go a little high so the delivery of emails is slowing down and i'd like to get it resolved as quickly as possible.  Any ideas?

Oh, also, this box is not hosting anything itself.  its a relay only server so it passes all of its mail to other mail servers. no one is POPing off of it.
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.

Are you using procmail rules? I'd think not on a relay server since procmail is a local mailer that does final delivery of a message to a user's mbox. The actual error messages for these should be in the postmaster's mail. What do they say?
JaidenkellAuthor Commented:
The postmaster mailbox is huge (200,000 messages in it totaling a little over 2.1 gigs.  is there an easy, automatic way to prune this?), but i looked at the most recent days in it and they are all basically spam bouncebacks from our other servers telling the relay server that the email address doesn't exist.  Odd thing (maybe this is the problem) is that there are no emails in there from today, only the 28th.  is my mailbox at its limit or something?.

its now gone from 450 to 950 emails in the outbound queue, and it still looks like hte bulk of them are NDR's or delivery reports.  
The Postmaster inbox size is probably the cause of the failure of procmail since it is in the 2Gb range. What I'd do at this point is to 'cp /dev/null /var/spool/mail/root' (assuming postmaster is aliased to root to clean out the inbox. If it is the size, as I suspect, that should solve the problem. Then make sure that someone reads root's mail frequently and keeps the inbox cleaned out.

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
JaidenkellAuthor Commented:
That was it. i'm guessing the /dev/null is the nice way of deleting and recreating the root mailbox?  Well, it looks like its working fine now.  Thanks for the help!
'cp /dev/null /var/spool/mail/root' is just a way of emptying the file while preserving its ownership & permissions. /dev/null is just an endless source of nothing. So a copy from it to the file results in an empty file.
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
Email Servers

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.