From 9f75189f9c735895596cb78b32b7692efbc3f118 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 21 Jun 2021 20:55:33 +0200 Subject: [PATCH] [mailman3] nounou@lists.crans.org is the default from email Signed-off-by: Yohann D'ANELLO --- group_vars/mailman.yml | 2 +- roles/mailman3/templates/mailman3/mailman-web.py.j2 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/group_vars/mailman.yml b/group_vars/mailman.yml index aa2eef5a..df9f68fb 100644 --- a/group_vars/mailman.yml +++ b/group_vars/mailman.yml @@ -71,7 +71,7 @@ glob_mailman3: web_secret_key: "{{ vault.mailman3_web_secret_key }}" web_domains: - "lists.crans.org" - default_domain: "crans.org" + default_domain: "lists.crans.org" postfix_domain: "crans.org" loc_opendkim: diff --git a/roles/mailman3/templates/mailman3/mailman-web.py.j2 b/roles/mailman3/templates/mailman3/mailman-web.py.j2 index 3ee09a03..e2529635 100644 --- a/roles/mailman3/templates/mailman3/mailman-web.py.j2 +++ b/roles/mailman3/templates/mailman3/mailman-web.py.j2 @@ -134,21 +134,21 @@ USE_TZ = True # Set default domain for email addresses. -EMAILNAME = '{{ mailman3.default_domain }}' # A changer en prod +EMAILNAME = '{{ mailman3.default_domain }}' # If you enable internal authentication, this is the address that the emails # will appear to be coming from. Make sure you set a valid domain name, # otherwise the emails may get rejected. # https://docs.djangoproject.com/en/1.8/ref/settings/#default-from-email # DEFAULT_FROM_EMAIL = "mailing-lists@you-domain.org" -DEFAULT_FROM_EMAIL = f'contact@{EMAILNAME}' +DEFAULT_FROM_EMAIL = f'nounou@{EMAILNAME}' # If you enable email reporting for error messages, this is where those emails # will appear to be coming from. Make sure you set a valid domain name, # otherwise the emails may get rejected. # https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-SERVER_EMAIL # SERVER_EMAIL = 'root@your-domain.org' -SERVER_EMAIL = f'root@{EMAILNAME}' +SERVER_EMAIL = f'nounou@{EMAILNAME}' # Django Allauth