mysqmail-dovecot-logger: 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/sbin/mysqmail-dovecot-logger - from package: mysqmail-dovecot-logger

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