remotemail 180 B

1234567891011121314
  1. #!/bin/rc
  2. shift
  3. sender=$1
  4. shift
  5. addr=$1
  6. shift
  7. fd=`{/bin/upas/aliasmail -f $sender}
  8. switch($fd){
  9. case *.*
  10. ;
  11. case *
  12. fd=yourdomain.dom
  13. }
  14. exec /bin/upas/smtp -h $fd $addr $sender $*