Displaying 1 result from an estimated 1 matches for "clamscanamavis".
2012 Oct 02
1
SELinux, Amavis, Clamav
...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 {search read getattr open write add_name create
setattr remove_name rmdir};
}
allow clamscan_t amavis_var_lib_t:file {getattr read open write create
u...