FMN: keep using Sendria on staging

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2023-03-28 18:37:03 +02:00
parent 38a5336a2c
commit ca5eda3e3a
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -9,9 +9,12 @@ keyfile = "/etc/pki/fedora-messaging/key/fmn-key.pem"
[handler]
class = "fmn.sender.email:EmailHandler"
from = "Fedora Notifications <notifications{{ env_suffix }}@fedoraproject.org>"
{% if env == "staging" %}
smtp_host = "sendria.fmn.svc.cluster.local"
smtp_port = 1025
{% else %}
smtp_host = "bastion{{ env_suffix }}.fedoraproject.org"
# smtp_host = "sendria.fmn.svc.cluster.local"
# smtp_port = 1025
{% endif %}
[log_config]
version = 1