There is a wonderful stub, just put it right to PHP.INI:
sendmail_path = /bin/cat > "/tmp/mail_`date +%Y-%m-%d_%H-%M-%S`"
You just need to make sure that you have /bin/cat and write rights to /tmp/
An email with a link to reset the Administrator password will appear there as a File.
Hallelujah )