Razor and Pyzor problems...

Dhawal Doshy dhawal at netmagicsolutions.com
Thu Nov 16 20:30:27 GMT 2006


Quoting Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca>:

> Dhawal Doshy a écrit :
>> Denis Beauchemin wrote:
>>> Matt Kettler a écrit :
>>>> Denis Beauchemin wrote:
>>>>
>>>>
>>>>> Yes, I did the following:
>>>>> #
>>>>>
>>>>> perl Makefile.PL
>>>>> make
>>>>> make test
>>>>> make install
>>>>> razor-admin -create
>>>>> razor-admin -register
>>>>> vi /etc/MailScanner/spam.assassin.prefs.conf
>>>>> use_razor2 1
>>>>> service MailScanner reload (even tried a restart)
>>>>>
>>>>> BTW I couldn't find anything about use_razor2 on SA's website.  Is it
>>>>> still needed?
>>>>
>>>> Razor is a plugin now, so use_razor2 would be in the plugin docs, not the
>>>> top-level SpamAssassin::Conf docs.
>>>>
>>>> See:
>>>>
>>>> http://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Plugin_Razor2.html That said, you shouldn't need to declare use_razor. Now that it's a plugin,   
>>>> this
>>>> defaults to 1 (enabled).
>>>>
>>>> Check your /etc/mail/spamassassin/v310.pre and make sure the   
>>>> razor plugin isn't
>>>> disabled. This was disabled by default in early releases of SA   
>>>> 3.1.x, but is now
>>>> enabled.
>>>>
>>>>
>>> It is enabled:
>>> loadplugin Mail::SpamAssassin::Plugin::Razor2
>>>
>>> Denis
>>
>> Can you check your razor-agent.log? maybe a clue lies in there.
>>
>> - dhawal
> It's almost empty:
> Nov 15 11:09:35.266367 admin[2215]: [ 2] [bootup] Logging initiated
> LogDebugLevel=3 to file:/root/.razor/razor-agent.log
> Nov 15 11:09:35.266976 admin[2215]: [ 2]  Razor-Agents v2.82 starting
> razor-admin -register
> Nov 15 11:09:36.063472 admin[2215]: [ 3] Attempting to register.
> Nov 15 11:09:36.468352 admin[2215]: [ 3] Register successful.  Identity
> stored in /root/.razor/identity-xxxx


Final ideas / thoughts (since i have run out of them).. your razor  
appears to have registered but not discovered the cloudmark servers..  
do you see files like server.*.cloudmark.conf?

If not you need to run a 'razor-admin -discover' once and try out the  
'sa -D < testmesg' again.

- dhawal




More information about the MailScanner mailing list