[mailman3] Disable sending e-mails on staging
This commit is setting both mailman and hyperkitty to devmode and doesn't allow them to sent mails anywhere. I tested that from web UI and using `mail` command on the machine. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
ba92fb5339
commit
2f1529f76e
3 changed files with 12 additions and 0 deletions
|
@ -74,3 +74,8 @@ mailman_hyperkitty_cookie_key: "{{ mailman_hk_cookie_key }}"
|
|||
mailman_hyperkitty_archiver_key: "{{ mailman_hk_stg_archiver_key }}"
|
||||
mailman_openidc_server_url: "https://id.stg.fedoraproject.org/"
|
||||
mailman_httpd_hostname: lists.stg.fedoraproject.org
|
||||
|
||||
# Setting debug variables to 'true' disables mail sending
|
||||
# If you want to enable it just set it to 'false'
|
||||
mailman_debug: true
|
||||
mailman_hyperkitty_debug: true
|
||||
|
|
|
@ -18,6 +18,7 @@ mailman_log_items:
|
|||
- subscribe
|
||||
- task
|
||||
mailman_smtp_port: 25
|
||||
mailman_debug: false
|
||||
|
||||
# Mailman DB settings (the values should be provided by playbook)
|
||||
mailman_db_server: localhost
|
||||
|
|
|
@ -16,6 +16,12 @@ listinfo_url = /admin/
|
|||
# Set the paths to be Fedora-compliant
|
||||
layout: fhs
|
||||
|
||||
{% if mailman_debug %}
|
||||
[devmode]
|
||||
enabled: yes
|
||||
recipient: ""
|
||||
{% endif %}
|
||||
|
||||
[paths.fhs]
|
||||
bin_dir: /usr/libexec/mailman3
|
||||
var_dir: /var/lib/mailman3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue