aboutsummaryrefslogtreecommitdiffstats
path: root/dist-tools/test/testmda
diff options
context:
space:
mode:
Diffstat (limited to 'dist-tools/test/testmda')
-rwxr-xr-xdist-tools/test/testmda10
1 files changed, 10 insertions, 0 deletions
diff --git a/dist-tools/test/testmda b/dist-tools/test/testmda
new file mode 100755
index 00000000..98a7c760
--- /dev/null
+++ b/dist-tools/test/testmda
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Test MDA for debugging fetchmail configurations.
+echo "[testmda called with the following arguments: $*]"
+
+# Display the input
+cat >/tmp/testmda$$
+echo "[text is "`wc -c </tmp/testmda$$`" bytes long]"
+cat /tmp/testmda$$
+rm /tmp/testmda$$
+