From 729196d97e467e5c80ec1fe8fdcb6bda2bcb613d Mon Sep 17 00:00:00 2001 From: Jean-Denis Vauguet Date: Fri, 29 May 2020 05:41:07 +0200 Subject: [PATCH] Updated FAQ and Tips (markdown) --- docs/content/config/troubleshooting/faq.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/content/config/troubleshooting/faq.md b/docs/content/config/troubleshooting/faq.md index 4a9c1b1d..1c73c7bd 100644 --- a/docs/content/config/troubleshooting/faq.md +++ b/docs/content/config/troubleshooting/faq.md @@ -1,8 +1,14 @@ ### What kind of database are you using? + None. No *sql database required. This image is based on config files that can be versioned. You'll probably want to `push` your config updates to your server and restart the container to apply changes. +### Where are emails stored? + +Mails are stored in `/var/mail/${domain}/${username}`. +You should use a [data volume container](https://medium.com/@ramangupta/why-docker-data-containers-are-good-589b3c6c749e#.uxyrp7xpu) for `/var/mail` to persist data. Otherwise, your data may be lost. + ### How can I sync container with host date/time? Share the host's [`/etc/localtime`](https://www.freedesktop.org/software/systemd/man/localtime.html) descriptor with the mail-server container, using a volume: @@ -17,10 +23,6 @@ Share the host's [`/etc/localtime`](https://www.freedesktop.org/software/systemd All files are using the Unix format with `LF` line endings. Please do not use `CRLF`. -### Where are emails stored? -Mails are stored in `/var/mail/${domain}/${username}`. -You should use a [data volume container](https://medium.com/@ramangupta/why-docker-data-containers-are-good-589b3c6c749e#.uxyrp7xpu) for `/var/mail` to persist data. Otherwise, your data may be lost. - ### What about backups? Assuming that you use `docker-compose` and a data volumes, you can backup your user mails like this: