From 49473da3607265fbd86daa8227bcbdbd82c77830 Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Fri, 12 Mar 2021 11:56:55 +0000 Subject: [PATCH] Avoid mail being sent from fas server while in read only mode --- roles/fas_server/templates/export-bugzilla.cfg.j2 | 2 +- roles/fas_server/templates/fas.cfg.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/fas_server/templates/export-bugzilla.cfg.j2 b/roles/fas_server/templates/export-bugzilla.cfg.j2 index 6bade6ac34..c53cdd582f 100644 --- a/roles/fas_server/templates/export-bugzilla.cfg.j2 +++ b/roles/fas_server/templates/export-bugzilla.cfg.j2 @@ -7,7 +7,7 @@ bugzilla.username = "fedora-admin-xmlrpc@fedoraproject.org" bugzilla.password = "{{ bugzillaPassword }}" # Mail server for sending invalid bugzilla account messages -mail.server = 'bastion' +mail.server = 'bastion-dummy' mail.admin_email = 'admin@fedoraproject.org' # This is a list (*must* have a comma) of email addresses to send messages about diff --git a/roles/fas_server/templates/fas.cfg.j2 b/roles/fas_server/templates/fas.cfg.j2 index acbb8dcc39..4904080a16 100644 --- a/roles/fas_server/templates/fas.cfg.j2 +++ b/roles/fas_server/templates/fas.cfg.j2 @@ -213,7 +213,7 @@ memcached_server = "fas01:11211,fas02:11211" # Sending of email via TurboMail mail.on = True -mail.smtp.server = 'bastion' +mail.smtp.server = 'bastion-dummy' #mail.testmode = True mail.smtp.debug = False mail.encoding = 'utf-8'