Brian:

You have to edit three lines in the script - I have marked them with "****" below. These are the lines that have RED entries in the QMR procedure. The qms-config-script must be copied to the qmail-scanner-1.22 distribution directory (/downloads/qmailrocks/qmail-scanner-1.22), and it has to be executed from that directory. The only file it references is the "configure" script that comes with qmail-scanner.

If you want to send me a copy of your shell session including the errors, I can tell you more. But in general, it is very straightforward and easy to use.

Mark Teel
MST


Brian Svidergol wrote:

All-

I have a Qmail installation based on the qmailrocks.org installation
guide.  I am running this installation on Red Hat 9 and have all the
necessary patches and updates to function properly on the platform,
etc.

I've run into a problem trying to add Qmail Scanner.  I have all of
the necessary prerequisites and am planning to use Mark Teel's
qms-analog patch.  The eventual goal is to have Clam Antivirus,
SpamAassassin, and Qmail Scanner (and then config Qmail to use the
scanner).  I already have Clam and SpamAssassin installed and
functional (but not in use).

Right now, qms-analog and the qms-analog patch are installed.  I am
using Mark Teel's config script to do the QMail Scanner install.  The
script is called "qms-config-script".

Here is the script:

#!/bin/sh

if [ "$1" != "install" ]; then
INSTALL=
else
INSTALL="--install"
fi

****./configure --domain <yourdomain.com> \
****--admin <postmaster> \
****--local-domains "<yourdomain.com>,<mail.yourdomain.com>" \
--add-dscr-hdrs yes \
--dscr-hdrs-text "X-Antivirus-MYDOMAIN" \
--ignore-eol-check yes \
--sa-quarantine 0 \
--sa-delete 0 \
--sa-reject no \
--sa-subject ":SPAM:" \
--sa-delta 0 \
--sa-alt yes \
--sa-debug no \
--notify admin \
"$INSTALL"

I edit the file changing "yourdomain.com" to the actual domain I'm
using. I save the file and run the script using ./qms-config-script. This is the error I get:


./qms-config-script: line 9: yourdomain.com: No such file or directory

(It actually says my domain name, not "yourdomain.com")

The strange thing is that it is referencing a file or directory but I
don't see why or how.

Anybody have any experience utilizing this script?  Or, should I just
go the old fashion route to install Qmail Scanner?

Here is a link to the installation guide referencing Qmail Scanner:
http://www.qmailrocks.org/qmailscanner_rh.htm

Thanks.


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general





------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to