fix sendmail transition

This commit is contained in:
Chris PeBenito 2005-11-07 21:13:07 +00:00
parent 8967bf8b89
commit 76febd2146
2 changed files with 1 additions and 19 deletions

View File

@ -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

View File

@ -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)