User manual
www.grisoft.com
Copyright (c) 1992-2006 GRISOFT, s.r.o. All rights reserved.
AVG Linux Email Server / User Manual
16 
command (the version stands for the downloaded package version). 
Switch to the unpacked directory and run the 
$ ./configure –help 
command if you want to get an overview of possible configuration options. 
Run the 
$ ./configure 
command (possibly with selected options). This determines all the features 
and recognizes the 
AVG for Linux E-mail Server virus scanning software on 
your computer. 
Run the 
# ./configure –install 
command as root this time (again, possibly with other options you have 
selected before). This updates the 
qmail directory structure on your system 
and also installs the 
qmail-scanner-queue.pl script. 
You can test the installation using the 
$ ./contrib/test_installation.sh 
command in the installation directory. This will send four e-mails: one normal, 
two infected with the EICAR anti-virus test file, and one obvious spam to the 
root's address. Ideally 
Qmail-Scanner should let one through, catch the viruses, and tag the spam 
as "spammy" (if 
SpamAssassin is installed of course). As Qmail-Scanner 
initially defaults not to notifying anyone when a virus is caught, you may have 
to view the logs (e.g. syslog) to see what 
Qmail-Scanner exactly did. 
c) 
Configuration 
To enable 
Qmail-Scanner to access the e-mail queue contents the qmail-
smtpd
 daemon has to be told that qmail knows to use the qmail-scanner-
queue.pl
 script instead of the default qmail-queue binary executable. This is 
done via the TCP server control files for SMTP. See where the TCP server for 
qmail-smtpd gets its rules from according to your installation options of 
qmail mail transport agent. Edit the rule file and tell qmail-smtpd what IP 
address range (corresponding to SMTP client IP addresses) you want 
Qmail-
Scanner 
to be invoked on. You should select all the addresses to be scanned. 
A typical example of changing the rule file for the 
qmail-smtpd daemon 
follows: 
#/etc/tcpserver/smtp.rules 
# 










