BYTE.com
RSS feed

Newsletter
Free E-mail Newsletter from BYTE.com
Email Address
First Name
Last Name




 
    
             
BYTE.com > Features > 2003

Fighting Viruses with MailScanner

By Alexander Prohorenko

October 6, 2003

(Fighting Viruses with MailScanner :  Page 1 of 1 )



So, one day you get tired of Klez-s viruses and you decide to put anti-virus software on your servers, so no viruses will be able to get to users' mailboxes, and will not from there continue populating into the corporate network, creating headaches for you and all your employees. Good choice! But what will you install? From all the anti-virus products available I choose the open source MailScanner utility—it works, and it works nicely in partnership with other virus-fighting tools.

MailScanner is actually just a list of Perl scripts, which can be used with any combination of 14 different virus scanners such as Sophos or McAfee. MailScanner also works as a spam filter. This article will walk through installation and setup of MailScanner on SuSE Linux 7.2. This Linux distribution came with the anti-virus interface Amavis, but that requires modification of the Mail Transport Agent's configuration files. Not very scary, but why should we do that, if we have another way?

In theory, all anti-virus interfaces work the same way as the others: First of all it puts the incoming message somewhere, then it checks the message with MailScanner or Amavis, then a clean letter goes back to the MTA for delivery to the user. Whether infected messages will be deleted or disinfected depends on your settings. This setup can work by adding rules into the MTA configuration script, or by running the MTA with special arguments—it doesn't matter.

Well, so as mentioned above, we have SuSE Linux 7.2, sendmail as the MTA, McAfee as the virus scanner and MailScanner for message handling. First of all we have to install McAfee. That's easy—by using the default settings of the installation script, McAfee will install itself into /usr/local/uvscan. We will not change anything. Then, we will download MailScanner 4.24 and unpack it somewhere. After that we have to copy the "mailscanner" directory into, for example, /opt. When finished with this, we will copy all scripts from McAfee to the directory where MailScanner is installed.

 Page 1 of 1 


BYTE.com > Features > 2003
Dr. Dobb's Media Center
BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE: Volume 2 - Heuristic Algorithms
The Best of BYTE: Volume 2 - Heuristic Algorithms
In this volume of Best of BYTE, we explore the emergence of some heuristic algorithms. Although we have only scratched the surface of this intriguing subject, we hope we've suggested the potential of the synthesis of heuristics and algorithms.

© 2008 Think Services, Privacy Policy, Terms of Service, United Business Media Limited
Site comments: webmaster@byte.com
Web Sites: BYTE.com, dotnetjunkies.com, Dr. Dobb's Journal, SD Expo, Sys Admin, sqljunkies.com, Unixreview



MarketPlace
Try Numara FootPrints 9, The ITSM software that Delivers Real Value, Flexibility and Results.
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7�.
Fast online exception analysis. Capture customer crash data online.
One Stop to Buy All Your Business IT Solutions. Browse Through Dell's Best Deals Online Now!
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.
Wanna see your ad here?
 

web2