aboutsummaryrefslogtreecommitdiff
path: root/mail/lib/qmail
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-12 19:45:56 +0000
committerrsc <devnull@localhost>2006-02-12 19:45:56 +0000
commit4db31855e7fde9a087fb59e761743420aaa3743b (patch)
tree61b21e62b9a5b50170897a26a96e2c2e2b8a5e29 /mail/lib/qmail
parenteadb18a3357b9b735b2f7da478854a39fb0c73c6 (diff)
downloadplan9port-4db31855e7fde9a087fb59e761743420aaa3743b.tar.gz
plan9port-4db31855e7fde9a087fb59e761743420aaa3743b.tar.bz2
plan9port-4db31855e7fde9a087fb59e761743420aaa3743b.zip
initial tree
Diffstat (limited to 'mail/lib/qmail')
-rwxr-xr-xmail/lib/qmail6
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/lib/qmail b/mail/lib/qmail
new file mode 100755
index 00000000..c63f2b36
--- /dev/null
+++ b/mail/lib/qmail
@@ -0,0 +1,6 @@
+#!/usr/local/plan9/bin/rc
+# qmail sender machine user...
+rfork s
+upas/vf | upas/qer $PLAN9/mail/queue smtp $* || exit 'qer failed'
+upas/runq -n 10 $PLAN9/mail/queue $PLAN9/mail/lib/remotemail </dev/null >/dev/null >[2=1] &
+exit ''