Kamis, 21 Februari 2013

How To Install MailScanner On Cent OS 5

 
MailScanner is a highly-respected an open source e-mail security system for use on Unix e-mail gateways and was first released in 2001. It protects against viruses spam and security vulnerabilities. It is distributed under the GNU General Public License.

Lets install required packages through RPMforge a third party RPM repository for Red Hat Enterprise Linux or CentOS. Adding the RPMforge repository will give you access to an extensive library of precompiled binaries. This article describes how to add the RPMforge repository in Red Hat Enterprise Linux or CentOS 5.

Download and Install RPMforge

1. Download and Install RPMforge repository with wget command
[root@ravisaive yum.repos.d]# wget rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

[root@ravisaive home]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
warning: rpmforge-release-0.3.6-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
2. Install RPMforge Repo by using YUM properties using yum command.
[root@ravisaive home]# yum install yum-priorities
3. Now Open file /etc/yum.repos.d/rpmforge.repo and add below line at the end.
priority=10
4. Test your configuration by using below command. You get a priority protections message in the output.
[root@ravisaive home]# yum check-update

Download and Install MailScanner

1. Go to http://www.mailscanner.info/downloads.html and Download the stable version for Cent OS or you can download using the wget command below.
[root@ravisaive home]# wget http://www.mailscanner.info/files/4/rpm/MailScanner-4.83.5-1.rpm.tar.gz
2. Now extract the download file by using below command.
[root@ravisaive home]# tar -xvf MailScanner-4.83.5-1.rpm.tar.gz
3. After extracting you will get a folder MailScanner-4.83.5-1 use cd command to go inside the folder like shown below.
[root@ravisaive home]# cd MailScanner-4.83.5-1
4. Now install required Perl modules from RPMforge using YUM command like shown below
[root@ravisaive MailScanner-4.83.5-1]# yum install perl-Archive-Zip perl-DBI perl-DBD-SQLite perl-Filesys-Df perl-Net-CIDR perl-OLE-Storage_Lite perl-Sys-Hostname-Long
5. Now install Mailscanner with below command.
[root@ravisaive MailScanner-4.83.5-1]# yum install --nogpgcheck mailscanner*

Thats It! Your Mailscanner is installed....

0 komentar:

Posting Komentar