Chris PeBenito 17de1b
## <summary>Postfix grey-listing server</summary>
Chris PeBenito 465510
Chris PeBenito 465510
########################################
Chris PeBenito 465510
## <summary>
Chris PeBenito 465510
##      Write to postgrey socket
Chris PeBenito 465510
## </summary>
Chris PeBenito 465510
## <param name="domain">
Chris PeBenito 465510
##      <summary>
Chris PeBenito 465510
##      Domain allowed to talk to postgrey
Chris PeBenito 465510
##      </summary>
Chris PeBenito 465510
## </param>
Chris PeBenito 465510
#
Chris PeBenito 465510
interface(`postgrey_stream_connect',`
Chris PeBenito 465510
        gen_require(`
Chris PeBenito 465510
                type postgrey_var_run_t, postgrey_t;
Chris PeBenito 465510
        ')
Chris PeBenito 465510
Chris PeBenito 465510
	allow $1 postgrey_t:unix_stream_socket connectto;
Chris PeBenito 465510
        allow $1 postgrey_var_run_t:sock_file write;
Chris PeBenito 465510
	files_search_pids($1)
Chris PeBenito 465510
')