The php mail function (and others) call exim directly through the sendmail alias. You can find the alias they use, and redirect it, so it's no longer a link to exim, but instead, for example, a link to /dev/null.
I'm not sure if this will cause the function to fail or not, but the mail won't be sent.
Jeff