makemap.opensmtpd: 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/sbin/makemap.opensmtpd - from package: opensmtpd

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