On 6/27/2012 2:52 PM, Laborczi Pál wrote:
> Részlet a local.cf-ből:
>
> use_bayes 1
>
> bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
>
> bayes_sql_override_username amavis
>
> bayes_auto_learn 1
>
> A megfelelő modulok betöltődnek, a kézzel futtatott teszt (spamassassin -D
> -t< ... ) ezt adja eredményül:
>
> X-Spam-Report:
> * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
> * 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
> * -0.5 BAYES_05 BODY: Bayes spam probability is 1 to 5%
> * [score: 0.0152]
> * -0.0 NO_RECEIVED Informational: message has no Received headers
> X-Spam-Flag: YES
> X-Spam-Status: Yes, score=999.5,required=5.0,tests=BAYES_05,GTUBE,NO_RECEIVED,
> NO_RELAYS,autolearn=no,version=3.3.1
> X-Spam-Level: **************************************************
>
>
> Ha ugyanezt a tartalmat átfuttatom a rendszeren, akkor meg azt kapom:
>
>
> X-Spam-Flag: NO
> X-Spam-Score: 0
> X-Spam-Level:
> X-Spam-Status: No, score=x tagged_above=-999 required=4 WHITELISTED tests=[]
> autolearn=unavailable
>
> Mi hiányozhat?
>
A dokumentacio elolvasasa.
If a message has already been learned by SpamAssassin, then that message
will not be learned again. Therefore, if you run a message through
SpamAssassin to see why it was classified as spam or ham, and it has
already been learned, you will always get the result "autolearn=no". (To
see this more clearly, use the "-D" flag, and you will see debug output
explaining that the message has already been learned.)
...
In SpamAssassin 3.0, the result was enhanced to have six states:
....
unavailable: autolearning not completed for any reason not covered
above. It could be the message was already learned.
http://wiki.apache.org/spamassassin/AutolearningNotWorking
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux