spftest: 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/spftest - from package: libspf2-progs

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

On Debian possible default full paths are:

/usr/bin/spftest - from package: spfquery

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