mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
While mbox and maildir files get deleted by dovecot right away, that's not the case for mdbox files. Since they contain multiple mails at once in a proprietary format rewriting is expensive. That's why this step is done in a separate step outside the dovecot process.
7 lines
101 B
SYSTEMD
7 lines
101 B
SYSTEMD
[Unit]
|
|
Description=Daily Dovecot cleanup
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/doveadm purge -A
|