The installation script install-f-prot.pl can automatically configure [sendmail|postfix|qmail] for in-transit scanning. This section describes how to do this manually.
In-transit mail scanning in Qmail can be achieved using the f-prot-qmail application. To achieve this functionality, f-prot-qmail must be put in place of qmail's qmail-queue utility while retaining the original qmail-queue program backed up as qmail-queue.orig.Note that the command # mv qmail-queue qmail-queue.orig must NOT be changed while installing.
Here is the procedure:
# cd /var/qmail/bin
# mv qmail-queue qmail-queue.orig
# cp /usr/local/f-prot/tools/f-prot-qmail ./qmail-queue
# chown qmailq.qmail qmail-queue
# chmod 4711 qmail-queue
Now make sure you have scan-mail.pl running with the -server option, and f-protd is running as well. If they are, you should be able to make a connection to 127.0.0.1:11200 for scan-mail.pl and 127.0.0.1:10200 for f-protd.
The f-prot-qmail program will make a copy of each message in /tmp, contact the Mail Scanner at port 11200 and supply the Mail Scanner with the message. When the Mail Scanner has finished rewriting the message, the f-prot-qmail program will start the original qmail-queue program and supply it with the rewritten message.
Scan-mail.pl uses f-protd to do the actual virus scans. Make sure f-protd is running before starting the Mail Scanner.< Previous I Back to Index I Next >