mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Updated FAQ and Tips (markdown)
This commit is contained in:
parent
1f220f5418
commit
729196d97e
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue