From ca315bf9c292d4757b67a86117e3182c1b0dd680 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 12 Dec 2014 14:28:47 +0100 Subject: Import postfix/mailman from rad --- roles/mailman_lists/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/mailman_lists/tasks/main.yml (limited to 'roles/mailman_lists/tasks') diff --git a/roles/mailman_lists/tasks/main.yml b/roles/mailman_lists/tasks/main.yml new file mode 100644 index 0000000..c9c1634 --- /dev/null +++ b/roles/mailman_lists/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- command: creates=/var/lib/mailman/lists/{{ item.name }} /usr/lib/mailman/bin/newlist {{ item.name }}@{{ mailman_prefix }} {{ item.owner | default( mailman_default_owner ) }} $(pwgen -1 14) + with_items: mailman_lists + +- template: src=aliases dest=/etc/postfix/aliases.mailman + notify: update mailman aliases -- cgit