ospam: 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/ospam - from package: opensp

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

On Debian possible default full paths are:

/usr/bin/ospam - from package: opensp

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