1 2 3 4 5 6 7 8 9 10 11 12
/var/log/rspamd/rspamd.log{ daily rotate 4 delaycompress compress notifempty missingok postrotate service rspamd reopenlog >/dev/null 2>&1 || true endscript }