Ryan Moore ---------- Perigee.net Corporation 704-849-8355 (sales) 704-849-8017 (tech) www.perigee.net
Scott Fraser wrote:
Good Morning Folks,
Well, after fighting with it longer than I care to admit, I do believe I now have a working Postfix/SpamAssassin/Amavisd system. What I am trying to do now, is configure the system wide (and eventually on a per user basis) a way to bounce mail. Currently email that is spam is just flagged. Our president wants to bounce it.
Here is the configuration I currently have: /etc/mail/spamassassin/local.cf
This is the right place to customize your installation of SpamAssassin.
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
######################################################################## ###
#
#rewrite_subject 0
#report_safe 1
#whitelist_from [EMAIL PROTECTED] # whitelist for mentoring.ws whitelist_from *securityfocus.com
rewrite_subject 1
report_safe 0 use_terse_report 1
use_bayes 1 bayes_path /var/amavisd/.spamassassin/bayes auto_learn 1
skip_rbl_checks 1 use_razor2 1 use_dcc 1 use_pyzor 0 dcc_add_header 1
dns_available yes
header LOCAL_RCVD Received =~ /\S+\.domain\.com\s+\ (.*\[ .*\]\)/ describe LOCAL_RCVD Received from local machine score LOCAL_RCVD -50
## Optional Score Increases score DCC_CHECK 4.000 score RAZOR2_CHECK 2.500 score BAYES_99 4.300 score BAYES_90 3.500 score BAYES_80 3.000
and for users, this is the file I have created:
~username/.spamassassin/user_prefs
SpamAssassin user preferences file. See 'perldoc Mail::SpamAssassin::Conf'
# for details of what can be tweaked.
######################################################################## ###
# How many hits before a mail is considered spam. required_hits 1
# Whitelist and blacklist addresses are now file-glob-style patterns, so # "[EMAIL PROTECTED]", "[EMAIL PROTECTED]", or "*.domain.net" will all work. # whitelist_from [EMAIL PROTECTED]
# Blacklist blacklist_from [EMAIL PROTECTED]
# Add your own customised scores for some tests below. The default scores are
# read from the installed spamassassin rules files, but you can override them
# here. To see the list of tests and their default scores, go to
# http://spamassassin.org/tests.html .
#
# score SYMBOLIC_TEST_NAME n.nn
# Added by Scott Fraser. spam_level_stars 1 spam_level_char R
ok_languages en ok_locales en
report_safe 0
use_bayes 0
Am I missing something? I thought there was an on-line user_prefs configuration tool, but I can't locate it.
Thanks in advance, Scott
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk