SeLinux Issue with SpamAssassin.cache.db
Denis Beauchemin
Denis.Beauchemin at USherbrooke.ca
Thu Nov 9 14:32:31 GMT 2006
Vaibhav Pandey a écrit :
> Dear All,
> I installed MailScanner 4.57 with ClamAv and SpamAssasin 3.1. All working fine without any problem.
>
> But my SpamAssasin.cache.db not caching anything hense I am still getting spam.
>
> in my /var/log/messages I am getting the following line each time when MailScanner is trying to add something to cache.db. Please help me.
>
>
> Nov 9 04:27:24 mgate kernel: audit(1163006844.338:6247): avc: denied { read write } for pid=15114 comm="su" name="SpamAssassin.cache.db" dev=dm-0 ino=17990086 scontext=system_u:system_r:initrc_su_t:s0 tcontext=root:object_r:var_spool_t:s0 tclass=file
>
>
> Here mgate: is name of the Host
>
> With best regards,
> Webb.
>
I didn't take the time to understand SElinux so I disabled it on all my
servers because it caused too much trouble.
To do this edit /etc/selinux/config and change to:
SELINUX=disabled
Then save the file and reboot your server.
Denis
--
_
°v° Denis Beauchemin, analyste
/(_)\ Université de Sherbrooke, S.T.I.
^ ^ T: 819.821.8000x62252 F: 819.821.8045
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3595 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20061109/bc64a76f/smime.bin
More information about the MailScanner
mailing list