Re: spamassassin doesn't seem to be using bayes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Alexander Dalloz" <ad+lists@xxxxxxxxx>

Did you set in local.cf something like following?

use_bayes 1
^^^ good
auto_learn 1
^^^ IMAO that is poison unless you also change the threshold
scores for bayes to 'way out there'. These lines will do that:
---8<---
bayes_auto_learn_threshold_spam 20.0
bayes_auto_learn_threshold_nonspam 0.1

---8<---

bayes_learn_to_journal 1
^^^^^ not really needed.
bayes_file_mode 0600
^^^^^ not really needed.

bayes_path /var/spool/MIMEDefang/bayes
^^^^ NOT FOR HIS INSTALL, Alexander.

He is using procmail, like any sane person would. {^_-} I use procmail
and have discovered some really nice creative improper uses for it.
(When my customer sends me mail I have procmail play a notification
sound so I am prompted to get on it NOW. Hey, I'm proud to be a hacker.)

This is my /etc/mail/spamassassin/local.cf file for reference:
---8<---
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
rewrite_header Subject     *****SPAM***** _SCORE(00)_ **
# report_safe 1
clear_trusted_networks
trusted_networks 192.168.0/24 127/8 207.217.121/24
internal_networks 192.168.0/24
# lock_method flock
use_auto_whitelist 0
dns_available yes
dns_available test: <dns server address>
bayes_auto_learn 0
bayes_auto_expire 0
bayes_auto_learn_threshold_spam 20.0
bayes_auto_learn_threshold_nonspam 0.1
allow_user_rules 1
---8<---

The trusted networks setup is critical. These are slightly misnamed. They
are NOT networks you trust not to forward spam. They are networks you
trust will not forge headers. Typically this is your own machine, if you
receive mail directly via smtp, or your ISP's machine, if you receive
email via your ISP perhaps by using fetchmail, as I do.

{^_^}


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux