From b8423b6ea3f4936410f965043617c4027111ff1d Mon Sep 17 00:00:00 2001 From: daschxx Date: Sat, 2 Jun 2018 12:13:30 +0200 Subject: [PATCH 1/3] Create u_e-dovecot-vmail-volume.md to mount vmail volume to another path --- docs/u_e-dovecot-vmail-volume.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/u_e-dovecot-vmail-volume.md diff --git a/docs/u_e-dovecot-vmail-volume.md b/docs/u_e-dovecot-vmail-volume.md new file mode 100644 index 000000000..d99e3df98 --- /dev/null +++ b/docs/u_e-dovecot-vmail-volume.md @@ -0,0 +1,9 @@ +If you want to use another folder for the vmail-volume, you can create an `docker-compose.override.yml` file and add: +``` +volumes: + vmail-vol-1: + driver_opts: + type: none + device: /data/mailcow/vmail + o: bind +``` From e219f0c380d3495154556464fc3435c60afd76fe Mon Sep 17 00:00:00 2001 From: daschxx Date: Sat, 2 Jun 2018 12:18:14 +0200 Subject: [PATCH 2/3] Update mkdocs.yml --- mkdocs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mkdocs.yml b/mkdocs.yml index bd420452b..7a58601d0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -61,6 +61,7 @@ pages: - 'Dovecot': - "Expunge a User's Mails": 'u_e-dovecot-expunge.md' - 'More Examples with DOVEADM': 'u_e-dovecot-more.md' + - 'Move vmail volume': 'u_e-dovecot-vmail-volume.md' - 'Redis': 'u_e-redis.md' - 'Rspamd': 'u_e-rspamd.md' - 'SOGo': 'u_e-sogo.md' From 8f9a91a91150b088c453f47302c3a23ce895d39d Mon Sep 17 00:00:00 2001 From: daschxx Date: Tue, 5 Jun 2018 20:41:27 +0200 Subject: [PATCH 3/3] Update u_e-dovecot-vmail-volume.md --- docs/u_e-dovecot-vmail-volume.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/u_e-dovecot-vmail-volume.md b/docs/u_e-dovecot-vmail-volume.md index d99e3df98..dfc52488d 100644 --- a/docs/u_e-dovecot-vmail-volume.md +++ b/docs/u_e-dovecot-vmail-volume.md @@ -1,5 +1,6 @@ If you want to use another folder for the vmail-volume, you can create an `docker-compose.override.yml` file and add: ``` +version: '2.1' volumes: vmail-vol-1: driver_opts: