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 [...]

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 [...]

How to delete an email from a postfix queue

The below is what I do to delete an email from a Postfix queue.

First we need to locate the email that you want to delete from the postfix queue

mailq

[...]

Custom Spamassassin rules

Custom rules can be created for Spamassassin,I use a hand written list thats customised for my needs.

The location of the file is /etc/mail/spamassassin/98_myrules.cf

The file name is not important,the format of the file is as follows:-

body LocalStockRule /putcompanynamehere/ describe LocalStockRule Local Stock Name Block score LocalStockRule 15.0 The above rule [...]

Install ssh client on Linpus

Linpus on an Acer Aspire One netbook,does not ship with an SSH client. To be fair its not probably needed by the average user. When I use my wifes AA1 to check my linux mail servers (postfix). I found that I could not SSH so had to install it using the below guide.

[...]