homepage Welcome to WebmasterWorld Guest from 54.197.183.230
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
email redirection system
email redirection system
bestwin888

5+ Year Member



 
Msg#: 3085227 posted 8:36 am on Sep 16, 2006 (gmt 0)

Hi all
I'd like to set up an email redirection system similar to that on Craigslist. For those who don't know, when you place an advert you can add your email address. However, rather than showing bob@example.com, you are given a fowarding address similar to anon-9876521@[craigslist domain name]. People replying to your advert email the anon-9876521 address - emails are automatically forwarded to you.

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,

Dave

 

lammert

WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3085227 posted 12:51 pm on Sep 16, 2006 (gmt 0)

Looking at the To: address won't catch the emails where the recipient was addressed in the Cc: or Bcc: fields.

jtara

WebmasterWorld Senior Member jtara us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3085227 posted 4:38 pm on Sep 16, 2006 (gmt 0)

You are asking for trouble.

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...

tsalmark

5+ Year Member



 
Msg#: 3085227 posted 2:08 am on Oct 3, 2006 (gmt 0)

Assuming Qmail still mimics Sendmail config files when asked to.
virtusertable is your friend.
As per above you'll need to read some docs to have even half a chance of doing it properly, but virtusertables are simple to set up and maintain.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved