How to install Mailscanner in Sendmail [ Part-5/6 ]

MailScanner is an e-mail security and anti-spam package for e-mail gateway systems. It is not designed to be run on Microsoft Windows desktop PCs. Instead, it is designed to be run on mail servers operated by companies and internet service providers (ISPs) so that all their users and customers can be protected from one place. This avoids the need for any software to be installed on individual desktop PCs at all.

This describes the steps necessary to install mailscanner on RHEL & centos.

Download MailScanner-4.54.6-1.rpm.tar.gz from the site

#tar zxvf  MailScanner-4.54.6-1.rpm.tar.gz
#cd MailScanner-4.54.6-1

Configuration: /etc/MailScanner/MailScanner.conf

The instance of sendmail which receives incoming mail queues it to /var/spool/ MailScanner uses /var/spool/MailScanner/incoming

Install sequence

1. Install a supported anti-virus package. ( Please refer the clamav installation guide )

2. Install mailscanner package, by running the "./" script contained in the distribution directory.

3. Adapt configuration to suit AV package. Edit /etc/MailScanner/MailScanner.conf and set the "Virus Scanners =" line to correspond with the installed AV package(s), eg

Virus Scanners = clamav

4. Adapt the AV wrapper to suit. If you have not installed the AV package in its default location, you may need to edit the file /etc/MailScanner/virus.scanners.conf to set the installation directory you used for your virus scanner.

5. Stop any old versions of MailScanner.

6. Stop and disable your original sendmail setup. To do this,
service sendmail stop
chkconfig sendmail off
chkconfig --level 2345 sendmail off
7. Enable and start your new MailScanner setup. To do this,
chkconfig MailScanner on
chkconfig --level 2345 MailScanner on
service MailScanner start

8. Edit /etc/MailScanner/MailScanner.conf check and edit the line below:
#%org-name% = yoursite (check and do as below)
%org-name% = howto

#%org-long-name% = Your Organisation Name Here ( comment this line and convert below)
%org-long-name% = Howto Corporation

%web-site% =

PART-1 Configure complete sendmail server in rhel.

PART-2 Creating the Certificate for secured communication(dovecot).

PART-3 Fetchmail Sample file to download the mail.

PART-4 Installation of CLAMAV antivirus.

PART-5 Mailscanner quick install notes.

PART-6 Installation instruction MailWatch & SpamAssassin.

Post a Comment

Mới hơn Cũ hơn