[mailman3] nounou@lists.crans.org is the default from email

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-06-21 20:55:33 +02:00
parent 21d3555f1d
commit 9f75189f9c
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ glob_mailman3:
web_secret_key: "{{ vault.mailman3_web_secret_key }}" web_secret_key: "{{ vault.mailman3_web_secret_key }}"
web_domains: web_domains:
- "lists.crans.org" - "lists.crans.org"
default_domain: "crans.org" default_domain: "lists.crans.org"
postfix_domain: "crans.org" postfix_domain: "crans.org"
loc_opendkim: loc_opendkim:

View File

@ -134,21 +134,21 @@ USE_TZ = True
# Set default domain for email addresses. # 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 # 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, # will appear to be coming from. Make sure you set a valid domain name,
# otherwise the emails may get rejected. # otherwise the emails may get rejected.
# https://docs.djangoproject.com/en/1.8/ref/settings/#default-from-email # https://docs.djangoproject.com/en/1.8/ref/settings/#default-from-email
# DEFAULT_FROM_EMAIL = "mailing-lists@you-domain.org" # 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 # 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, # will appear to be coming from. Make sure you set a valid domain name,
# otherwise the emails may get rejected. # otherwise the emails may get rejected.
# https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-SERVER_EMAIL # https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-SERVER_EMAIL
# SERVER_EMAIL = 'root@your-domain.org' # SERVER_EMAIL = 'root@your-domain.org'
SERVER_EMAIL = f'root@{EMAILNAME}' SERVER_EMAIL = f'nounou@{EMAILNAME}'
# Django Allauth # Django Allauth