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

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