We now configure Postfix so it relays the email to another server, in our case it will be a Microsoft Exchange Server. We start by editting the following file: /etc/postfix/main.cf Find: mydestination = $myhostname, localhost.$mydomain, localhost Change it to: mydestination = Find: #local_recipient_maps = Change it to: local_recipient_maps = Find: # - You redefine the…
Read more
CentOS 6.4 Email Gateway (Part 2)
We are now going to configure Postfix to act as a Gateway or a relay if you like, to our main email server which is a Microsoft Exchange Server. This has dual benefits: The Exchange Server is not directly exposed to the internet The load on our Exchange Server is greatly reduced due to Greylisting…
Read more
CentOS 6.4 Email Gateway (Part 1)
This is a 7 Step "how to" in creating an Anti-Spam Email Gateway. First step is to install a bare bones CentOS system. I chose the 32bit CentOS 6.4 Minimal Install from here: CentOS 32bit Minimal Install Once your chosen flavour of CentOS is installed and you have ensured that you have configured the system…
Read more
CentOS 6.4 Speed Up Your Website
I often get asked how to speed up a website. Here are 2 of the easiest and quickest ways to dramatically improve the performance of your website. I am assuming you have root access to either your VPS or CentOS installation. Let's begin: Edit the file /etc/httpd/conf/httpd.conf Find: KeepAliveTimeout Change To: KeepAliveTimeout 100 Close and…
Read more