summaryrefslogtreecommitdiffstats
path: root/roles/lists/tasks/sympa.yml
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-05 18:25:09 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:27 +0200
commitf12db60f358dbf5506e373477c04488a2c269332 (patch)
tree5e7ee6493b3495a7361a85e6812e226528380491 /roles/lists/tasks/sympa.yml
parent2c925ea17fcb6f71826e5c0f30f99c5daba10e14 (diff)
Add a reserved domain 'discard.fripost.org' to discard messages.
‘noreply@’ aliases can be added by routing them to ‘@discard.fripost.org’.
Diffstat (limited to 'roles/lists/tasks/sympa.yml')
-rw-r--r--roles/lists/tasks/sympa.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/lists/tasks/sympa.yml b/roles/lists/tasks/sympa.yml
index 6aa1852..402518f 100644
--- a/roles/lists/tasks/sympa.yml
+++ b/roles/lists/tasks/sympa.yml
@@ -1,29 +1,35 @@
- apt: pkg={{ item }} install_recommends=no
with_items:
- mysql-server
- sympa
- name: Make the 'sympa' MySQL user use auth_socket
mysql_user: name=sympa password= auth_plugin=auth_socket
state=present
+# XXX We want to change the retun-path for sendpasswd notices from
+# 'sympa-request@$robot' to 'noreply@fripost.org'.
+# * /usr/lib/cgi-bin/sympa/wwsympa.fcgi
+# do_requestpasswd, do_subrequest: add $param->{'return_path'}='noreply@fripost.org';
+# * List::send_global_file
+# $data->{'return_path'} //= &Conf::get_robot_conf($robot, 'request');
- name: Configure Sympa
copy: src=etc/sympa/{{ item }}
dest=/etc/sympa/{{ item }}
owner=root group=sympa
mode=0644
with_items:
- sympa.conf
- wwsympa.conf
- topics.conf
register: r1
notify:
- Restart Sympa
- name: Create Virtual hosts for Sympa (1)
file: path=/etc/sympa/{{ item }}
state=directory
owner=root group=root
mode=0755
with_items:
- lists.fripost.org