1
0
mirror of https://git.dpkg.org/git/dpkg/dupload.git synced 2025-04-09 16:04:39 +00:00
Files
dupload/t/bin/sendmail
Guillem Jover 66ac04e42e test: Add functional test suite
This currently covers unknown host, some bad .changes files, the
announcement logic, and the copy method.
2022-09-04 22:56:59 +02:00

15 lines
220 B
Bash
Executable File

#!/bin/sh
set -e
: "${DUPLOAD_TMPDIR:=t}"
: "${DUPLOAD_MTA_SPOOL:="$DUPLOAD_TMPDIR/sendmail-spool-mbox"}"
(
echo ">>>>--------"
echo "MTA exec: $*"
echo ">>>>--------"
cat
echo ">>>>--------"
) >>"$DUPLOAD_MTA_SPOOL"