|  | Posted by Jerry Stuckle on 10/14/07 22:27 
Craig Hurley wrote:> On 14/10/2007 22:56, ELINTPimp wrote:
 >> If I'm reading this correctly, it looks like he wants to be able to
 >> spoof the email forward to look like the original sender sent it.  I
 >> think that if this is a legitimate question, if you aren't looking to
 >> be, you will soon find yourself a SPAM hub.  Essentially, you could
 >> take an email from person1, change the contents, and send it to
 >> another person with it looking like it came from person1.
 >>
 >> Please don't provide an answer to this for the script kiddies trolling
 >> usenet.
 >>
 >
 >
 > j3sus_chr1st on a bike!
 >
 > Rather than deliver mail directly to my inbox, I'm forwarding it to a
 > gmail account.  gmail then kindly filters virus and spam.  gmail then
 > forwards mail back the original email account, where it gets piped to my
 > php script.
 >
 > The php script parses the email for a header which indicates that it's
 > been forwarded from a gmail account.  If it finds that header which
 > gmail added, it delivers it to my inbox, otherwise, the mail gets
 > forwarded to gmail.
 >
 > There are 2 reasons for doing this: 1) mail backup 2) extra antivirus
 > and antispam.
 >
 > I didn't want to include these extra details because they're not really
 > relevant to my original question and would make it easier for people to
 > go off topic (how wrong I was!).  Its great to see moral people out
 > there on the internet, but please don't jump the gun on a whim!!!
 >
 > Now please, can we get back on topic: using php to forward email...
 >
 > Regards,
 > Craig.
 >
 
 Craig,
 
 Lars is correct.  You should do this in your mail server.  You won't be
 able to forward with PHP and keep the previous headers intact.
 
 --
 ==================
 Remove the "x" from my email address
 Jerry Stuckle
 JDS Computer Training Corp.
 jstucklex@attglobal.net
 ==================
  Navigation: [Reply to this message] |