ref: 71ce6f53a431962a3dc17947deb1ff8336f37d13
dir: /sys/src/cmd/upas/misc/omail.rc/
#!/bin/rc
switch($#*){
case 0
exec upas/edmail -m
}
switch($1){
case -F* -m* -f* -r* -p* -e* -c* -D*
exec upas/edmail -m $*
case '-#'* -a*
exec upas/sendmail $*
case *
exec upas/sendmail $*
}