/usr/share/selinux/ubuntu/include/services/fetchmail.if is in selinux-policy-ubuntu-dev 0.2.20091117-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## <summary>Remote-mail retrieval and forwarding utility</summary>
########################################
## <summary>
## All of the rules required to administrate
## an fetchmail environment
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
## <rolecap/>
#
interface(`fetchmail_admin',`
gen_require(`
type fetchmail_t, fetchmail_etc_t, fetchmail_uidl_cache_t;
type fetchmail_var_run_t;
')
ps_process_pattern($1, fetchmail_t)
files_list_etc($1)
admin_pattern($1, fetchmail_etc_t)
admin_pattern($1, fetchmail_uidl_cache_t)
files_list_pids($1)
admin_pattern($1, fetchmail_var_run_t)
')
|