mail update thanks sirjofri

This commit is contained in:
glenda 2021-01-01 22:07:35 +00:00
parent efb5a77be2
commit 35b905084c
1 changed files with 7 additions and 6 deletions

View File

@ -1,16 +1,17 @@
#!/bin/rc
shift
sender=fulton@fulton.software
sender=$1
shift
addr=tcp!fulton.software!587
addr=$1
shift
echo here
fd={/bin/upas/aliasmail -f $sender}
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
;
case *
fd=fulton.software
}
echo $*
exec /bin/upas/smtp -u fulton@fulton.software -a -h $fd $addr $sender $*
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 $*