aboutsummaryrefslogtreecommitdiff
path: root/mail/lib/remotemail
blob: 028642e996d2a307bffe8c452a55f630090a04f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/local/plan9/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{upas/aliasmail -f $sender}
switch($fd){
case *.*
	;
case *
	fd=YOURDOMAIN.DOM
}
exec upas/smtp -h $fd $addr $sender $*