Gary V wrote:
> Jeff wrote:
>
>
>> Gary V wrote:
>>
>>> Jeff wrote:
>>>
>>>
>>>
>>>> I 'm using amavis-new 2.4 with p0f and SA
3.1 with FuzzyOcr on FreeBSD
>>>> 6.1. with postfix.
>>>>
>>>>
>>>
>>>
>>>> When I feed to SA by hand, the scores are 2
-3 times higher than what
>>>> Amavis gives it. In amavis' debug output,
I can see FuzzyOcr being
>>>> loaded but it never scores anything. SA is
configured to use FuzzyOcr
>>>> and it works fine. What do I need to do to
make it work? Sorry if this
>>>> has been answered elsewhere. I'm not
finding it.
>>>>
>>>>
>>> It is my understanding that when you feed a
message to FuzzyOcr
>>> using SA debug mode 'spamassassin -tD <
message' FuzzyOcr sets
>>> focr_autodisable_score to 1000. Are the
messages is question
>>> scoring over the focr_autodisable_score you
have set in
>>> FuzzyOcr.cf? If so, you will not get any
scoring from FuzzyOcr
>>> (and you should not).
>>>
>> 'spamassassin -tD < message' returns a score
that includes FuzzyOcr.
>>
>>> Also, see: http://w
ww.ijs.si/software/amavisd/#faq-spam
>>> "SpamAssassin returns different
score"
>>>
>>> It's a good idea to ensure amavisd-new is using
the same configuration
>>> that the command line SA is using. As the FAQ
states, run SA as the
>>> amavisd-new user. Also, compare the
configurations. Amavisd-new
>>> could be using a completely different set of
rules and configuration.
>>> In order to see where amavisd-new is looking
for SA files, with version
>>> 2.4.4 or newer you can narrow debug-sa output
to various SA channels; e.g.:
>>> amavisd -d config debug-sa
>>>
>>> Gary V
>>>
>>>
>>>
>>>
>> I ran 'amavisd -d config debug-sa', and amavisd
appears to be reading
>> the reading the correct local config files,
including FuzzyOcr:
>>
>
>
>> config: read file
/usr/local/etc/mail/spamassassin/FuzzyOcr.cf
>>
>
>
>> However, when I do a simple 'spamassassin <
message' as vscan (the user
>> that amavis uses here), FuzzyOcr does not get used.
I assume that this
>> is a clue to the problem. Did I misconfigure the
user?
>>
>
>
>> I know that this is something simple I've missed,
but it doesn't quite
>> make sense to me. The daemon seems to be reading
all the correct config
>> files. Why would the user get different results?
Thanks for your help.
>>
>
> Try spamassassin -tD < message (as vscan)
>
> The question is, what to you have
focr_autodisable_score set to and
> does the message you are testing score higher than
that?
>
> I would not use 'spamassassin < message'.
> Running 'spamassassin -t < message' is not in SA
debug mode so
> focr_autodisable_score is honored whereas running
> 'spamassassin -tD <message' would set
focr_autodisable_score to 1000.
> Try running 'spamassassin -tD <message' as vscan.
>
> Gary V
>
>
>
focr_autodisable_score was set to 100 (the docs say that the
default is
10). Sorry for forgetting to mention that earlier. The mails
I'm testing
with are getting scores in the 10-30 range. I also set it
to 1000 and
ran the tests again. I get the same result with 10, 100 or
1000.
When I run spamassassin -tD as vscan, I still get no Ocr
scores but do
see it loading the Ocr module. Running spamassassin as any
other user
works as expected. I'm stumped.
Again, thanks for your help.
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
|