Blame refpolicy/policy/modules/services/mta.if
|
Chris PeBenito |
6b9383 |
# Copyright (C) 2005 Tresys Technology, LLC
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
#######################################
|
|
Chris PeBenito |
6b9383 |
#
|
|
Chris PeBenito |
6b9383 |
# Per user domain template for this module
|
|
Chris PeBenito |
6b9383 |
#
|
|
Chris PeBenito |
6b9383 |
# mta_per_userdomain_template(userdomain_prefix)
|
|
Chris PeBenito |
6b9383 |
#
|
|
Chris PeBenito |
6b9383 |
define(`mta_per_userdomain_template',`
|
|
Chris PeBenito |
6b9383 |
requires_block_template(mta_per_userdomain_template_depend)
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
type $1_mail_t;
|
|
Chris PeBenito |
6b9383 |
domain_make_domain($1_mail_t)
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
type $1_mail_tmp_t;
|
|
Chris PeBenito |
6b9383 |
files_make_file($1_mail_tmp_t)
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
logging_send_system_log_message($1_mail_t)
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
')
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
define(`mta_per_userdomain_template_depend',`
|
|
Chris PeBenito |
6b9383 |
|
|
Chris PeBenito |
6b9383 |
')
|