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

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