#!/bin/sh # DirectAdmin > Plugins > email-validation.org recipient checks (the plugin ev_exim). DirectAdmin runs this for # admin-level accounts only, as root (plugin.conf: admin_run_as=root), with the request in environment variables. It # hands the request to the page, /usr/local/lib/ev-helper/ev_da_page.py (installed root-owned by scripts/install.sh), # which checks the account and the form token again. The server root comes from where this file is, never from the # request: "/" on a server, a test folder in the tests. here=$(cd "$(dirname "$0")/.." && pwd -P) case "$here" in */usr/local/directadmin/plugins/ev_exim) root=${here%/usr/local/directadmin/plugins/ev_exim} ;; *) root= ;; esac for py in /usr/bin/python3 /usr/libexec/platform-python; do if [ -x "$root$py" ] && [ -f "$root/usr/local/lib/ev-helper/ev_da_page.py" ]; then exec "$root$py" -I "$root/usr/local/lib/ev-helper/ev_da_page.py" --root "${root:-/}" fi done echo '

The plugin is not installed completely (no Python 3, or /usr/local/lib/ev-helper is missing). Reinstall it.

'