shithub: emailconfig

ref: 12ca27743c73c5f638412ddbda4b9b2482735fa1
dir: /lib/remotemail/

View raw version
#!/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 $*