mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
dma: Add cron job to clean up spool directory
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -58,3 +58,9 @@ HOME=/
|
||||
|
||||
# Update GeoIP database once a month.
|
||||
%monthly,random * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/xt_geoip_update >/dev/null 2>&1
|
||||
|
||||
# Retry sending spooled mails regularly
|
||||
%hourly * /usr/sbin/dma -q
|
||||
|
||||
# Cleanup the mail spool directory
|
||||
%weekly * * /usr/sbin/dma-cleanup-spool
|
||||
|
||||
Reference in New Issue
Block a user