I have an exim installation in a non-standard path.
How can I configure php so that mail() will use it?
The solution is to change the value of the "sendmail_path" variable in php.ini:
sendmail_path="/my_custom_path/exim -t -i"
exim is compatible to sendmail when it comes to command line arguments