Monthly Archives: January 2014

linux du command

du -hs *

When in the folder you want to query, this command  gives you a nice list of the folders and how much space they take up


sendmail postfix qmail , some commands…

Here are some commands for qmail

get mail q total mail in queue


display all mail in queue


delete messages by  subject line

/usr/local/psa/admin/bin/mailqueuemng -S”text here”

qmail alternate commands

this displays all the mails


this displays a total of all the mails in the q

mailq |tail -1

To remove all mail from the queue

postsuper -d ALL

where i got all this from