SeLinux Issue with SpamAssassin.cache.db

Glenn Steen glenn.steen at gmail.com
Thu Nov 9 10:41:08 GMT 2006


On 09/11/06, Vaibhav Pandey <vaibhav at ozdocs.net.au> wrote:
> 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
>
Might be a permission problem. Have you tried stopping MailScanner,
removiung the SQLite file and starting MailScanner again (thus
creating a new cache file, possibly with another owner)? What
permissions do you have on it? Can the user you run your
MTA/MailScanner as read/write it?

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list