diff options
Diffstat (limited to 'mail/lib/remotemail')
-rwxr-xr-x | mail/lib/remotemail | 14 |
1 files changed, 14 insertions, 0 deletions
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 $* |