9scripts/lib/remotemail

17 lines
271 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/rc
shift
sender=fulton@fulton.software
shift
addr=tcp!fulton.software!587
shift
echo here
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 $*