mta: Create mta_list_mail_home_rw() interface
PATCH 1/1 mta: Create mta_list_mail_home_rw() interface
--- mta.if | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
mta.if +18 -0
@@ -232,6 +232,24 @@ interface(`mta_home_filetrans_mail_home',` userdom_user_home_dir_filetrans($1, mail_home_t, $2, $3) ') +####################################### +## <summary> +## List the contents of mail home rw dirs. +## </summary> +## <param name="domain"> +## <summary> +## Domain allowed access. +## </summary> +## </param> +# +interface(`mta_list_mail_home_rw',` + gen_require(` + type mail_home_rw_t; + ') + + allow $1 mail_home_rw_t:dir list_dir_perms; +') + ####################################### ## <summary> ## Create, read, write, and delete
Signature · 1 line
2.15.0