diff options
author | CoprDistGit <infra@openeuler.org> | 2025-10-11 06:36:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-10-11 06:36:27 +0000 |
commit | 086f61816d9c4709a4753417ed1fe06709422542 (patch) | |
tree | 1dd233e8d7003043fc19aad1e814792b21371e73 /exim-tidydb.sh | |
parent | 836dc7112d8166821462e5963c5b95a319b84520 (diff) |
automatic import of eximopeneuler24.03_LTS_SP2
Diffstat (limited to 'exim-tidydb.sh')
-rw-r--r-- | exim-tidydb.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/exim-tidydb.sh b/exim-tidydb.sh new file mode 100644 index 0000000..1b3dddc --- /dev/null +++ b/exim-tidydb.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +SPOOLDIR=/var/spool/exim + +cd $SPOOLDIR/db +for a in retry misc wait-* callout ratelimit; do + [ -r "$a" ] || continue + [ "${a%%.lockfile}" = "$a" ] || continue + /usr/sbin/exim_tidydb $SPOOLDIR $a >/dev/null +done |