Patch to allow amavis to read spamassassin libraries from Dan Walsh.
This commit is contained in:
parent
ae32fb7e7b
commit
747ab18400
|
@ -1,3 +1,4 @@
|
|||
- Patch to allow amavis to read spamassassin libraries from Dan Walsh.
|
||||
- Patch to allow slocate to getattr other filesystems and directories on those
|
||||
filesystems from Dan Walsh.
|
||||
- Fixes for RHEL4 from the CLIP project.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
policy_module(amavis,1.2.0)
|
||||
policy_module(amavis,1.2.1)
|
||||
|
||||
########################################
|
||||
#
|
||||
|
@ -50,6 +50,7 @@ allow amavis_t self:fifo_file rw_fifo_file_perms;
|
|||
allow amavis_t self:unix_stream_socket create_stream_socket_perms;
|
||||
allow amavis_t self:unix_dgram_socket create_socket_perms;
|
||||
allow amavis_t self:tcp_socket { listen accept };
|
||||
allow amavis_t self:netlink_route_socket r_netlink_socket_perms;
|
||||
|
||||
# configuration files
|
||||
allow amavis_t amavis_etc_t:dir list_dir_perms;
|
||||
|
@ -77,6 +78,7 @@ files_tmp_filetrans(amavis_t,amavis_tmp_t,file)
|
|||
manage_dirs_pattern(amavis_t,amavis_var_lib_t,amavis_var_lib_t)
|
||||
manage_files_pattern(amavis_t,amavis_var_lib_t,amavis_var_lib_t)
|
||||
manage_sock_files_pattern(amavis_t,amavis_var_lib_t,amavis_var_lib_t)
|
||||
files_search_var_lib(amavis_t)
|
||||
|
||||
# log files
|
||||
allow amavis_t amavis_var_log_t:dir setattr;
|
||||
|
@ -177,4 +179,5 @@ optional_policy(`
|
|||
optional_policy(`
|
||||
spamassassin_exec(amavis_t)
|
||||
spamassassin_exec_client(amavis_t)
|
||||
spamassassin_read_lib_files(amavis_t)
|
||||
')
|
||||
|
|
Loading…
Reference in New Issue