You must login to view /lordwelch/downthemall/commit/2d14432efe2391364aa45514c790b3818de46571.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/test/util/test-mda
Alberto Bertogli 7a2e49c849 test/t-21-dkim: Add cross-tool check against driusan/dkimverify
This patch adds a cross-tool integration check that uses
driusan/dkim's dkimverify to confirm it can verify our own DKIM signatures.

It is optional, since the tool may not be present.
2024-03-12 20:43:21 +00:00

14 lines
226 B
Bash
Executable File

#!/bin/bash
set -e
mkdir -p ${MDA_DIR}
# TODO: use flock to lock the file, to prevent atomic writes.
cat >> ${MDA_DIR}/.tmp-${1}
X=$?
if [ -e ${MDA_DIR}/.tmp-${1} ]; then
mv ${MDA_DIR}/.tmp-${1} ${MDA_DIR}/${1}
fi
exit $X