Looking For Email Cron Script
I am in need of a script that polls an email server with a given smtp username, and password for messages. The email address that it polls is the postmaster email account for all the wildcard email addresses. For example if you send an email to foodootoo at domain.com it will go to this email box.
When it finds a new message it will forward that message to another email and delete the message from the inbox. In addition it will input that email message and its attachment into a database table.