Hi All,
We do have some functions in spassassin-toaster ver 3.1.0 that
are not working correctly. Ver 3.0.4 works fine but has a
security hole.
I do have a test box with all the functions working with a CPAN
install of ver 3.1.0. It should not be too complicated to
duplicate this install.
First, remove spamassassin-toaster:
rpm -e --nodeps spamassassin-toaster
Be sure that /var/qmail/supervise/spamd is removed also.
Second, close firewall port tcp 783
Spamassassin needs this closed or it chokes communicating
on 127.0.0.1:783
Third, install ver 3.1.0 from CPAN:
Note: If this is the first connection to CPAN, you will have
to do the setup.
cd /root
perl -MCPAN -e shell
install Mail::SpamAssassin
quit
Forth, you will find the following files at:
http://www.qmailtoaster.com/spam-fix/
spamassassin-init -> /etc/rc.d/init.d/spamassassin chmod 755
spamassassin-sysconfig -> /ect/sysconfig/spamassassin chmod 644
local.cf -> /ect/mail/spamassassin/local.cf (already configured)
v310.pre -> /ect/mail/spamassassin/v310.pre (already configured)
Some utilities, in case you screw up like I do :)
list-perl-mods.pl -> util to show installed perl modules
remove-perl.pl <module name> -> util to remove perl module
Fifth, make it run at boot:
chkconfig --add spamassassin
chkconfig spamassassin on
chkconfig --list spamassassin (should show run 3 4 5 on)
service spamassassin start
spamassassin -D --lint
check the modules that your system is missing to use all
of spamassassin's filter functions and add them from CPAN
by the same method as installing Mail::SpamAssassin
Feel free to change local.cf to your liking, I put it up just
so you will have a good place to start.
When you have everything running, you will want to comment the
line in /etc/mail/mailfilter 'cc |"sa-learn --spam"' so you don't
send those messages to sa-learn twice.
The mailfilter will still delete the spam over a score of twelve
or greater.
I hope this helps. This may be the best way to install spamassassin.
Regards,
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]