exim_tidydb: 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/sbin/exim_tidydb - from package: exim

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

On Debian possible default full paths are:

/usr/sbin/exim_tidydb - from package: exim4-base
/usr/lib/debug/usr/sbin/exim_tidydb - from package: exim4-dbg

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