Setting up AMaViS on Openexchange Server
Support knowledgebase (rsimai_slox_amavis)
Applies to
Openexchange Server: Version 4
Concern
Installation of AMaViS with Antivir (or another supported virus scanner) on Openexchange Server.
Requirements
First, install all available updates, e.g. with YaST Online Update (YOU).
Procedure
Package Installation
Install the package amavisd-postfix
from the Openexchange Server CD with YaST.
Dependencies should be resolved automatically. If this is not the case, the following packages must be installed
manually:
Openexchange Server CD
- amavisd-postfix-20020531-104.i586.rpm
- antivir-2.0.3-15.i586.rpm
- arc-5.21e-444.i586.rpm
- perl-Compress-Zlib-1.16-147.i586.rpm
- perl-Convert-UUlib-0.213-26.i586.rpm
- perl-Archive-Tar-0.22-216.i586.rpm
- perl-Convert-TNEF-0.17-27.i586.rpm
- perl-Archive-Zip-1.01-28.i586.rpm
UnitedLinux CD 1
- lha-1.14i-297.i586.rpm
- unace-1.2b-513.i586.rpm
- unarj-2.43-534.i586.rpm
- unrar-3.00-53.i586.rpm
- zoo-2.10-602.i586.rpm
- sharutils-4.2c-436.i586.rpm
Configuration of the Virus Scanner
First, start the amavisd
service with the command
rcamavis start
Log in to the web frontend as the user cyrus
and change to the dialog
"Mail"
--> "Postfix"
. In this menu, activate the virus
scanner and click Save
. The Postfix service will read and activate the
change.
-
Automatic Start-up of the Daemon
Use the command
insserv -d -f /etc/init.d/amavis
to insert the link needed for starting AMaViS in the runlevels 3 and 5.
This can also be done in the YaST runlevel editor.
Configuration for Other Scanners
If you have followed these instructions, your server has been configured to use the virus scanner antivir
.
To replace antivir with a different scanner, edit the file /etc/amavis.conf
as follows:
Change the entry
# H+BEDV AntiVir
$antivir = "/usr/bin/antivir";
to
# H+BEDV AntiVir
$antivir = "";
and enter the path of the program you want to use. Please refer to the documentation of the respective program.
Testing the Installation
Test the operation of the virus scanner with a test pattern such as eicar.com.
Attention: You conduct this test at your own risk. Refer to the URL below for more information.
-
Open a text file.
-
Insert the following line in the file:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
-
Save the file as
eicar.com
.
-
Send this file as an attachment to any user in the system.
-
The mail administrator should now receive an e-mail message warning against a possible virus.
This is not a real virus, but only a test that can be performed on most virus scanners.
Nevertheless, you should never send this test file to external mail servers!
More information about this test is available at http://www.eicar.org/anti_virus_test_file.htm.
See also:
Setting Up the Virus Scanner AVMailGate on Openexchange Server
Keywords: SLOX, OPENEXCHANGE, VIRUS, AMAVIS, ANTIVIR
Categories:
SuSE Linux IMAP Server
SDB-rsimai_slox_amavis, Copyright SuSE Linux AG, Nürnberg, Germany
- Version: 19. Nov 2002
SuSE Linux AG - Last generated: 30. Jul 2003 by glazzar (sdb_gen 1.40.0)