vault: force smtp through localhost:25
This works around an issue with the current implementation of vault email sending with sendmail.
Ref. infra/sysadm-environment#4679
Octocatalog-diff output:
*** Running octocatalog-diff on host vangogh.euwest.azure.internal.softwareheritage.org
I, [2022-11-24T16:12:46.581355 #182995] INFO -- : Catalogs compiled for vangogh.euwest.azure.internal.softwareheritage.org
I, [2022-11-24T16:12:46.942868 #182995] INFO -- : Diffs computed for vangogh.euwest.azure.internal.softwareheritage.org
diff origin/production/vangogh.euwest.azure.internal.softwareheritage.org current/vangogh.euwest.azure.internal.softwareheritage.org
*******************************************
File[/etc/softwareheritage/vault/server.yml] =>
parameters =>
content =>
@@ -98,4 +98,7 @@
api_secret_key: swh::azure::credentials::vaultstorage::key
container_name: contents
+smtp:
+ host: localhost
+ port: 25
vault:
cls: postgresql
*******************************************
*** End octocatalog-diff on vangogh.euwest.azure.internal.softwareheritage.org
*** Running octocatalog-diff on host vault.internal.staging.swh.network
I, [2022-11-24T16:12:52.356019 #183121] INFO -- : Catalogs compiled for vault.internal.staging.swh.network
I, [2022-11-24T16:12:52.733679 #183121] INFO -- : Diffs computed for vault.internal.staging.swh.network
diff origin/production/vault.internal.staging.swh.network current/vault.internal.staging.swh.network
*******************************************
File[/etc/softwareheritage/vault/server.yml] =>
parameters =>
content =>
@@ -19,4 +19,7 @@
root: "/srv/softwareheritage/vault_cache"
slicing: 0:1/1:5
+smtp:
+ host: localhost
+ port: 25
vault:
cls: postgresql
*******************************************
*** End octocatalog-diff on vault.internal.staging.swh.network