chiark / gitweb /
wip
[post-pizza-notify.git] / via-email
diff --git a/via-email b/via-email
new file mode 100644 (file)
index 0000000..f08d110
--- /dev/null
+++ b/via-email
@@ -0,0 +1,7 @@
+#!/bin/sh
+rcpt="$1"
+msg="$2"
+ssh -vt ijackson@tunnel.chiark.greenend.org.uk \
+ /usr/lib/sendmail -oem -odb -oi -t <<END
+To: $rcpt
+Subject: Post-pizza: $msg