spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Floyd <fcastell...@gdts.ca>
Subject Re: Bayes test in spamassassin.bat
Date Tue, 12 Sep 2006 13:47:23 GMT

As I explained in my previous post that I am running as one user and one user
only which is administrator on
this exchange box regardles of me using spamassassin -t and sa-learn and the
database is in the home folder of the administrator.

I have never used another login on this box ever before. I have other users
in active directory for which this exchange box receives email to their
individual
addresses. That's about as far as other user login is concerned.

What ''strange stuff in the box'' are your talking about??

What configuration files should I dig into to further help my cause.



jdow wrote:
> 
> As someone else replied - you MUST run spamassassin -t and sa-learn
> as the same user that owns the BAYES database. You have enough
> strange stuff in the box I'm not sure what user that might be. But
> I bet you could dig through configuration files to find out how
> spamc or spamassassin is run and as which user. Then you can train
> as THAT user. and get it all together. Clearly the user it runs
> as cannot find a trained Bayes database or cannot gain write
> permission so that it can auto-train.
> 
> {^_^}
> ----- Original Message ----- 
> From: "Floyd" <fcastellino@gdts.ca>
>>
>> Ok here is the message again for those who found the previous post
>> unclear....sorry about that
>>
>> I have an exchange 2000 server and I am using spamassassin to filter the
>> mail. I am using the exchange sink written by
>> Chris Lewis to filter mail on each incoming message. The problem i have
>> is
>> that it gives me a low spam score on spam mail because it
>> does not include the bayes_XX tests. Here is an example from the log file
>>
>> XSpamStatus: No, score=0.0 required=6.0 tests=AWL,HTML_MESSAGE
>> autolearn=disabled version=3.1.4
>>
>> If I run the same mail message through spamassassin -t in a MS Command
>> Terminal, it gives me a different spam score since it includes the
>> bayes_XX
>> test
>>
>> X-Spam-Status: No, score=-2.0 required=6.0 tests=BAYES_00,HTML_40_50,
>> HTML_MESSAGE,HTML_TEXT_AFTER_BODY autolearn=disabled version=3.1.4
>>
>> Why is that so? Is there a setting that I have missed somewhere??
>>
>> I deleted my bayes database thru sa-learn -- clear and restablished it by
>> learning the 4000 hams and 1000 spams that I have collected.
>>
>> I am running my exchange server with full rights and logged on as
>> administrator. There are no other user home folders on this system except
>> for the administrator's!!!
>>
>>
>>
>> jdow wrote:
>>>
>>> Regardless - clean up that original message and resend. It is utterly
>>> unreadable.
>>>
>>> {^_^}
>>> ----- Original Message ----- 
>>> From: "Floyd" <fcastellino@gdts.ca>
>>>>
>>>> I am trying this without an MUA. I am using Dos to check the headers of
>>>> the
>>>> incoming mail with spamassassin.
>>>>
>>>> Usually I use MS Outlook but in this case I am checking the headers on
>>>> the
>>>> server. There is no mail client on the server.
>>>>
>>>>
>>>> Raul Dias wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> What MUA are you using?
>>>>>
>>>>> Your MUA seems to be unable to send HTML mail, so I suggest you
>>>>> configure it to send only text/plain formatted text.
>>>>>
>>>>> []s
>>>>> Raul Dias
>>>>>
>>>>> On Mon, 2006-09-11 at 07:50 -0700, Floyd wrote:
>>>>>> Hi, I am using Spamassassin with Exchange and i noticed I was getting
>>>>>> different scores using spamassassin.bat(There was a previous post
by
>>>>>> me to this question) I have done some addtional tests and I noticed
>>>>>> that when spamassassin.bat is run automatically on every incoming
>>>>>> message there are no tests for bayes e.g Start - ID:  PreFile: C:\ESA
>>>>>> \NEW\msg060911101328_51EC4.in.eml PostFile: C:\ESA\NEW
>>>>>> \msg060911101328_51EC4.out.eml SpamAssassin:C:\PERL\BIN
>>>>>> \SPAMASSASSIN.BAT "C:\ESA\NEW\msg060911101328_51EC4.in.eml" "C:\ESA
>>>>>> \NEW\msg060911101328_51EC4.out.eml" SpamAssassin result: 0 Checking
>>>>>> for PERL in Path... Reloading Stream... Reading OUT file XSpamFlag:
>>>>>> XSpamStatus: No, score=0.0 required=6.0 tests=AWL,HTML_MESSAGE
>>>>>> autolearn=disabled version=3.1.4 Added header
>>>>>> urn:schemas:mailheader:X-Spam-Checker-Version SpamAssassin 3.1.4
>>>>>> (2006-07-25) Exchange SpamAssassin Sink (www.christopherlewis.com)
>>>>>> 1.2.76 on myserver SPAM: False SpamAssassin Value: 0 File:
>>>>>> msg060911101328_51EC4 Moving to HAM : End But when I run
>>>>>> spamassassin.bat manually there is a test for bayes in addition to
>>>>>> the
>>>>>> other tests....e.g. X-Spam-Checker-Version: SpamAssassin 3.1.4
>>>>>> (2006-07-25) on my server X-Spam-Level: X-Spam-Status: No, score=-2.0
>>>>>> required=6.0 tests=BAYES_00,HTML_40_50,
>>>>>> HTML_MESSAGE,HTML_TEXT_AFTER_BODY autolearn=disabled version=3.1.4
>>>>>> thread-index: AcbVrHRGLevRi+gCSJenNtqXgv1xTA== Could someone please
>>>>>> help me with this is there a setting somewhere i missed in local.cf
>>>>>> maybe?? Thanks for your help in advance
>>>>>>
>>>>>> ______________________________________________________________________
>>>>>> View this message in context: Bayes test in spamassassin.bat
>>>>>> Sent from the SpamAssassin - Users forum at Nabble.com.
>>>>>
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Bayes-test-in-spamassassin.bat-tf2252897.html#a6252631
>>>> Sent from the SpamAssassin - Users forum at Nabble.com.
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Bayes-test-in-spamassassin.bat-tf2252897.html#a6258337
>> Sent from the SpamAssassin - Users forum at Nabble.com. 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Bayes-test-in-spamassassin.bat-tf2252897.html#a6266450
Sent from the SpamAssassin - Users forum at Nabble.com.


Mime
View raw message