xref: /plan9/mail/lib/remotemail (revision 7dd7cddf99dd7472612f1413b4da293630e6b1bc)
1#!/bin/rc
2shift
3sender=$1
4shift
5addr=$1
6shift
7fd=`{/bin/upas/aliasmail -f $sender}
8switch($fd){
9case *.*
10	;
11case *
12	fd=yourdomain.dom
13}
14exec /bin/upas/smtp -h $fd $addr $sender $*
15