Subscribe Us

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 http://www.mailscanner.info/downloads.shtml

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

Configuration: /etc/MailScanner/MailScanner.conf

notes:
The instance of sendmail which receives incoming mail queues it to /var/spool/mqueue.in. 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 "./install.sh" 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% = www.howto.com



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

3 Comments

  1. Wow, superb weblog structure! How lengthy have you ever been blogging for?
    you make blogging look easy. The whole look of your site
    is magnificent, let alone the content!

    Feel free to visit my site - code syntax highlighter html

    ReplyDelete
  2. Way cool! Some very valid points! I appreciate you writing this
    post and the rest of the site is also really good.

    Also visit my site: Best Crossbow 2014 (http://bestcrossbowreviews2014.net/)

    ReplyDelete
  3. Very nice post. I just stumbled upon your blog and wished
    to say that I have truly enjoyed surfing around your blog posts.
    In any case I'll be subscribing to your feed and I hope you write again very
    soon!

    Also visit my site saleh stevens

    ReplyDelete