exim/greylist-tidy.sh
TomNewChao c15f052460 initial package
modify exim.spec

add clamav

modify exim spec

modify spec file

spec file add notes

spec file modify username
2022-11-08 17:18:33 +08:00

9 lines
192 B
Bash

#!/bin/bash
if [ -s /var/spool/exim/db/greylist.db ]; then
sqlite3 /var/spool/exim/db/greylist.db <<EOF
.timeout 5000
DELETE FROM greylist WHERE expire < $((`date +%s` - 604800));
EOF
fi