December 14, 2006 Archives

14-12-2006 15:31

clearing out the mail queue

I woke up this morning and found that I had run out of space on / on my server. OH!! Cleared some up and went off to work. Then I find I am out of space again. So digging around with du --max-depth=1 I found that /var/mail/www-data was the biggest inbox, bigger then mine which has alot in it! I checked inside it to find notifications from the server of a disconnection to mx4.hotmail or mx2.hotmail and that it will retry later. All looked like spoofing atempts from spamming servers. So what to do!

I ran mailq but that was a non-stop list of messages. So I googled around and found a way to clear the mailq.

[root@debian postfix]#  postsuper -d ALL
postsuper: Deleted: 43417 messages

Told you there was alot!!


Posted by DaveQB | Permanent Link