Email can be fooled to "look alike" it was sent from the source claimed to be by manipulating mail headers. In PHP this is achieved simply by:
<?php
$to = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
'Reply-To: webmaster@example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
What it cannot fool is the "Received" portion of the full header. In Yahoo and Gmail you can see the full header by click on "show full header" or "show original," respectively.
In the full header contains many information but it cannot disguise the originated IP address (in bold) such as:
Quote
Delivered-To: no-reply@xisto.com
Received: by 10.229.99.193 with SMTP id v1cs216067qcn;
Wed, 23 Jun 2010 02:15:16 -0700 (PDT)
Received: by 10.229.224.81 with SMTP id in17mr4025083qcb.252.1277284515492;
Wed, 23 Jun 2010 02:15:15 -0700 (PDT)
Return-Path: <root@******.xisto.com>
Received: from ******.xisto.com (******.xisto.com [00.00.00.00])
by mx.google.com with ESMTP id v30si11598770qco.96.2010.06.23.02.15.15;
Wed, 23 Jun 2010 02:15:15 -0700 (PDT)
Received-SPF: pass (google.com: best guess record for domain of root@******.xisto.com designates **00.00.00.00** as permitted sender) client-ip=00.00.00.00;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of root@******.xisto.com designates 00.00.00.00 as permitted sender) smtp.mail=root@******.xisto.com
Received: from root by ******.xisto.com with local (Exim 4.69)
(envelope-from <root@******.xisto.com>)
id 1Orrrr39-0003kdddsscc-1n
for **@xisto.com; Wed, 23 Jun 2010 09:15:15 +0000
To: user <**********************@xisto.com>
Subject: ......................................
Date: Wed, 23 Jun 2010 09:15:15 +0000
From: "ComputingHost (Xisto)" <sales{at}computinghost[dot]com>
Message-ID: <13d2454bb7cc3338b50199384jq9483732@localhost.local_domain_name>
X-Priority: 3
MIME-Version: 1.0
Content-Type: multipart/alternative;
Even when originated IP can be fooled (next paragraph can explain) the SPF cannot be faked (another bold from quote above). This is another reason people register proper SPF so that their emails are not marked as spam. This is another method many popular email servers will base how to filter spam from legitimate email. When you see "this email is not from where it claims" (at least in Gmail) this is how they identify spam emails.
A script can be originated from the hosting of Xisto by creating a free account under Xisto server(s) and send a quick mail script. This is why spamming accounts are quickly suspended form any of our free web hosting accounts. Since the email can be sent from the same server IP as "Xisto" it can pass for the correct IP address of Xisto mail.
In any case, see the full header information and if you can forward the copy to OpaQue. He can investigate further and put a stop to spammer's phishing attempt(s).