fix up sendmail for targeted
This commit is contained in:
parent
9cb7c2a869
commit
dc8f17037b
@ -6,11 +6,6 @@ policy_module(sendmail,1.0)
|
||||
# Declarations
|
||||
#
|
||||
|
||||
type sendmail_t;
|
||||
mta_sendmail_mailserver(sendmail_t)
|
||||
mta_mailserver_delivery(sendmail_t)
|
||||
mta_mailserver_sender(sendmail_t)
|
||||
|
||||
type sendmail_log_t;
|
||||
logging_log_file(sendmail_log_t)
|
||||
|
||||
@ -20,6 +15,17 @@ files_tmp_file(sendmail_tmp_t)
|
||||
type sendmail_var_run_t;
|
||||
files_pid_file(sendmail_var_run_t)
|
||||
|
||||
ifdef(`targeted_policy',`
|
||||
unconfined_alias_domain(sendmail_t)
|
||||
type sendmail_exec_t;
|
||||
domain_entry_file(sendmail_t,sendmail_exec_t)
|
||||
',`
|
||||
type sendmail_t;
|
||||
mta_sendmail_mailserver(sendmail_t)
|
||||
mta_mailserver_delivery(sendmail_t)
|
||||
mta_mailserver_sender(sendmail_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
#
|
||||
# Sendmail local policy
|
||||
|
Loading…
Reference in New Issue
Block a user