ref: 15f05a0ca14c062e2f718cff0af2f097c6e6d228
dir: /pipefrom/
#!/bin/rc
# Sender get's CC'd on every send.
# 2015-11-02T17:39:53-0500
rfork en
ramfs
TMP=/tmp/myupassend.$pid
# collect upas/send options
options=()
while (! ~ $#* 0 && ~ $1 -*) {
options=($options $1);
shift
}
# collect addresses
dests=()
while (! ~ $#* 0) {
dests=($dests $1);
shift
}
# send mail
upas/send $options $dests $upasname