You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Johan Borch <jo...@gmail.com> on 2008/12/11 18:33:36 UTC

Problem with spamassassin not finding razor-agent.conf

Hi all,

I have a problem with getting spamassassin to find the razor-agent.conf

When running "spamassassin -D < testmail.txt" it says:

.
.
.
[22640] warn: razor2: razor2 check failed: No such file or directory razor2:
Can't read conf file: = /etc/razor/razor-agent.conf at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line 326.
.
.
.

The config exists and I have been running -create, register & discover, the
permissions is correct, I'm running the latest razor2-version. What could cause
this? The system is running centos 5.2.

Best regards
Johan Borch


Re: Problem with spamassassin not finding razor-agent.conf

Posted by Theo Van Dinter <fe...@apache.org>.
On Thu, Dec 11, 2008 at 05:33:36PM +0000, Johan Borch wrote:
> [22640] warn: razor2: razor2 check failed: No such file or directory razor2:
> Can't read conf file: = /etc/razor/razor-agent.conf at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line 326.

Do you have a "razor_config" config line somewhere, perhaps that looks like:

razor_config = /etc/razor/razor-agent.conf

?

-- 
Randomly Selected Tagline:
"I won't be made useless, or be idle with despair." - Jewel, "Hands"

Re: Problem with spamassassin not finding razor-agent.conf

Posted by mouss <mo...@netoyen.net>.
Johan Borch a écrit :
> Hi all,
> 
> I have a problem with getting spamassassin to find the razor-agent.conf
> 
> When running "spamassassin -D < testmail.txt" it says:
> 
> .
> .
> .
> [22640] warn: razor2: razor2 check failed: No such file or directory razor2:
> Can't read conf file: = /etc/razor/razor-agent.conf at
> /usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line 326.
> .
> .
> .
> 
> The config exists and I have been running -create, register & discover, the
> permissions is correct, I'm running the latest razor2-version. What could cause
> this? The system is running centos 5.2.
> 

either it's a permission problem. do not forget to check the permissions
of all the parent directories.

# ls -l / |grep /etc
# ls -l /etc |grep razor
# ls -l /etc/razor/razor-agent.conf

or it's a SELINUX issue (check /var/log/messages).