I have a server that spans multiple domains but only
gives me one catch-all address for all of them. So,
nouser@domain1.com and nouser@domain2.com both go to
catchall@mydomain.com. I need a way that I can
redirect these to their own respective domain
catch-alls. For the most part your class has worked
great to help me get into the catch-all and delete
spam, but I'm trying to devise a way that I can use PHP
to do the redirect.
Needless to say, since I've never worked with raw POP
files before, I'm not quite sure how to take the
existing e-mail that I download, make sure I get all
the boundaries correct, etc., change the "To:" header,
and then send it out.
So, I was thinking that if you're up for it, I think it
would be greatly useful if you could add a redirect
function:
$p->redirect( $msgnum, $send_to_email );
One other note...when it redirects, it should still
show the "from" as being the same person that it was
originally from so that if someone is getting an e-mail
from Joe Blow, that value doesn't get changed to my
name so that they think the e-mail is from me...make sense?
If not, I'll continue working on it until I figure it
out since I need to get this working sooner or later :)
Thanks