mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
Improve VIRUSMAILS_DELETE_DELAY usage (#2281)
This commit is contained in:
parent
c7dec1e330
commit
b117cd1423
4 changed files with 5 additions and 13 deletions
|
@ -1,3 +1,8 @@
|
|||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. /etc/dms-settings
|
||||
|
||||
find /var/lib/amavis/virusmails/ -type f -mtime +"${VIRUSMAILS_DELETE_DELAY}" -delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue