Razor and Pyzor problems...
Denis Beauchemin
Denis.Beauchemin at USherbrooke.ca
Thu Nov 16 21:16:25 GMT 2006
Dhawal Doshy a écrit :
>
> 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.
>
I had written a long explanation of all things I had checked and finally
found something that made it work: I have a user_prefs file in my
"SpamAssassin User State Dir" that had the following very old entries:
use_razor2 1
razor_config /root/.razor/razor-agent.conf
razor_timeout 10
Usually this file is a copy of my spam.assassin.prefs.conf that I use to
test things out before pushing them into production but I forgot SA uses
it... and I didn't know MS used it either...
By commenting the lines out and restarting MS it finally worked! I now
see RAZOR hits in my maillog! :-)
Thanks to all that helped!
Denis
--
_
°v° Denis Beauchemin, analyste
/(_)\ Université de Sherbrooke, S.T.I.
^ ^ T: 819.821.8000x62252 F: 819.821.8045
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3595 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20061116/f178316c/smime.bin
More information about the MailScanner
mailing list