MailScanner is a highly respected open source email security system design for Linux-based email gateways. It is used at over 40,000 sites around the world, protecting top government departments, commercial corporations and educational institutions. This technology has fast become the standard email solution at many ISP sites for virus protection and spam filtering.
MailScanner scans email for viruses, spam, phishing, malware, and other attacks against security vulnerabilities and plays a major part in the security of a network.
Install MailScanner
First stop and disable postfix. We will use MailScanner in the future.
2. Intsall an MTA? [1] : N
3. Install EPEL? : n
4. Install missing tnef via RPM? : Y
5. Install missing unrar via RPM? : n
6. Install missing perl module via CPAN? : Y
7. Install these missing items via RPM? : Y
8. Set permissive mode for SELinux : n
9. Specify a RAMDSIK size? [0]: 4096
10. Do you wish to install the Sendmail::Milter interface? : no
Because it was previously installed
11. Finally It is installed successfully and you will get the below details
MailScanner scans email for viruses, spam, phishing, malware, and other attacks against security vulnerabilities and plays a major part in the security of a network.
Install MailScanner
First stop and disable postfix. We will use MailScanner in the future.
# systemctl stop postfix
# systemctl disable postfix
Download MailScanner and install:# cd /usr/local/src/
# git clone https://github.com/MailScanner/v5.git
# cd v5
# cd builds
# rpm -ivh MailScanner-5.2.2-1.rhel.noarch.rpm
# /usr/sbin/ms-configure
1. Hit Enter to start2. Intsall an MTA? [1] : N
3. Install EPEL? : n
4. Install missing tnef via RPM? : Y
5. Install missing unrar via RPM? : n
6. Install missing perl module via CPAN? : Y
7. Install these missing items via RPM? : Y
8. Set permissive mode for SELinux : n
9. Specify a RAMDSIK size? [0]: 4096
10. Do you wish to install the Sendmail::Milter interface? : no
Because it was previously installed
11. Finally It is installed successfully and you will get the below details
Preparing MailScanner ...
Creating the ramdisk ...
Enabling ramdisk sync ...
----------------------------------------------------------
Initial configuration and module installation complete
See http://www.mailscanner.info for more information and
support via the MailScanner mailing list.
To finish configuring MailScanner, edit the following files:
/etc/MailScanner/defaults
/etc/MailScanner/MailScanner.conf
To activate MailScanner run the following commands:
--SysV Init--
chkconfig mailscanner on
service mailscanner start
--Systemd--
systemctl enable mailscanner.service
systemctl start mailscanner.service
To activate Sendmail for Mailscanner (if in use) run the following commands:
--SysV Init--
chkconfig sendmail off
chkconfig sm-client off
chkconfig ms-sendmail on
service ms-sendmail start
--Systemd--
systemctl disable sendmail.service
systemctl disable sm-client.service
systemctl enable ms-sendmail.service
systemctl start ms-sendmail.service
To activate MSMilter for Mailscanner (if in use) run the following commands:
--SysV Init--
chkconfig msmilter on
service msmilter start
--Systemd--
systemctl enable msmilter.service
systemctl start msmilter.service
MailScanner Official: https://www.mailscanner.info/downloads/
Comments
Post a Comment
You are always welcome to comment here, but your remarks should be relevant to the conversation. To keep the exchanges focused and engaging, we reserve the right to remove off-topic comments, or self-promoting URLs and vacuous messages.
We will try to reply to your queries as soon as time allows.
Regards,
Admin