[Mimedefang] Problem using ClamAV

Philip Prindeville philipp_subx at redfish-solutions.com
Tue Nov 15 03:36:17 EST 2011

Yup, you nailed it.

I filed a bug against Selinux on Fedora.

Here's the policy I ended up using:

module local 1.0;

require {
	type spamd_var_run_t;
	type spamd_t;
	type clamd_var_run_t;
	type clamd_t;
	class sock_file write;
	class unix_stream_socket connectto;
	class dir { read search open getattr };
	class file { read getattr open };

#============= clamd_t ==============
allow clamd_t spamd_var_run_t:dir { read search open getattr };
allow clamd_t spamd_var_run_t:file { read getattr open };

#============= spamd_t ==============
allow spamd_t clamd_t:unix_stream_socket connectto;
allow spamd_t clamd_var_run_t:sock_file write;

On 11/13/11 8:58 AM, Aniruddha Barua wrote:
> Hi Philip,
> If SELINUX is enabled in your system, try after disabling it, also the little annoyance might go away.
> --Aniruddha Barua.

More information about the MIMEDefang mailing list