getmail_fetch: 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/getmail_fetch - from package: getmail

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

On Debian possible default full paths are:

/usr/bin/getmail_fetch - from package: getmail4

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