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

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