mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
13 lines
283 B
SYSTEMD
13 lines
283 B
SYSTEMD
|
[Unit]
|
||
|
Description=Auto-archive Dovecot inbox messages
|
||
|
Wants=dovecot.service
|
||
|
After=dovecot.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
SyslogIdentifier=%N
|
||
|
ExecStart=/bin/podman exec dovecot doveadm -v move -A INBOX.Archive mailbox INBOX UNFLAGGED BEFORE 2w
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|