From 4db31855e7fde9a087fb59e761743420aaa3743b Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 12 Feb 2006 19:45:56 +0000 Subject: initial tree --- mail/lib/remotemail | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 mail/lib/remotemail (limited to 'mail/lib/remotemail') diff --git a/mail/lib/remotemail b/mail/lib/remotemail new file mode 100755 index 00000000..028642e9 --- /dev/null +++ b/mail/lib/remotemail @@ -0,0 +1,14 @@ +#!/usr/local/plan9/bin/rc +shift +sender=$1 +shift +addr=$1 +shift +fd=`{upas/aliasmail -f $sender} +switch($fd){ +case *.* + ; +case * + fd=YOURDOMAIN.DOM +} +exec upas/smtp -h $fd $addr $sender $* -- cgit v1.2.3