Has anyone developed an enterprise level mail server using PHP? The project I'm facing requires deliverying 500,000+ e-mails per day. Interfacing with MySQL is required to merge user info for tracking of clicks and opens. The software should also be accessible via the web for remote administration and graphical reports/stats. The messages need also be in HTML format.
I know mail() normally has limitations and PHP has a default execution time of 30 seconds that would keep the engine from completing the task. Sendmail also has issues.
The real question is: could a tweaked installation of LAMP handle the job if a well written PHP program was installed on a dedicated quality machine while spread across multiple SMTP servers?
Any advice is appreciated.