Displaying 4 results from an estimated 4 matches for "bayes_toks".
2017 Dec 12
4
Spamassassin vs. SELinux trouble
...ent update (don't know if it's related to it though)
I'm getting the following SELinux error.
--8<-----------------------------------------------------------------
SELinux is preventing /usr/bin/perl from 'read, write' accesses on the
file /var/log/spamassassin/.spamassassin/bayes_toks.
***** Plugin catchall (100. confidence) suggests
**************************
If you believe that perl should be allowed read write access on the
bayes_toks file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for...
2005 Mar 31
4
spamassassin - sa-learn
How do I get this set up?
spamassassin -D --lint
shows me an error...
debug: bayes: no dbs present, cannot tie DB
R/O: /root/.spamassassin/bayes_toks
and with no db present, it doesn't learn.
Is there something simple that I'm missing?
Craig
2017 Dec 12
0
Spamassassin vs. SELinux trouble
...04:37 AM, Nicolas Kovacs wrote:
> Spamassassin has been working nicely on my main server running CentOS 7
> and Postfix. SELinux is activated (Enforcing).
> ...
> SELinux is preventing /usr/bin/perl from 'read, write' accesses on the
> file /var/log/spamassassin/.spamassassin/bayes_toks.
> ...
> Source Context system_u:system_r:spamd_t:s0
> Target Context system_u:object_r:var_log_t:s0
You may have had a custom context set on /var/log/spamassassin or a
sub-path in the past, overwritten by a recent update.? That's a normal
occurrence if...
2005 May 16
2
spamassassin
...in::Plugin::URIDNSBL=HASH(0x9d9d6dc)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xa6c663c)
implements 'parse_config'
debug: using "/root/.spamassassin" for user state dir
debug: bayes: 25890 tie-ing to DB file
R/O /root/.spamassassin/bayes_toks
debug: bayes: 25890 tie-ing to DB file
R/O /root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 0
bayes: bayes db version 0 is not able to be used, aborting!
at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/BayesStore/DBM.pm
line 160.
debug: Score set 1 chosen.
debug: ---- MIME...