Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread Paul R. Ganci
On 04/25/2018 01:19 PM, Amir Caspi wrote: On Apr 25, 2018, at 11:08 AM, Matus UHLAR - fantomas wrote: actually, no. it changes to users as needed. This way multiple users can use spamd with per-user config files. Sorry, let me be more clear: if spamc is invoked by root, such that spamd would t

Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread Amir Caspi
On Apr 25, 2018, at 11:08 AM, Matus UHLAR - fantomas wrote: > > actually, no. it changes to users as needed. This way multiple users can use > spamd with per-user config files. Sorry, let me be more clear: if spamc is invoked by root, such that spamd would try to setuid root, then spamd runs as

Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread RW
On Wed, 25 Apr 2018 19:08:56 +0200 Matus UHLAR - fantomas wrote: 5.04.18 09:06, Amir Caspi wrote: > >spamd running as root doesn't run as root; it downgrades itself to > >"nobody." > > actually, no. it changes to users as needed. This way multiple users > can use spamd with per-user config file

Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread Matus UHLAR - fantomas
On Apr 25, 2018, at 8:57 AM, Paul R. Ganci wrote: Sorry I should have mentioned that. I was aware of that issue. As you can see spamd is running as root in this case and the spamassassin tests were also done as root. do you hace any per-user rules in ~root/.spamassassin/ ? spamassassin will ho

Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread Amir Caspi
On Apr 25, 2018, at 8:57 AM, Paul R. Ganci wrote: > > Sorry I should have mentioned that. I was aware of that issue. As you can see > spamd is running as root in this case and the spamassassin tests were also > done as root. spamd running as root doesn't run as root; it downgrades itself to "n

Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread Paul R. Ganci
On 04/25/2018 04:24 AM, Matus UHLAR - fantomas wrote: spamc connects to spamd, which may run under different user than spamassassin. That way, different users' settings are used. check how does your spamd run (which user, if any) Sorry I should have mentioned that. I was aware of that issue.

Re: Spamassassin and spamc do not use same rules

2018-04-25 Thread Matus UHLAR - fantomas
On 24.04.18 23:22, Paul R. Ganci wrote: I recently setup a new install of an email server on a CentOS 7 server. Everything is working correctly except for this problem:  >spamassassin --test-mode Content analysis details:   (9.6 points, 5.0 required)  pts rule name  description -