scmail-refile: 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/scmail-refile - from package: scmail

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