summaryrefslogtreecommitdiff
path: root/sqmail-4.3.07/src/mailsubj.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sqmail-4.3.07/src/mailsubj.sh')
-rwxr-xr-xsqmail-4.3.07/src/mailsubj.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqmail-4.3.07/src/mailsubj.sh b/sqmail-4.3.07/src/mailsubj.sh
new file mode 100755
index 0000000..f7a40ce
--- /dev/null
+++ b/sqmail-4.3.07/src/mailsubj.sh
@@ -0,0 +1,7 @@
+subject="$1"
+shift
+( echo Subject: "$subject"
+ echo To: ${1+"$@"}
+ echo ''
+ cat
+) | HOME/bin/qmail-inject