docker-mailserver/target/bin/virus-wiper

9 lines
159 B
Bash
Executable file

#! /bin/bash
set -e
# shellcheck source=/dev/null
. /etc/dms-settings
find /var/lib/amavis/virusmails/ -type f -mtime +"${VIRUSMAILS_DELETE_DELAY}" -delete