opendkim-testadsp: 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/opendkim-testadsp - from package: opendkim-tools

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