aboutsummaryrefslogtreecommitdiffstats
path: root/testmda
diff options
context:
space:
mode:
Diffstat (limited to 'testmda')
-rwxr-xr-xtestmda10
1 files changed, 10 insertions, 0 deletions
diff --git a/testmda b/testmda
new file mode 100755
index 00000000..98a7c760
--- /dev/null
+++ b/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$$
+