Not sure if this is best topic for this - but I'm thinking it is because most grunt work will probably done with PHP/Perl.
What is the best way to process a mailbox automatically? For example, say I have the address auto@myhost.com, and I want all emails to this address to be automatically processed. This could involve querying and updating a database and sending/forwarding a response email.
Time-critical-ness is not a huge issue (as long as it wouldn't take hours to respond).
Would a cron job be the best way to go here? And, if so, how is the actual interrogation of the mailbox performed? How do you distinguish between different mailboxes on the same domain/account? Does anyone have any good references at all?
Any help would be really really appreciated! I'd prefer any references in Perl, but I'm pretty good at reading and translating PHP anyhow. Thanks all!
What is the best way to process a mailbox automatically? For example, say I have the address auto@myhost.com, and I want all emails to this address to be automatically processed. This could involve querying and updating a database and sending/forwarding a response email.
Time-critical-ness is not a huge issue (as long as it wouldn't take hours to respond).
Would a cron job be the best way to go here? And, if so, how is the actual interrogation of the mailbox performed? How do you distinguish between different mailboxes on the same domain/account? Does anyone have any good references at all?
Any help would be really really appreciated! I'd prefer any references in Perl, but I'm pretty good at reading and translating PHP anyhow. Thanks all!
