diff options
-rw-r--r-- | modules/sympa/files/scenari/forbidden | 2 | ||||
-rw-r--r-- | modules/sympa/manifests/init.pp | 9 | ||||
-rw-r--r-- | modules/sympa/templates/sympa.conf | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/modules/sympa/files/scenari/forbidden b/modules/sympa/files/scenari/forbidden new file mode 100644 index 00000000..6b00d905 --- /dev/null +++ b/modules/sympa/files/scenari/forbidden @@ -0,0 +1,2 @@ +title nobody +true() smtp,md5,smime -> reject diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp index 49a9512b..e707919d 100644 --- a/modules/sympa/manifests/init.pp +++ b/modules/sympa/manifests/init.pp @@ -105,6 +105,15 @@ class sympa { source => "puppet:///modules/sympa/scenari/subscriber_moderated", } + file { ["/etc/sympa/scenari/create_list.forbidden"]: + ensure => present, + owner => root, + group => root, + mode => 755, + source => "puppet:///modules/sympa/scenari/forbidden", + } + + file { ["/etc/sympa/topics.conf"]: ensure => present, owner => root, diff --git a/modules/sympa/templates/sympa.conf b/modules/sympa/templates/sympa.conf index 0a555a3f..0a404d40 100644 --- a/modules/sympa/templates/sympa.conf +++ b/modules/sympa/templates/sympa.conf @@ -98,7 +98,7 @@ email sympa ## Who is able to create lists ## This parameter is a scenario, check sympa documentation about scenarios if you want to define one -create_list public_listmaster +create_list forbidden edit_list owner |