Hi All,

spam-sync, in /etc/cron.hourly, is not necessary with spamassassin ver:
3.1.0 and can be removed. I will remove it from the rpm when I return
home.

I have included some information that may be of help to some of you. It is
not necessary that you use all the options I show here, but may be helpful
the options you do use.

Regards,

Nick

Here is a sample local.cf with most options, notes and troubleshooting:

~~~~~~~~~~~~ local.cf~~~~~~~~~~~~~~~~~~~~~~~~
# spamassassin-toaster-3.1.0
#
# local.cf for bayes, auto-whitelist, pyzor, DCC
# and Razor2 support
#
# Nick Hemmesch <[EMAIL PROTECTED]>
# December 10, 2005
#

ok_locales all

# skip_rbl_checks must be 0 to use network checks
# for DCC and Razor2

skip_rbl_checks 0

required_hits 5
report_safe 0
rewrite_header Subject ***SPAM***

# If DCC is installed and firewall INPUT port udp 6277 is open
# run: 'cdcc info' and you hsould see dcc1.dcc-servers.net,
# . . . more servers

use_dcc 1

# If pyzor is installed

use_pyzor 1
pyzor_options --homedir /etc/mail/spamassassin/pyzor

# After creating ~/spamassassin/pyzor
# run: pyzor --homedir /etc/mail/spamassassin/pyzor discover

# If Razor2 is installed

use_razor2 1

# After creating ~/spamassassin/.razor
# run the following:
#
# razor-admin -home=/etc/mail/spamassassin/.razor -create
# razor-admin -home=/etc/mail/spamassassin/.razor -discover
# razor-admin -home=/etc/mail/spamassassin/.razor -register

# Use auto-whitelist
# Use path statement for sitewide rules

use_auto_whitelist 1
auto_whitelist_file_mode 770
auto_whitelist_path /etc/mail/spamassassin/.spamassassin/auto-whitelist

# Use bayes filtering
# Use path statement for sitewide rules

use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
bayes_file_mode 770
bayes_path /etc/mail/spamassassin/.spamassassin/bayes

########## NOTES ####################
#
## Autolearn Results
#
# ham: the message was learned as non-spam
# spam: the message was learned as spam
# no: message did not meet threshold to be learned
# disabled: either use_bayes or bayes_auto_learn set to 0
# failed: autolearn attempted but could not read database
# unavailable: catch-all for anything not covered above
#
## Razor2
#
# Razor2 is free to individuals and organizations as
# bandwidth permits.
#
# chmod as follows:
# cd /etc/mail/
# chmod g+ws spamassassin/
# chmod g+ws spamassassin/.razor/
#
# cd spamassassin
# chmod g+w *
#
# cd .razor/
# chmod g+w
#
## Testing
#
# spamassassin -D -x --lint
#
# -x keeps spamassassin from creating user_prefs for root
# -D sets spamassassin to debug mode
#
## Firewall
#
# This setup assumes that you do not block traffic out
# through your firewall. If not see below:
#
# DCC: outbound traffic:
#  allow udp port 6277
#
# Razor2: outbound traffic:
#  allow tcp ports 7 and 2703
#
## Troubleshooting
#
# If using the command: spamassassin -D -x --lint shows errors,
# add -D as first option in /var/qmail/supervise/spamd/run
#
# Restart spamassassin and check /var/qmail/spamd/current to see
# which module is not loading (or other errors). This will show
# more specific info than using the --lint option. Be sure to
# remove -D from your run file and restart spamassassin.
#
# Generally, you will be missing a perl module or file.
#
## Some perl stuff
#
# run: perldoc perllocal - see installed perl modules
# run: perldoc perlmodlib - see perl modules build on your server
# run: perldoc perlfaq - see perl FAQs
# run: perldoc perldoc - see perl docs
#
# run perl -MCPAN -e shell - see cpan> prompt
#
# from the cpan> prompt:
# install <some-module> - install module
# force install <some-module> - force install or reinstall
#                               existing module
# i /Some-Text/ - find all modules with Some-Text in module name
# help - help message
#
##


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to