From 83c1d0fabd2e031ce022ca93f057ca983cd9ff1c Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Fri, 5 Apr 2024 15:32:03 +0200 Subject: [PATCH] openscanhub: use `bastion.fedoraproject.org` SMTP ... server. Signed-off-by: Siteshwar Vashisht --- .../openshift-apps/openscanhub/templates/settings_local.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/openscanhub/templates/settings_local.py b/roles/openshift-apps/openscanhub/templates/settings_local.py index d8e67744f6..6741632de7 100644 --- a/roles/openshift-apps/openscanhub/templates/settings_local.py +++ b/roles/openshift-apps/openscanhub/templates/settings_local.py @@ -85,8 +85,10 @@ TIME_ZONE = 'Europe/Prague' KRB_AUTH_PRINCIPAL = 'HTTP/covscan.lab.eng.brq2.redhat.com@REDHAT.COM' KRB_AUTH_KEYTAB = '/etc/httpd/conf/httpd.keytab' -# Regular users cannot bind to port 25. -EMAIL_PORT = 8025 +# This should work with both staging and production. +# https://docs.fedoraproject.org/en-US/infra/sysadmin_guide/bastion-hosts-info/ +EMAIL_HOST = "bastion.fedoraproject.org" +EMAIL_PORT = 25 ############################################################################### # OpenScanHub SPECIFIC