Merge pull request #81 from strobeltobias/patch-1
Fix cronjob errors of Dovecot expunge
Dieser Commit ist enthalten in:
Commit
bd9d21ce42
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
|
@ -31,8 +31,11 @@ If you want to automate such a task you can create a cron job on your host that
|
||||||
|
|
||||||
```
|
```
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/local/bin/docker-compose exec dovecot-mailcow doveadm expunge -A mailbox 'Junk' savedbefore 2w
|
# Path to mailcow-dockerized, e.g. /opt/mailcow-dockerized
|
||||||
/usr/local/bin/docker-compose exec dovecot-mailcow doveadm expunge -A mailbox 'Junk' SEEN not SINCE 12h
|
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
|
||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren