aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-22 16:15:13 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-22 16:15:13 +0000
commitde0e65f6ed000d72fff695345f304e9d042c26e6 (patch)
tree9b43915613a97d4956bc3faf711ad8082c8f7c79 /modules/sympa
parent5981d741ace79c64faf14678e5f7d3f943cece9b (diff)
downloadpuppet-de0e65f6ed000d72fff695345f304e9d042c26e6.tar
puppet-de0e65f6ed000d72fff695345f304e9d042c26e6.tar.gz
puppet-de0e65f6ed000d72fff695345f304e9d042c26e6.tar.bz2
puppet-de0e65f6ed000d72fff695345f304e9d042c26e6.tar.xz
puppet-de0e65f6ed000d72fff695345f304e9d042c26e6.zip
sympa, lists: change sender_email parameter to an array
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/templates/scenari/sender.email6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/sympa/templates/scenari/sender.email b/modules/sympa/templates/scenari/sender.email
index ee53dc38..18704f48 100644
--- a/modules/sympa/templates/scenari/sender.email
+++ b/modules/sympa/templates/scenari/sender.email
@@ -1,5 +1,7 @@
-title.gettext restricted to email <%= @email %>
+title.gettext restricted list
-equal([sender], '<%= @email %>') smtp,md5,smime -> do_it
+<%- for e in @email -%>
+equal([sender], '<%= e %>') smtp,md5,smime -> do_it
+<%- end -%>
true() smtp,md5,smime -> reject(reason='send_subscriber')