dspam_logrotate: 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/dspam_logrotate - from package: dspam

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