Currently I'm using SElinux.  I'll disable it and see what happens.

-----Original Message-----
From: Martin Gregorie [mailto:mar...@gregorie.org] 
Sent: Monday, September 09, 2013 11:28 AM
To: users@spamassassin.apache.org
Subject: Re: Rules not working

On Mon, 2013-09-09 at 14:50 +0000, Raymond Jette wrote:
> I just create a new .cf file on my second MTA and I'm having the same 
> problem.  I don't think this is with my systems.  I'm beginning to 
> think it's with the packages in the Fedora repository.  I'm setting up 
> a test MTA now so I can confirm that.  Has anyone else seen this issue 
> when running SA on Fedora linux?
> 
Not me (Postfix + spamd on Fedora 18 that's fully up to date on its patches as 
of last Friday. I have a total of 5 non-standard cf files in 
/etc/mail/spamassassin. All are being read and the rules and modules defined in 
them are in use. Modules include DecodeShortURLs, MimeMagic, and a locally 
written one. All the files in /etc/mail/spamassassin are owned by root.root and 
have at least "-rw-r--r--" permissions.

Are you using SElinux? I have it disabled.


Martin


> -----Original Message-----DecodeShortURLs
> From: Martin Gregorie [mailto:mar...@gregorie.org]
> Sent: Monday, September 09, 2013 7:35 AM
> To: users@spamassassin.apache.org
> Subject: Re: Rules not working
> 
> The one relevant thing you haven't shown us is:
> 
> 1) which user you're running the debug test under.
> 
> 2) which user spamd is running under on your production system when
>    exim is using it. 
> 
> As jdow has said, the best way to see (2) is by running
> 
>   ps -ef | grep spamd
> 
> from any user. If the two users aren't the same, that's your problem because 
> the user running spamd in (2) can't access your extra rules files.
> 
> You should also try running your debug tests after starting spamd in the same 
> way that its started for exim and repeat your test using spamc in place of 
> "spamassassin --debug": the list of rules hit on your test message will show 
> whether this found your private rules or not.
> 
> FWIW, I always test rules in a spamc/spamd setup on a development host rather 
> than by using spamassassin directly. I've organised things so that the 
> testing copy of spamd is started under the same user as it runs under on the 
> live system (I use postfix, not exim), so any access problems will be the 
> same on both systems.
> 
> 
> Martin
> 
> 
> 



Reply via email to