From ba81d0e08a8f4e139709f2193194905090f050e5 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Tue, 29 Aug 2023 23:22:31 +0200 Subject: [PATCH] feat(xo-server-transport-email): add local hostname to config (#6988) Fixes https://xcp-ng.org/forum/topic/7579/ --- CHANGELOG.unreleased.md | 2 ++ packages/xo-server-transport-email/src/index.js | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.unreleased.md b/CHANGELOG.unreleased.md index 7d2cb6c11..9e41e1e8c 100644 --- a/CHANGELOG.unreleased.md +++ b/CHANGELOG.unreleased.md @@ -10,6 +10,7 @@ - [Netbox] Synchronize VM tags [#5899](https://github.com/vatesfr/xen-orchestra/issues/5899) [Forum#6902](https://xcp-ng.org/forum/topic/6902) (PR [#6957](https://github.com/vatesfr/xen-orchestra/pull/6957)) - [REST API] Add support for `filter` and `limit` parameters to `backups/logs` and `restore/logs` collections [Forum#64789](https://xcp-ng.org/forum/post/64789) - [Pool/Advanced] Ability to set a crash dump SR [#5060](https://github.com/vatesfr/xen-orchestra/issues/5060) (PR [#6973](https://github.com/vatesfr/xen-orchestra/pull/6973)) +- [Plugin/transport-email] Local hostname can now be configured [Forum#7579](https://xcp-ng.org/forum/topic/7579) ### Bug fixes @@ -45,6 +46,7 @@ - xen-api patch - xo-server minor - xo-server-auth-ldap patch +- xo-server-transport-email minor - xo-server-netbox minor - xo-web minor diff --git a/packages/xo-server-transport-email/src/index.js b/packages/xo-server-transport-email/src/index.js index 8107c641c..0c0543939 100644 --- a/packages/xo-server-transport-email/src/index.js +++ b/packages/xo-server-transport-email/src/index.js @@ -68,6 +68,15 @@ export const configurationSchema = { ], description: 'whether the connection should use TLS', }, + name: { + type: 'string', + title: 'local hostname', + description: ` +hostname of the local machine, used for identifying to the server + +This is an advanced setting which should only be used if you encounter issues. +`.trim(), + }, ignoreUnauthorized: { type: 'boolean', description: 'ignore certificates error (e.g. self-signed certificate)',