aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/misc/omail.rc
blob: ed64f38c439ca03cbf5773d05b430a46c3d288bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 $*
}