How can I configure Lion to use PHP mail() locally?
This works for me at OS X Snow Leopard:


When an email is sent using PHP's mail() function, the email is piped through to the smtp_catcher.php script.
The smtp_catcher.php script saves the email into a local folder as a .emlx file.
The email is opened through Apple Mail and displayed on the screen (woo!).