Now we are going to install and configure our greylisting system. We are going to be using Postgrey, but there are numerous ones out there to choose from, I just find Postgrey simple to configure and manage. Greylisting I believe, will prevent more spam than any other anti-spam measure. It works on the simple principle…
Read more
CentOS 6.4 Email Gateway (Part 4)
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