## SME relay outgoing mails to smarthost
{
  my $smarthost = $postfix{'SMTPSmartHost'} || "off";
  my $userid = $postfix{'SMTPSmartHostUserid'} || "";
  my $password = $postfix{'SMTPSmartHostPasswd'} || "";
  my $port = $postfix{'SMTPSmartHostPeerPort'} || "25";
  return "#Smarthost disabled" unless $smarthost ne "off";
  $OUT = "";
  if ($userid ne "")
  {
    $OUT .= "[$smarthost]:$port $userid:$password\n";
  }

}

