ref: b37f3b14f650cdee89f44378fa3b5dd2b5daf567
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