akonadi_imap_resource: 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/akonadi_imap_resource - from package: kdepim-runtime

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

On Debian possible default full paths are:

/usr/bin/akonadi_imap_resource - from package: kdepim-runtime

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