Now for the most complicated aspect of the whole exercise in my view - setting up MailWatch. Before commencing, if you're creating this within a VM I highly advise you take a snapshot of your system before starting. If you're doing this on physical hardware create an image of your current state using backup imaging…
Read more
CentOS 6.4 Email Gateway (Part 5)
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