X-Git-Url: https://git.distorted.org.uk/~mdw/ezmlm/blobdiff_plain/f8beb284087c279acfb30506f5bb32baa4949b44..25a55efedbea9031ccca8a8f91a657781198a1c5:/ezmlm-test.sh diff --git a/ezmlm-test.sh b/ezmlm-test.sh index a1d03b8..0653795 100644 --- a/ezmlm-test.sh +++ b/ezmlm-test.sh @@ -218,11 +218,11 @@ if [ ! -x "${EZBIN}/ezmlm-make" ]; then exit 99 fi -if [ ! -x "${QMPATH}/bin/qmail-local" ]; then +if [ ! -x "/usr/sbin/qmail-local" ]; then ${ECHO} "can't find qmail-local. Please correct the path in the script" exit 99 fi -if [ ! -x "${QMPATH}/bin/qmail-inject" ]; then +if [ ! -x "/usr/sbin/qmail-inject" ]; then ${ECHO} "can't find qmail-inject. Please correct the path in the script" exit 99 fi @@ -284,7 +284,7 @@ send_test() { ${ECHO} "X-num: #TSTMSG$1#" ${ECHO} "To: ${SND}@$HOST" - } | ${QMPATH}/bin/qmail-inject + } | /usr/sbin/qmail-inject return 0 } @@ -517,7 +517,7 @@ fi if [ "$SECT" != "9" ]; then ${ECHO} "Subject: zzz-test" > "${DIR}/__tmp" -${QMPATH}/bin/qmail-local "$EZTEST" "$HOME" "$SND-zzz" "$DASH" \ +/usr/sbin/qmail-local "$EZTEST" "$HOME" "$SND-zzz" "$DASH" \ "$LIST-$SINK-zzz" "$HOST" \ "<>" '' < "${DIR}/__tmp" >"${ERR}" 2>&1 || \ { ${ECHO} "-failed to deliver message with qmail-local"; exit 100; }