Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: bakedjake
Does anyone have an opinion on the best way of implementing this?
I've got qmail on my linux server (CL also uses qmail) - I was thinking of having a catchall mailbox for all incoming mail. Every minute or so a script would parse all the messages, get the TO addresses, do some DB lookups and forward the mail accordingly.
Can anyone see any problems with this approach? Any better solutions I don't know about?
Thanks in advance,
Both for wanting to run the service, and for wanting to write the software with insuffcient knowledge.
If you insist, I'd suggest you first review the commercial services that do this (they are typically called "disposible email address" services), read about their features, read their FAQs, so that you can discover the issues you have missed. (For example, providing two-way reply addresses, scanning email text for any references to the real address.)
I wouldn't write this from scratch. There are almost certainly free DEA scripts available.
But you are asking for trouble...