shithub: riscv

ref: 6076b4f9367729f60efe5a729070caaa5e38d29f
dir: /sys/lib/dist/mail/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 $*