CyberKnights Logo, click for background info Random banner image

CyberKnights

Modern tools.
Traditional dedication.

Previous page Home | Purpose | Linux | Products | Legality | Special | Downloads | Articles | Contact Next page

Instant AntiVirus (v0.2)

Ingredients

You will require:

Method

Install PostFix if it isn't already: urpmi postfix

Install Sophos as per the instructions that come with it. As at now, that means unpack the linux.intel.libc6.tar file and run ./install.sh in the resulting sav-install directory. Note that by default it installs the binaries in /usr/local/bin.

Explode the packages from the archive (note, this command unpacks them in the current directory): tar xvjf AMaViS-Mandrake-9.1.tar.bz2

Install the packages (this assumes that the packages are the only ones in the current directory): urpmi *.rpm

Make the directory /var/run/amavis: mkdir /var/run/amavis

Edit AMaViS' config file /etc/amavis/amavis.conf and make the following changes:

Save your changes and exit.

Start AMaViS by hand: amavis; if this starts without error and leaves you wondering what to do next, type a Ctrl-Z and bg to set it to waiting in the background. We'll come back presently and make that permanent.

In the /etc/postfix directory edit the following files:

Append a line to main.cf saying: content_filter = smtp:[127.0.0.1]:10025, which tells PostFix to shove all incoming mail through the content filter listening on port 10025 (our AMaViS-NG daemon).

Append a line to master.cf saying: localhost:10026 inet n - n - - smtpd -o content_filter=, which tells PostFix to listen on port 10026 for the returning emails and process them without first running them through any content filter.

Restart PostFix to make sure it is running and has picked up your changes: service postfix restart

Check in /var/log/mail/errors to make sure you didn't break anything.

Send some email through the system and see if it comes out scanned.

Set amavis to run on startup. The simplest way is to append a line to the /etc/rc.d/rc.local file saying: /usr/bin/amavis &>/dev/null & but you may prefer to use an init script and daemoniser wrapper. It's nicer and gives you a visual report on startup. Copy the script to /etc/init.d/ and mark it executable. Copy the wrapper to /usr/bin/ and mark it executable. Do chkconfig --add amavis so it will start automagically, or service amavis start to start it now, if your amavis process from above is not still running.

Leon's Virus Rant

News sites speak of "Computer Viruses", but they're not. They are only Microsoft Windows viruses. Linux has only a handful, and they're all obsolete. Mac has two handsful. MS-Windows has tens of thousands of the suckers.

If you do want to run MS-Windows but don't want to run a virus scanner, here are some tips which will help to defer your own personal day of reckoning:

Linux reseller Bryce Coad had audiences eating out of his hand as he demonstrated the operating system running OpenOffice.org [. . .] Igor Portugal, technical head at Linux reseller Asterisk, which made its first appearance at the show in 1999, says Orix, Linfox Logistics, the Health and Disability Commission and Vita New Zealand are among its customers. Portugal collected a wad of business cards from visitors to his stand, many of which he expected to turn into sales. — ComputerWorld Expo 2002

Last changed: 09-Sep-2008 10:29:30  Find out who links to this page. Verify for yourself that this page is pure, standard HTML, not Ruby.

[Powered by QWant]   Translate into     Linux™ Powered

No software patents! If you would like us to read email for USD$1000 per page, payable in advance, send it here.