shithub: 9scripts

ref: 7923e9afe0182b0a723e80f93b0eec30020549ca
dir: /lib/remotemail/

View raw version
#!/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
	;
case *
	fd=fulton.software
}

if($sysname cirno) exec /bin/upas/smtp -h $fd $addr $sender $*

if not exec rcpu -h 'fulton.software' -c /bin/upas/smtp -h $fd $addr $sender $*