ref: f6bff3c0830c1fe63dc45cd84d0a0a3a67b0cdf0
dir: /sys/lib/dist/mail/lib/remotemail/
#!/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
;
case *
fd=yourdomain.dom
}
exec /bin/upas/smtp -h $fd $addr $sender $*