We're now ready to install and configure MailScanner. Firstly we'll pre-install the packages required by MailScanner. Open up Putty and input the following: yum install perl-Archive-Zip perl-DBI perl-DBD-SQLite perl-Filesys-Df perl-Net-CIDR perl-OLE-Storage_Lite perl-Sys-Hostname-Long perl-Sys-SigAction perl-MIME-tools You'll need to install wget for the next procedure to work: yum install wget We need to install a few other…
Read more
CentOS 6.4 Email Gateway (Part 3)
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