From 602f9be5455ae99040cefbb0c57f45bacb253878 Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Mon, 22 Jul 2024 13:53:41 +0000 Subject: [PATCH] Update mail.md --- docs/ecolyo/Technical/mail.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/ecolyo/Technical/mail.md b/docs/ecolyo/Technical/mail.md index 5daa440..c7f4306 100644 --- a/docs/ecolyo/Technical/mail.md +++ b/docs/ecolyo/Technical/mail.md @@ -83,7 +83,14 @@ A bounce token stored in the profile of each user is sent in email. It allows us A user can unsubscribe to our newsletter by a link in each mails. It **does not** require authentication. This link is built with a `sharecode` token that contains specific permissions to turn off the `sendAnalysisNotification` property in the user profile. The sent link has a TTL of 15 days. -## Mail server +## Mail worker + +From the stack version 1.6, the `mode` needs to be set to `campaign` instead of `noreply`. In local development this might prevent some mails to be received. + +- [Jobs documentation](https://docs.cozy.io/en/cozy-stack/workers/#sendmail-worker) +- [Explaination](https://mattermost.cozycloud.cc/grand-lyon/pl/pirw78phnp8jmpzj8epobupc1r) + +## Alpha Mail server The mail server is configured with the [`cozy.yml` under the mail section](https://github.com/bastiendmt/cozy-stack-compose/blob/main/files/cozy.yml#L36). -- GitLab