Jason Staudenmayer wrote:
Install, configure and start spamassassin. "spamc"
Reconfigure qmail-scanner
Copy new qmail-scanner.pl to /var/qmail/bin


-----Original Message----- From: Shai [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 11:09 AM To: [EMAIL PROTECTED] Subject: [Qmail-scanner-general]How hard is it to...


Hi,


I want to implement SpamAssassin into qmail-scanner. How would I go about
doing that?

I'm hoping to get some tips when asking this question rather then a
step-by-step way of installation.

Thank you :)
Shai


1) Install spamassassin, see the readme of spamassassin. You will need to install some perl modules before installing spamassassin, if you are running a RedHat distribution, you can install this modules from the CDs of RH.


For RH7.3 this modules are in the first CD

mount /dev/cdrom
cd /mnt/cdrom/RedHat/RPMS/
rpm -Uvh perl-HTML-Parser-3.26-2.i386.rpm perl-HTML-Tagset-3.03-14.i386.rpm
eject

Install spamassassin

Create the configuration file for spamd

echo "
skip_rbl_checks 1
required_hits 6.5
rewrite_subject 0
use_terse_report 1
dns_available yes" >> /etc/mail/spamassassin/local.cf

Start spamassassin with the same user as qmail-scanner like this:
/usr/bin/spamd -L -x -u qscand

Or, if you are running RedHat you woul use a start up file that comes with spamassassin:

sed "s/OPTIONS=..d..c..a./OPTIONS=\"\-d \-L \-x \-u qscand\"/" spamd/redhat-rc-script.sh > /etc/init.d/spamd

(the command before must be only one line)

chmod 700 /etc/init.d/spamd

chkconfig --add spamd
chkconfig spamd on

/etc/init.d/spamd start

2) Install (or reconfigure) qmail-scanner

./configure --domain yourdomain.com --install

Hope this helps.

ST









-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to