mailnag-config: 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/mailnag-config - from package: mailnag

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