1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/dovecot/files/dovecot-cleanup.service
Frederik Schwan 5adae994b6
add dovecot cleanup timer to purge mdbox files
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.
2020-11-15 13:06:00 +01:00

7 lines
101 B
SYSTEMD

[Unit]
Description=Daily Dovecot cleanup
[Service]
Type=oneshot
ExecStart=/usr/bin/doveadm purge -A