I need a script to run on a unix system running Sendmail and FreeBSD to take all incomming e-mails regardless of who its too and send them to a mysql database. The fields in the database will need to include the To, From, Subject, headder, and Body of the e-mail. This data will then be accessed via a php script (Not part of the project) to display the information in a browser. Thats it, a script to parse all the information out of incomming e-mails and dump into a mysql database.