## Postfix grey-listing server
########################################
##
## Write to postgrey socket
##
##
##
## Domain allowed to talk to postgrey
##
##
#
interface(`postgrey_stream_connect',`
gen_require(`
type postgrey_var_run_t, postgrey_t;
')
allow $1 postgrey_t:unix_stream_socket connectto;
allow $1 postgrey_var_run_t:sock_file write;
files_search_pids($1)
')