This tutorial will focus on setting up Mail Scanner along with Clam Antivirus and Spam Assassin in a Cent OS system. If you are interested in setting up this system on Ubuntu, refer to this tutorial instead.Installing Mail Scanner is a lengthy process, but going forward step by step should make the deployment process easy.Steps to install Spam Assassin, Mail Scanner, Clam AV 1) Install all dependency packages on the server using the below command.# yum install -y yum-utils gcc cpp perl bzip2 zip unrar make patch automake rpm-build perl-Archive-Zip perl-Filesys-Df perl-OLE-Storage_Lite perl-Sys-Hostname-Long perl-Sys-Sig Action perl-Net-CIDR perl-DBI perl-MIME-tools perl-DBD-SQLite binutils glibc-devel perl-Filesys-Df zlib zlib-devel wget mlocate Configure postfix for Mail scanning 1) To configure postfix mail scanning, header check will help to hold all incoming mails that postfix receives.If you’re upgrading from a previous version, read upgrading instructions.You must have a working Mail Scanner set-up and have running copies of My SQL, Apache, PHP (with My SQL and GD support) and for Mail Scanner to be able to use a database you need Perl DBI and DBD::mysql; you also need Perl Encoding:: Fix Latin to deal with email subjects that contain characters in more than one encoding and Perl Digest:: SHA1 for generation of view tokens.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.
Mail Scanner relies on pre-installed anti-virus and anti-spam software to check incoming and outgoing emails for malicious content or patterns of spamming.
Jun 13 hoshi Mail Scanner: Config: calling custom init function Mail Watch Logging Jun 13 hoshi Mail Scanner: Initialising database connection Jun 13 hoshi Mail Scanner: Finished initialising database connection ) This instruction should work in Debian 6 and newer, Ubuntu 12.04 and newer, RHEL 5 and 6 and Cent OS 5 and 6.
Point your browser to - you should be prompted for a username and password - enter the details of the Mail Watch web user that you created earlier, and you should see a list of the last 50 messages processed by Mail Scanner.
Several files have changed their name and location in Mail Watch 1.2.0, particularly the PHP files that are launched in cron and the Init script files.
Please read the documentation carefully to remove old files during the upgrade.