[Mimedefang]
Chris Gauch
cgauch at digicon.net
Thu Jul 1 14:27:35 EDT 2004
Run %> sa-learn from the command line and feed it a text file or something
that contains a known spam message. Take a look at your bayes directory
afterwards.
Make sure that user "defang" has write permissions on the bayes directory
you are using. If your run sa-learn as root (which is fine), just <chown
defang.defang bayes*> in your /etc/mail/spamassassin/bayes/ directory to
ensure that MIMEDefang can write to those files. If your MIMEDefang server
deals with a large volume of mail, turn on bayes_learn_to_journal or you'll
have issues with lock files hanging up the MD slaves.
Sometimes after moving the bayes databases to a new path you must "prime"
the learning process by running sa-learn in order to force the new bayes
changes to take effect.
- Chris
-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of Jeff Rife
Sent: Thursday, July 01, 2004 12:40 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang]
On 30 Jun 2004 at 14:01, Jeff Grossman wrote:
> I don't personally use AWL, but I am not sure why you have problems with
the
> bayes path statement. Here is the relevant portion of my sa-mimedefang.cf
> file in /etc/mail/spamassassin:
>
> #Bayes information
> use_bayes 1
> bayes_path /etc/mail/spamassassin/bayes/bayes
> bayes_file_mode 0700
> bayes_use_hapaxes 1
> auto_learn_threshold_nonspam 0.0
> auto_learn_threshold_spam 8.0
>
>
> And, my bayes database goes in the directory specified in that file. I
have
> never made any changes to mimedefang.pl.
All I know is that I had bayes* files appear in ~defang/.spamassassin
until I made this change. I run MIMEDefang 2.43 and SpamAssassin 2.63.
--
Jeff Rife |
SPAM bait: | "He chose...poorly."
AskDOJ at usdoj.gov |
uce at ftc.gov | -- Grail Knight, "Indiana Jones and the Last
Crusade"
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list