From 5a9f7efb34a3c385c04c3e8e83da4404e7a4f997 Mon Sep 17 00:00:00 2001 From: Tobias Strobel Date: Sun, 8 Apr 2018 17:31:13 +0200 Subject: [PATCH] Add note for path --- docs/u_e-dovecot-expunge.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/u_e-dovecot-expunge.md b/docs/u_e-dovecot-expunge.md index 257874710..a3ab62f7e 100644 --- a/docs/u_e-dovecot-expunge.md +++ b/docs/u_e-dovecot-expunge.md @@ -31,7 +31,9 @@ If you want to automate such a task you can create a cron job on your host that ``` #!/bin/bash -cd /opt/mailcow-dockerized +# Path to mailcow-dockerized, e.g. /opt/mailcow-dockerized +cd /path/to/your/mailcow-dockerized + /usr/local/bin/docker-compose exec -T dovecot-mailcow doveadm expunge -A mailbox 'Junk' savedbefore 2w /usr/local/bin/docker-compose exec -T dovecot-mailcow doveadm expunge -A mailbox 'Junk' SEEN not SINCE 12h [...]