yum-complete-transaction

Using yum to manage installing,upgrading or removing packages in Linux is a great little tool. Sometimes when running a yum transaction you may get a warning that you need to run “yum-complete-transaction”as you have pending or incomplete transactions.

Simply running yum-complete-transaction will not do the trick if you have not first ran

[...]

Sending an email using mutt from the cli

Sometimes I have the need to send an email with an attachment directly from the console,to do this I use a small email client called “mutt”it can be installed in Centos using;

[...]

Delete MAILER-DAEMON emails from the postfix queue

I often am faced with deleteing mails from MAILER-DAEMON that are going to non existant domains in my Postfix queue. Rather than manually deleting each email by hand,I now use a little script that does the job for me.

All I do now is type in “delmd”without the quotes and all the [...]

Virtualmin Bleeding Edge Packages

I have just been working on a site that needs PHP 5.2 or above. The stock  repositories for Centos that are provided by Virtualmin do not contain the PHP version I needed. However they do provide a Bleeding Edge packages,these must only be used if you know what you are doing as many of [...]

Postfix Email Queue

To check how many emails have been queuing in Postfix (an email server for Linux) and for what period of time you can use the following command

#qshape deferred | head

The above command will produce the following;

The T represents time in minutes

The Total represents how many emails have been [...]