## SME relay outgoing mails to smarthost
{
  my $smarthost = $SMTPSmartHost || "off";
  my $userid = ${smtp-auth-proxy}{'Userid'} || "";
  my $password = ${smtp-auth-proxy}{'Passwd'} || "";
  my $port = ${smtp-auth-proxy}{'PeerPort'} || "25";
  return "#Smarthost disabled" unless $smarthost ne "off";
  $OUT = "";
  if ($userid ne "")
  {
    $OUT .= "[$smarthost]:$port $userid:$password\n";
  }

}

