Chris PeBenito 17de1b
## <summary>Remote-mail retrieval and forwarding utility</summary>
Chris PeBenito 8152a7
Chris PeBenito 8152a7
########################################
Chris PeBenito 8152a7
## <summary>
Chris PeBenito 8152a7
##	All of the rules required to administrate 
Chris PeBenito 8152a7
##	an fetchmail environment
Chris PeBenito 8152a7
## </summary>
Chris PeBenito 8152a7
## <param name="domain">
Chris PeBenito 8152a7
##	<summary>
Chris PeBenito 8152a7
##	Domain allowed access.
Chris PeBenito 8152a7
##	</summary>
Chris PeBenito 8152a7
## </param>
Chris PeBenito 8152a7
## <rolecap/>
Chris PeBenito 8152a7
#
Chris PeBenito 8152a7
interface(`fetchmail_admin',`
Chris PeBenito 8152a7
	gen_require(`
Chris PeBenito 8152a7
		type fetchmail_t, fetchmail_etc_t;
Chris PeBenito 8152a7
		type fetchmail_uidl_cache_t, fetchmail_var_run_t;
Chris PeBenito 8152a7
	')
Chris PeBenito 8152a7
Chris PeBenito 8152a7
	ps_process_pattern($1, fetchmail_t)
Chris PeBenito 8152a7
Chris PeBenito 8152a7
	files_list_etc($1)
Chris PeBenito 8152a7
	manage_files_pattern($1, fetchmail_etc_t, fetchmail_etc_t)
Chris PeBenito 8152a7
Chris PeBenito 8152a7
	manage_files_pattern($1, fetchmail_uidl_cache_t, fetchmail_uidl_cache_t)
Chris PeBenito 8152a7
Chris PeBenito 8152a7
	files_list_pids($1)
Chris PeBenito 8152a7
	manage_files_pattern($1, fetchmail_var_run_t, fetchmail_var_run_t)
Chris PeBenito 8152a7
')