Chris PeBenito 3eec24
## <summary>University of Washington IMAP toolkit POP3 and IMAP mail server</summary>
Chris PeBenito 3eec24
Chris PeBenito 3eec24
########################################
Chris PeBenito 3eec24
## <summary>
Chris PeBenito 3eec24
##	Execute the UW IMAP/POP3 servers with a domain transition.
Chris PeBenito 3eec24
## </summary>
Chris PeBenito 3eec24
## <param name="domain">
Chris PeBenito 3eec24
##	<summary>
Chris PeBenito 3eec24
##	Domain allowed access.
Chris PeBenito 3eec24
##	</summary>
Chris PeBenito 3eec24
## </param>
Chris PeBenito 3eec24
#
Chris PeBenito 3eec24
interface(`uwimap_domtrans',`
Chris PeBenito 3eec24
	gen_require(`
Chris PeBenito 3eec24
		type imapd_t, imapd_exec_t;
Chris PeBenito 3eec24
	')
Chris PeBenito 3eec24
Chris PeBenito 3eec24
	corecmd_search_sbin($1)
Chris PeBenito 3eec24
	domain_auto_trans($1,imapd_exec_t,imapd_t)
Chris PeBenito 3eec24
Chris PeBenito 3eec24
	allow $1 imapd_t:fd use;
Chris PeBenito 3eec24
	allow imapd_t $1:fd use;
Chris PeBenito 3eec24
	allow imapd_t $1:fifo_file rw_file_perms;
Chris PeBenito 3eec24
	allow imapd_t $1:process sigchld;
Chris PeBenito 3eec24
')