bogofilter-bdb: 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 Debian possible default full paths are:

/usr/bin/bogofilter-bdb - from package: bogofilter-bdb

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