<br><br><div class="gmail_quote">On Mon, Jun 16, 2008 at 2:46 PM, Glenn Steen <<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2008/6/16 Devon Harding <<a href="mailto:devonharding@gmail.com">devonharding@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">>>>><br>
>>>><br>
>>>><br>
>>>> Devon Harding wrote:<br>
>>>> | I'm getting alot of spam coming through and it seems like<br>
>>>> the cause of<br>
>>>> | this is BAYES_00 scoring messages with -2.60. I'm running<br>
>>>> MS 4.68.8<br>
>>>> | with SA *Le Service des Technologies de l'Information de<br>
>>>> l'UdeS veut vous mettre en garde contre "3.2.4" qui semble<br>
>>>> être une tentative de fraude envers* <a href="http://3.2.4." target="_blank">3.2.4.</a> <<a href="http://3.2.4" target="_blank">http://3.2.4</a>.><br>
>>>> <*Le Service des Technologies de l'Information de l'UdeS veut<br>
>>>> vous mettre en garde contre "3.2.4" qui semble être une<br>
>>>> tentative de fraude envers* <a href="http://3.2.4" target="_blank">http://3.2.4</a>.> I've already<br>
>>>> trained hundreds of<br>
>>>><br>
>>>> | messages like these as spam and it doesn't seem to work.<br>
>>>> What else can<br>
>>>> | I do?<br>
>>>><br>
>>>> My guess is that you are training the wrong database. You<br>
>>>> train another<br>
>>>> database and not the one you are using with MailScanner.<br>
>>>><br>
>>>> Hugo.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> For MS, where is the Bayes DB path specified? My DB is located here:<br>
>>>><br>
>>>> /etc/MailScanner/.spamassassin<br>
>>>><br>
>>>><br>
>>>> I think my BAYES is all messed up. How do I rebuild it from scratch?<br>
>>>><br>
>>> Devon,<br>
>>><br>
>>> Look here for a starter kit: <a href="http://www.fsl.com/resources.html" target="_blank">http://www.fsl.com/resources.html</a><br>
>>><br>
>>> Denis<br>
>>><br>
>>> --<br>
>><br>
>> I've restored the starter DB and I do see the new files in<br>
>> /etc/MailScanner/.spamassassin (I stopped MailScanner and removed the one<br>
>> ones first), but SA Bayes DB Info from Mailwatch shows nothing. When I do a<br>
>> lint from the Tools tab, i Get the following:<br>
>><br>
>> [5637] dbg: bayes: no dbs present, cannot tie DB R/O:<br>
>> //.spamassassin/bayes_toks<br>
><br>
><br>
> Hmm....I thing Bayes IS working. I just ran MailScanner --debug --debug-sa<br>
> after the restore and did see:<br>
><br>
> 11:52:13 [5879] dbg: bayes: tie-ing to DB file R/W<br>
> /root/.spamassassin/bayes_toks<br>
> 11:52:13 [5879] dbg: bayes: tie-ing to DB file R/W<br>
> /root/.spamassassin/bayes_seen<br>
> 11:52:13 [5879] dbg: bayes: found bayes db version 3<br>
> 11:52:13 [5879] dbg: bayes: learned<br>
> '88a47a16459989c19d47893de31fec608aa8f41e@sa_generated', atime: 1213631520<br>
> 11:52:13 [5879] dbg: bayes: untie-ing<br>
> 11:52:13 [5879] dbg: bayes: files locked, now unlocking lock<br>
><br>
> It seems that MailWatch is the one thats not working right. Any way to<br>
> relink this?<br>
><br>
> -Devon<br>
><br>
</div></div>Make sure your apahce user (the one running your httpd processes...<br>
hence the one running MailWatch:-) can actually read the bayes<br>
files... "su" is your friend here... and if you want to be able to<br>
learn via MailWatch, make sure the same user can write them too.<br>
<br>
Cheers<br>
<font color="#888888">--</font></blockquote></div><br>I have the right permissions set, the thing is MailWatch is not showing any data for 'Bayes Database Information'. What is the tie in for MailWatch?<br><br>-rw-rw---- 1 root apache 78K Jun 16 15:17 bayes_journal<br>
-rw-rw---- 1 root apache 895 Jun 16 15:17 bayes.mutex<br>-rw-rw---- 1 root apache 172K Jun 16 15:17 bayes_seen<br>-rw-rw---- 1 root apache 5.1M Jun 16 15:17 bayes_toks<br><br>-Devon<br>