Mail Manager program
Posted: Fri Jan 16, 2004 1:49 pm
Ok, here is my scenario. My host allows me to have unlimited email addresses for my site. However, because of space I want to limit these accounts to 1 meg each. There is currently no way they can do this on their side.
Essentially I set up the email account and check a box that states 'Forward email addressed to somone@somewhere.net to the someone mailbox on the somewhere.net server'. What this does is places the email into a file called 'someone' that is located in a directory called \www-mail.
What I'd like to know is if anybody is aware of a program that gives the user more control over this. For example, another email address is setup called incoming@mordel.net. All incoming mail is forwarded to this address and is stored in the file. A cronjob then is run (every 2 minutes, let's say) that parses this file and then re-forwards to the appropriate mailbox, but only if the size of the contents in that mailbox is not 1meg. If it's 1 meg or greater it will return the mail to the sender.
Does something like this exist? Is it feasable? Is there a better way to handle this?
Essentially I set up the email account and check a box that states 'Forward email addressed to somone@somewhere.net to the someone mailbox on the somewhere.net server'. What this does is places the email into a file called 'someone' that is located in a directory called \www-mail.
What I'd like to know is if anybody is aware of a program that gives the user more control over this. For example, another email address is setup called incoming@mordel.net. All incoming mail is forwarded to this address and is stored in the file. A cronjob then is run (every 2 minutes, let's say) that parses this file and then re-forwards to the appropriate mailbox, but only if the size of the contents in that mailbox is not 1meg. If it's 1 meg or greater it will return the mail to the sender.
Does something like this exist? Is it feasable? Is there a better way to handle this?