Commit 738de186044ac4ca486d4538ae1248130bf4b9ad
1 parent
c6ac103e
Exists in
master
and in
7 other branches
Disable mailman archiving
Closes #136 Signed-off-by: Athos Ribeiro <athoscribeiro@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
cookbooks/mailman/recipes/default.rb
... | ... | @@ -86,3 +86,8 @@ end |
86 | 86 | cookbook_file '/etc/postfix/master.cf' do |
87 | 87 | notifies :reload, 'service[postfix]' |
88 | 88 | end |
89 | + | |
90 | +execute 'set-mailman-default-list' do | |
91 | + command "printf 'mlist.archive = False\nmlist.archive_private = 1' > /tmp/set_mailman_list && \ | |
92 | + sudo /usr/lib/mailman/bin/config_list -i /tmp/set_mailman_list mailman" | |
93 | +end | ... | ... |