emailconfig/lib/remotemail

18 lines
282 B
Plaintext
Raw Permalink Normal View History

2020-12-04 08:08:03 +00:00
#!/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
;
case *
2021-01-03 19:48:38 +00:00
fd=fulton.software
2020-12-04 08:08:03 +00:00
}
2021-01-03 19:48:38 +00:00
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 $*