All posts by Paul

How to use “Tail” Command

Have you ever needed to look at the last entries in a log file.

Of course you have.

For example you want to see the last errors in the /var/logs/mail.log file

If you open it with NANO or some other txt editing programme you will have to scroll all the way to the bottom.

AND if more entries are logged while you are already in the file you will not see them!

This is a pain

Continue Reading

If you run your own mail server you’ll want it to run spam filtering software to reduce the number of unsolicited emails your users receive.  SpamAssassin is an effective spam filter that’s relatively easy to install and run.

This article was written for a CentOS 6.0 server running Postfix and Dovecot, but SpamAssassin can work with other operating systems and is compatible with most other common mail server software.



The first thing we will want to do is run an update on our CentOS distribution if we haven’t already.

sudo yum update

Once the distribution has been updated, we will want to install SpamAssassin using yum.

sudo yum install spamassassin

Now that we have installed SpamAssassin onto our mail server we will need to configure the SpamAssassin rules within the file to set filter preferences. Continue Reading