## Dovecot POP and IMAP mail server
########################################
##
## Create, read, write, and delete the dovecot spool files.
##
##
## Domain allowed access.
##
#
interface(`dovecot_manage_spool',`
gen_require(`
type dovecot_spool_t;
class dir rw_dir_perms;
class file create_file_perms;
class lnk_file create_lnk_perms;
')
allow $1 dovecot_spool_t:dir rw_dir_perms;
allow $1 dovecot_spool_t:file create_file_perms;
allow $1 dovecot_spool_t:lnk_file create_lnk_perms;
')