run-mailcap: 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/run-mailcap - from package: mime-support

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