From 1e17ee487becc3dd1379a3c72791fa0d81993c30 Mon Sep 17 00:00:00 2001 From: Sebastien DUMETZ Date: Thu, 16 Nov 2023 14:46:29 +0100 Subject: [PATCH] add doc on smart host configuration --- en/doc/references/administration/configuration.md | 13 +++++++++++-- fr/doc/references/administration/configuration.md | 12 +++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/en/doc/references/administration/configuration.md b/en/doc/references/administration/configuration.md index 8e367da..8a92810 100644 --- a/en/doc/references/administration/configuration.md +++ b/en/doc/references/administration/configuration.md @@ -49,10 +49,19 @@ Port used by the service. Change in case of conflict. ### SMART_HOST - > `localhost` + > `smtp://localhost` -[Smart Host](https://en.wikipedia.org/wiki/Smart_host) to use for sending emails. +[Smart Host](https://en.wikipedia.org/wiki/Smart_host) à utiliser pour l'envoi d'emails. +Used by [modemailer](https://nodemailer.com/) to create a mail transport. + +Additional configuration options can be added to the url as query parameters. + +``` +# allow self-signed certificates: +smtp://localhost:465?tls.rejectUnauthorized=false +``` +See the full [list](https://nodemailer.com/smtp/). ### TRUST_PROXY diff --git a/fr/doc/references/administration/configuration.md b/fr/doc/references/administration/configuration.md index 0280fa8..8cb5274 100644 --- a/fr/doc/references/administration/configuration.md +++ b/fr/doc/references/administration/configuration.md @@ -53,10 +53,20 @@ Port utilisé par le service. Changer en cas de conflit. ### SMART_HOST - > `localhost` + > `smtp://localhost` [Smart Host](https://en.wikipedia.org/wiki/Smart_host) à utiliser pour l'envoi d'emails. +Utilisé pour créer le transport par [modemailer](https://nodemailer.com/). + +Les options de configuration peuvent être donénes sous forme de *query string* : + +``` +# autorise l'utilisation de certificats self-signed: +smtp://localhost:465?tls.rejectUnauthorized=false +``` +D'autres options utiles peuvent être : `?logger=true&debug=true` pour activer le mode verbeux. Voir la [liste des options](https://nodemailer.com/smtp/). + ### TRUST_PROXY