Re: Spamassassin failure to parse use_razor in config.

Gary V <[email protected]>
Newsgroups gmane.mail.spam.razor.user
Message-ID <[email protected]>
razor wrote:

> Hi all,

> I just realized my spamassassin hasn't been using Razor for a
> while - probably since I inadvertently upgraded glibc.

> Doing a spamassassin with -lint shows:

> [3167] warn: config: failed to parse line, skipping: razor_config
> /etc/razor/razor-agent.conf
> [3167] warn: config: failed to parse line, skipping: use_razor2
> [3167] warn: config: warning: score set for non-existent rule
> RAZOR2_CF_RANGE_51_100

> I tried uninstalling and reinstalling razor, but it didn't
> squeeze itself into the right place. Running Debian.

> Any suggestions? What am I missing? Why doesn't SA recognize the use-razor
> directive?

> Thanks, always,
> Yosi

These are spamassassin problems. You can get rid of "use_razor2" and
instead uncomment this line in v310.pre:
loadplugin Mail::SpamAssassin::Plugin::Razor2

Doing this should clear up the other two errors also.

If you use DCC you would also want to uncomment:
loadplugin Mail::SpamAssassin::Plugin::DCC

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.