Displaying 1 result from an estimated 1 matches for "se_clamav_amavis".
2012 Oct 02
1
SELinux, Amavis, Clamav
...e18d8f8592eeee57a53 ino=655768 dev=dm-0
scontext=system_u:system_r:clamscan_t:s0
tcontext=system_u:object_r:amavis_var_lib_t:s0 tclass=dir
I had found two web pointer with this issue, but no solutions:
Here is my solution, which is proposed to be inserted in Chapter 5: SELinux:
* create file:
--se_clamav_amavis.te--
# ***HaO 2012-09-30: add rule to allow clamav to access amavis files
# and writes back ok file and may create temp folder
module clamscanamavis 1.0;
require {
type clamscan_t;
type amavis_var_lib_t;
class file {getattr read open write create unlink};
class dir {...