Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Use postsuper not mailq to delete messages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use postsuper not mailq to delete messages
Authored by: Mike F. on Nov 30, '06 07:53:13PM

sudo postsuper -d ALL is indeed much better!

I just happened to have a situation where my local mailserver had a couple of undeliverable mails in its queue which originated from a PHP script I was testing. The mails where undeliverable because the recipient mail server refuses to accept mail from my IP without authentication (which is perfectly fine). All sudo mailq -q did was to try to resend the defered messages which didn't help in any way.

Not being a sendmail or postfix guru this tip came in very handy (and timely too).


[ Reply to This | # ]