Problems with MailScanner and SELinux compatibility

Remco Barendse mailscanner at
Sat Aug 13 22:41:47 IST 2011

Hi Martin,

Sorry for replying to a rather old posting.

Did you ever find the solution to this? I was always lazy (with CentOS 4 
and 5 nothing seemed to work with SELinux enabled) and also just disabled 
SELinux, so far everything is working without problems though.

Would be nice if MailScanner would also play along with SELinux on my 
new server :)


On Thu, 9 Jun 2011, Mark L. Wise wrote:

> Sorry if this is a second post...  I am still debugging my new mail server 
> and I did not see the first post come back to me from the list...
> I have just built a new box based on Fedora Core 15 (  I am 
> going to use this box as a mail server.  I am using sendmail (8.14.4), 
> spamassassin (3.3.2-r929478), clamav (0.97), dovecot (2.0.13) and MailScanner 
> (4.83.5).
> Everything appears to be configured well and working, except when I turn on 
> MailScanner I get errors in the maillog file that indicate a problem writing 
> (apparently temporary) files.
> After a bit of research, it appears that this may be a conflict between 
> MailScanner and SELinux.
> Does anyone have a SELinux policy or know of a way to fix this issue?  I 
> really would like to have SELinux enforcing AND MailScanner checking my mail.
> Thanks in advance for any help you can give me.
> Mark

More information about the MailScanner mailing list