RE: Rules not working

2013-09-09 Thread Benny Pedersen
Raymond Jette skrev den 2013-09-09 16:24: I'm not sure why but my spamd is running as root (I will have to change this). if you can drop priveledges from non priveleges user then you definly knows something i dont know :) spamd runs as root, but execute as -u in commandline on spamc, you can

RE: Rules not working

2013-09-09 Thread Raymond Jette
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 +, Raymond

Re: Rules not working

2013-09-09 Thread Martin Gregorie
On Mon, 2013-09-09 at 14:50 +, 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 con

RE: Rules not working

2013-09-09 Thread Raymond Jette
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 o

Re: Rules not working

2013-09-09 Thread Martin Gregorie
On Mon, 2013-09-09 at 14:24 +, Raymond Jette wrote: > Thanks for the reply. I'm not sure why but my spamd is running as > root (I will have to change this). > I run Fedora 18, so it also uses systemd rather than the old SysV init. By default my systemd configuration runs spamd as root. I don't

RE: Rules not working

2013-09-09 Thread Raymond Jette
I don’t really think it is permissions related. Spamd runs as root (I know this needs to change). The local.cf file is read in correct. The custom cf files I create have the same owner and permissions as local.cf. -Original Message- From: Benny Pedersen [mailto:m...@junc.eu] Sent: Mo

RE: Rules not working

2013-09-09 Thread Raymond Jette
When I run exim in debug rules my custom cf files are never added and the rules never hit. Thanks. -Original Message- From: John Horne [mailto:john.ho...@plymouth.ac.uk] Sent: Monday, September 09, 2013 5:56 AM To: SpamAssassin Subject: Re: Rules not working On Mon, 2013-09-09 at 02:19

RE: Rules not working

2013-09-09 Thread Raymond Jette
Yes. I am using selinux. -Original Message- From: Benny Pedersen [mailto:m...@junc.eu] Sent: Monday, September 09, 2013 3:40 AM To: users@spamassassin.apache.org Subject: RE: Rules not working Raymond Jette skrev den 2013-09-09 03:09: > Yes. The permissions are correct. Yes, the debug

RE: Rules not working

2013-09-09 Thread Raymond Jette
Thanks for the reply. I'm not sure why but my spamd is running as root (I will have to change this). I've done my tests, from spamd, from both the root and exim users. These test work both times and I see the rules being loaded. -Original Message- From: Martin Gregorie [mailto:mar..

Re: Rules not working

2013-09-09 Thread Martin Gregorie
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

Re: Rules not working

2013-09-09 Thread John Horne
On Mon, 2013-09-09 at 02:19 +, Raymond Jette wrote: > Thanks for the information. When running it this way everything > works. I'm not sure why it is not working with normal mail flow. > I don't think you mentioned which O/S you are using. However, you may (it depends on your O/S) find spamas

RE: Rules not working

2013-09-09 Thread Benny Pedersen
Raymond Jette skrev den 2013-09-09 03:09: Yes. The permissions are correct. Yes, the debug output shows that the files and rules were found and matched against the test message. selinux ?

RE: Rules not working

2013-09-09 Thread Benny Pedersen
Raymond Jette skrev den 2013-09-09 03:07: I checked the permissions. Everything is set correctly. Thanks for the reply. only your reply did not work, your mua did not cut quotes down check from same user that exim uses to call spamc ? or does exim have its own native spamc that talks to por

Re: Rules not working

2013-09-09 Thread Benny Pedersen
Dave Funk skrev den 2013-09-09 02:55: File system permissions issues? Are the new rules files readable by the "exim" user? spamd ? its like calling dovecot-lmtp with inet ports that does not listen ? eg unix socket using here spampd with postfix, no problem at all with permissions on spam