## Perdition POP and IMAP proxy
########################################
##
## Connect to perdition over a TCP socket
##
##
##
## The type of the process performing this action.
##
##
#
interface(`perdition_tcp_connect',`
gen_require(`
type perdition_t;
')
allow $1 perdition_t:tcp_socket { connectto recvfrom };
allow perdition_t $1:tcp_socket { acceptfrom recvfrom };
kernel_tcp_recvfrom($1)
')