PHP script that
can empty or just fetch mails from
IMAP and POP e-mail accounts and store the messages in your local MySQL
Server and the attachments on the filesystem of the system where
the script runs.
The script is as default made for running as a CRON job. with the /usr/local/php -q option so it won't do anything than just empty the accounts on the mailservers and leave the mails for further examination by a mailclient that only accesses the stored mails - no mailserver.
The purpose is to reduce load on mailservers - who hasn't the interval for checking for new mail set to 2 minutes ?
Well this could be history - one script accesses the mailservers and the clients operate with tuned systems like MySQL Server
2. How can I customize it and why customize?The script is configurable for multiple storage types. Under the development I tried making XML files of the e-mails, it worked pretty ok, but when I tried to make some integration with Cocoon my knowlegde kept me away from the succes. But I'll still continue trying to make some XSL stylesheets for Cocoon so you could make e-mail archives with PDF or RTF almost whatever.
And in these days when e-mails get more and more important to businesses and private privacy in all it's aspects I imagine it would be worth the study for company to store ALL e-mails for archive so later examination og employees conversations with customers and such would be worth millions to the decition makes.
It could end up making reports and statistics on how e-mail affect your organization.
All customization can be made to the PHPmail2system.conf.php file.
Happy mailing folks