sm: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/sm - from package: jabberd

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/lib/news/bin/sm - from package: inn2

You may install the required package with command apt-get install {package}
Error in other languages:
sm: bevel nie gevind nie
sm: comandă negăsită
sm: comando não encontrado
sm: commande introuvable
sm: command not found
sm: käsku ei ole
sm: không tìm thấy lệnh
sm: komanda nerasta
sm: Kommando nicht gefunden.
sm: kommandot finns inte
sm: komut yok
sm: nie znaleziono polecenia
sm: níor aimsíodh an t-ordú
sm: no se encontró la orden
sm: no s'ha trobat l'ordre
sm: opdracht niet gevonden
sm: parancs nem található
sm: perintah tidak ditemukan
sm: príkaz nenájdený
sm: příkaz nenalezen
sm: команда не найдена
sm: командата не е открита
sm: 命令找不到
sm: コマンドが見つかりません