fix sendmail transition
This commit is contained in:
parent
8967bf8b89
commit
76febd2146
|
@ -230,24 +230,6 @@ interface(`mta_sendmail_mailserver',`
|
|||
typeattribute $1 mailserver_domain;
|
||||
')
|
||||
|
||||
#######################################
|
||||
## <summary>
|
||||
## Allow the specified domain to use
|
||||
## the sendmail program as an entrypoint.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## Domain allowed access.
|
||||
## </param>
|
||||
#
|
||||
# cjp: added for targeted sendmail (unconfined)
|
||||
interface(`mta_sendmail_entry',`
|
||||
gen_require(`
|
||||
type sendmail_exec_t;
|
||||
')
|
||||
|
||||
domain_entry_file($1,sendmail_exec_t)
|
||||
')
|
||||
|
||||
#######################################
|
||||
## <summary>
|
||||
## Make a type a mailserver type used
|
||||
|
|
|
@ -17,7 +17,7 @@ files_pid_file(sendmail_var_run_t)
|
|||
|
||||
ifdef(`targeted_policy',`
|
||||
unconfined_alias_domain(sendmail_t)
|
||||
mta_sendmail_entry(sendmail_t)
|
||||
mta_sendmail_mailserver(sendmail_t)
|
||||
',`
|
||||
type sendmail_t;
|
||||
mta_sendmail_mailserver(sendmail_t)
|
||||
|
|
Loading…
Reference in New Issue