0fb4478e2e
Resolves: rhbz#1689211
9 lines
192 B
Bash
Executable File
9 lines
192 B
Bash
Executable File
#!/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
|