diff options
author | rsc <devnull@localhost> | 2006-02-12 19:45:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-02-12 19:45:56 +0000 |
commit | 4db31855e7fde9a087fb59e761743420aaa3743b (patch) | |
tree | 61b21e62b9a5b50170897a26a96e2c2e2b8a5e29 /mail/lib/remotemail | |
parent | eadb18a3357b9b735b2f7da478854a39fb0c73c6 (diff) | |
download | plan9port-4db31855e7fde9a087fb59e761743420aaa3743b.tar.gz plan9port-4db31855e7fde9a087fb59e761743420aaa3743b.tar.bz2 plan9port-4db31855e7fde9a087fb59e761743420aaa3743b.zip |
initial tree
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 $* |