Re: [CentOS] Spamassassin vs. SELinux trouble

2017-12-14 Thread Nicolas Kovacs
Le 12/12/2017 à 21:25, Gordon Messmer a écrit : > You may have had a custom context set on /var/log/spamassassin or a > sub-path in the past, overwritten by a recent update.  That's a normal > occurrence if you set context using chcon rather than "semanage > fcontext".  The latter is persistent;

Re: [CentOS] Spamassassin vs. SELinux trouble

2017-12-12 Thread Gordon Messmer
On 12/12/2017 04:37 AM, Nicolas Kovacs wrote: Spamassassin has been working nicely on my main server running CentOS 7 and Postfix. SELinux is activated (Enforcing). ... SELinux is preventing /usr/bin/perl from 'read, write' accesses on the file /var/log/spamassassin/.spamassassin/bayes_toks. ...

Re: [CentOS] Spamassassin vs. SELinux trouble

2017-12-12 Thread Kenneth Porter
On 12/12/2017 4:37 AM, Nicolas Kovacs wrote: SELinux is preventing /usr/bin/perl from 'read, write' accesses on the file/var/log/spamassassin/.spamassassin/bayes_toks. What user is this running as? Who has /var/log/spamassassin as the home directory?

Re: [CentOS] Spamassassin vs. SELinux trouble

2017-12-12 Thread Peter Kjellström
On Tue, 12 Dec 2017 13:37:30 +0100 Nicolas Kovacs wrote: > Hi, > > Spamassassin has been working nicely on my main server running CentOS > 7 and Postfix. SELinux is activated (Enforcing). > > Since the most recent update (don't know if it's related to it though) > I'm

[CentOS] Spamassassin vs. SELinux trouble

2017-12-12 Thread Nicolas Kovacs
Hi, Spamassassin has been working nicely on my main server running CentOS 7 and Postfix. SELinux is activated (Enforcing). Since the most recent update (don't know if it's related to it though) I'm getting the following SELinux error.

Re: [CentOS] SpamAssassin vs. SELinux

2017-10-06 Thread Nicolas Kovacs
Le 06/10/2017 à 08:50, Nicolas Kovacs a écrit : > Usually sealert's suggestions are to the point and work perfectly. > Except in this case it doesn't. Here's what I get: > > # ausearch -c '7370616D64206368696C64' --raw | audit2allow -M > my-7370616D64206368696C64 > Nothing to do > > Any

[CentOS] SpamAssassin vs. SELinux

2017-10-06 Thread Nicolas Kovacs
Hi, I just installed SpamAssassin on two servers running CentOS 7 and Postfix. One is my sandbox server for experimenting, the other one is the server that hosts my company's web site, blog, mail, etc. So far, SpamAssassin seems to work as expected. I sent a test mail, which was duly flagges as