Posts

Showing posts from 2015

How to set up Open WebMail in CentOS

Image
I had originally written this tutorial for xmodulo.com Webmail interface is one of must-have services for any mail server. Most of us are used to native email client software, but what if your favorite client software is not available for any reason? For example, you have left your laptop at home, or your phone's data plan just went dry, or maybe you are just travelling. An alternative way to access a mail service in such cases would be to use the webmail interface of your mail server. As long as there is web browser with Internet connectivity, you should be able to use the webmail interface. Open WebMail  is a lightweight, open-source webmail for  Linux . The interface may be a bit old school, but Open WebMail provides the following features. Custom folders Mail filters Changing passwords Automatic mail reply (vacation/out of office responders) Contacts Support for large mailboxes Open WebMail has its own repository for CentOS/RHEL/Fedora. Package for Debian is avai

How to set up MailScanner, Clam Antivirus and SpamAssassin in CentOS mail server

I had originally written this tutorial for xmodulo.com In the world of mail servers, MailScanner is one of the best open source software for virus scanning and spam detection. MailScanner relies on pre-installed anti-virus and anti-spam software to check incoming and outgoing emails for malicious content or patterns of spamming. This makes sure that the mail server does not participate in the distribution of malware and unsolicited spam emails. It also helps preventing the mail server IP from becoming blacklisted, keeping the mail server records clean. This tutorial will focus on setting up MailScanner along with Clam Antivirus and SpamAssassin in a CentOS system. The procedure should work on RHEL as well. If you are interested in setting up this system on  Ubuntu , refer to  this tutorial  instead. Installing MailScanner is a lengthy process, but going forward step by step should make the deployment process easy. Preparing the System Before we start doing anything, it shoul

How to set up Clam Antivirus, SpamAssassin and MailScanner on Ubuntu mail server

I had originally written this tutorial for xmodulo.com . Antivirus and anti-spam protection are the among the most important security features for a mail server. Unix/Linux based mail servers are typically invulnerable to malware and viruses, and there is a very slim chance that the server itself may get infected. On the other hand, the operating system of an end user device may not always be so secured. We certainly do not want our mail server to accept or distribute malware embedded emails. So setting up antivirus software on a mail server is a must. Anti spam filters will inspect every incoming and outgoing mail for patterns of spamming. For example, spam mails usually contain a large number of recipients. Also, reverse DNS query for the domain in a spam mail does not always provide proper answers. If the spam filter software finds any mail that could be spam, it blocks the mail. This helps retaining the reputation of the mail server, as well as prevents the IP address of the