Random Project

Needs to check exim’s location

The script fails for me, like others, with no response. This is due to the hard-coding of exim’s location, which is incorrect on cPanel servers and probably other servers too:

I commented out the EXIM= line:

# default hard-coded # EXIM=/usr/local/exim/bin/exim

and replaced it with one that checks the location of exim:

EXIM=$(which exim)

and now the script works