diff options
-rw-r--r-- | modules/sympa/templates/scenari/sender.email | 5 | ||||
-rw-r--r-- | modules/sympa/templates/scenari/sender.ldap_group | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/modules/sympa/templates/scenari/sender.email b/modules/sympa/templates/scenari/sender.email new file mode 100644 index 00000000..7377b2de --- /dev/null +++ b/modules/sympa/templates/scenari/sender.email @@ -0,0 +1,5 @@ +title.gettext restricted to email <%= name %> + +equal([sender], <%= name %>) smtp,md5,smime -> do_it +true() smtp,md5,smime -> reject(reason='send_subscriber') + diff --git a/modules/sympa/templates/scenari/sender.ldap_group b/modules/sympa/templates/scenari/sender.ldap_group new file mode 100644 index 00000000..d1abe66d --- /dev/null +++ b/modules/sympa/templates/scenari/sender.ldap_group @@ -0,0 +1,5 @@ +title.gettext restricted to group <%= name %> + +search(<%= name %>.ldap) smtp,md5,smime -> do_it +true() smtp,md5,smime -> reject(reason='send_subscriber') + |