Chris PeBenito 29ce00
## <summary>Dovecot POP and IMAP mail server</summary>
Chris PeBenito 29ce00
Chris PeBenito 29ce00
########################################
Chris PeBenito 29ce00
## <summary>
Chris PeBenito 29ce00
##	Create, read, write, and delete the dovecot spool files.
Chris PeBenito 29ce00
## </summary>
Chris PeBenito 29ce00
## <param name="domain">
Chris PeBenito 885b83
##	<summary>
Chris PeBenito 29ce00
##	Domain allowed access.
Chris PeBenito 885b83
##	</summary>
Chris PeBenito 29ce00
## </param>
Chris PeBenito 29ce00
#
Chris PeBenito 29ce00
interface(`dovecot_manage_spool',`
Chris PeBenito 29ce00
	gen_require(`
Chris PeBenito 29ce00
		type dovecot_spool_t;
Chris PeBenito 29ce00
	')
Chris PeBenito 29ce00
Chris PeBenito 29ce00
	allow $1 dovecot_spool_t:dir rw_dir_perms;
Chris PeBenito 29ce00
	allow $1 dovecot_spool_t:file create_file_perms;
Chris PeBenito 29ce00
	allow $1 dovecot_spool_t:lnk_file create_lnk_perms;
Chris PeBenito 29ce00
')