On Tue, Feb 03, 2009 at 07:09:57PM +0100, Karsten Bräckelmann wrote:
> On Tue, 2009-02-03 at 17:33 +0000, Mark wrote:
> > 
> > Both Razor and Pyzor have been merrily catching spam very effectively
> > for me for many moons now. It appears however, that when I originally
> > installed them I did so as root.
> > 
> > This is fine, but I now running SELinux in enforcing mode on my Fedora 9
> > box. Selinux throws a wobbly (that's the correct technical term) when
> > either Razor or Pyzor try to write anything to the /root directory which
> > is where they both keep their configs and logs (/root/.pyzor/ and
> > /root/.razor).
> 
> Do you do your entire mail processing as root?

No - This is why I was puzzled.

> According to [1] Razor will use /etc/razor/razor-agent.conf, if there is
> none specifically created in the users home and if it exists.
> 
> Anyway, I don't see how *installing* an application is the issue here.
> It's the configuration you got to correct. Here are a couple links that
> might be helpful for Razor:
>   http://razor.sourceforge.net/
>   http://wiki.apache.org/spamassassin/UsingRazor
>   http://wiki.apache.org/spamassassin/RazorSiteWide
>   http://wiki.apache.org/spamassassin/RazorHowToTell
> 
> Enjoy. :)

Thanks Guenther, I had (at some point) read all of the above but not,
crucially, this one...

> [1] http://razor.sourceforge.net/docs/razor-agents.php

That did the trick. Thank you!

Much appreciated. 

Mark


Attachment: pgphRs6XzFeC5.pgp
Description: PGP signature

Reply via email to