aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/sympa/files/scenari/subscriber_moderated6
-rw-r--r--modules/sympa/manifests/init.pp8
2 files changed, 14 insertions, 0 deletions
diff --git a/modules/sympa/files/scenari/subscriber_moderated b/modules/sympa/files/scenari/subscriber_moderated
new file mode 100644
index 00000000..06efdb06
--- /dev/null
+++ b/modules/sympa/files/scenari/subscriber_moderated
@@ -0,0 +1,6 @@
+title Reserved to subscriber
+
+is_subscriber([listname],[sender]) smtp,smime,md5 -> do_it
+true() smime,md5 -> do_it
+true() smtp -> request_auth
+
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index c014a18d..97593141 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -94,6 +94,14 @@ class sympa {
source => "puppet:///modules/sympa/scenari/open_web_only_notify",
}
+ file { ["/etc/sympa/scenari/send.subscriber_moderated"]:
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ source => "puppet:///modules/sympa/scenari/subscriber_moderated",
+ }
+
define ldap_search_filter {
file { "/etc/sympa/search_filters/$name.ldap":
ensure => present,