Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just got an email from a company whom I'd really like to work for, but I am not convinced that the person emailing me is real, or a hoax. Is there a way based on the MIME information and all the email headers to heuristically determine if an email came from who it says it came from?


Thanks to everyone for the great answers, I figured there was no one great way to tell. I checked the MX records on the DNS servers and the WHOIS records for the domains and IP addresses and it all checked out. Just for some context, I was contacted first on LinkedIn, so it wasn't totally out of the blue.

share|improve this question
Just out of curiosity: Did it turn out to be a fake or real? – Lukas Knuth Jul 8 '13 at 16:19
up vote 8 down vote accepted

Not definitively. It's too easy to forge the information in the headers.

Use traditional methods to verify the company. Get the number of the company from 411 information and call them. Ask about the job title in question. If the job title checks out, ask to speak to the person responsible for the job opening.

Note: If money was mentioned in any way in the email, it's probably a fake. You can check it out by Googling a unique phrase in the email. Often such emails turn up on and similar sites.

Most reputable companies do not solicit employees this way, so unless you were referred by a colleague, it's probably fake.

share|improve this answer
Yeah, I tried Googling phrases in the email and found no hits. I found the person also on LinkedIn, Plaxo, Meetup and a couple of other sites, but I suppose it could be fake. – daveslab Dec 22 '09 at 15:56

Not all of the email headers can be faked. Once the email message is received by a trusted server which provides your email service, the Received: headers are reliable.

Consider this string of Received: headers:

Received: by with SMTP id m19cs274738wfg;
    Thu, 17 Dec 2009 03:20:12 -0800 (PST)
Received: by with SMTP id u30mr1589591wak.119.1261048811650;
    Thu, 17 Dec 2009 03:20:11 -0800 (PST)
Received: from ( [])
    by with ESMTP id 31si4514829pzk.62.2009.;
    Thu, 17 Dec 2009 03:20:11 -0800 (PST)
Received: from (unknown [])
by (Postfix) with ESMTP id 67A7F1E08A;
Thu, 17 Dec 2009 03:20:11 -0800 (PST)

The bottom-most Received: header is followed by the body of the message, which includes To: and From: headers, which can be forged. But let's follow the Received: headers:

The first header indicates that a server on IP address named sent a message to the server Knowing that both of these names are to be expected in this case, the Received: header indicates an internal forward within the superuser complex of mail servers.

The next Received: header indicates that at address forwarded the message to We can confirm that the public IP address of is and since google is my email provider, I would expect the mail-exchanger (mx) at to be receiving my message. This is the first contact with my mail domain (google) and cannot be faked. Of course, there could be a load of faked Received: headers below this header, so finding the first reliable Received: header can be tricky.

The last two Received: headers show net 10 addresses, so these are forwards within the google domain. This is also not unexpected.

An evil mail server could insert many fake Received: headers into the stream, but there is always one that comes from a trusted source, in this case This first trusted Received: header indicates the public IP address that actually forwarded the email. If this IP address is suspect, or does not match the reported domain name, then you must suspect the entire contents of the message.

You can read Received: headers in most email clients using a "view source" command. It takes a bit of skill to read bottom-up and find the first reliable Received: header, but once you find it, verifying it is quick and helpful.

share|improve this answer
Excellent answer! But are you sure that the Received: headers can't be faked! – daveslab Dec 22 '09 at 20:56
Yes, they can be faked. But because each mail server prepends its own Received: header, at some point which may be difficult to discern, the Received: headers are being created by your own email server, and these are reliable. The bottom-most reliable Received: header indicates the real IP address of the "foreign" email system. If the IP checks out, it tends to indicate a good message. If it doesn't, or there are obvious fakeries as in so much spam, then it calls the entire message into question. It's not a recipe for a certain UP/DOWN decision -- just clues. – kwe Dec 24 '09 at 23:46

Call them up and ask to speak to him/her. If the response is "we have no-one of that name here", it's probably fake.

It's hard sometimes to work out even whether an email was sent by a human or by an automated script, and it's even harder to verify the identity of a sender.

One day, maybe, we'll all have personal certificates that we can routinely use in emails and other communiciations to verify each other's identity, but until then it'll require scepticism and lateral thinking.

share|improve this answer

As all of the e-mail headers can be faked there's no simple way to decide whether the e-mail is a fake or not. Are there any spelling mistakes - or more tellingly - grammatical mistakes. There might be one or two on a genuine message, but a lot would imply fake.

You could e-mail the person back - but you'd need to be careful about what you say.

However, don't reply to the e-mail, type in the e-mail address yourself.

It's not guaranteed as the company's e-mail server could just swallow invalid e-mail addresses rather than bouncing them (it can be a security risk to acknowledge that an address doesn't exist).

You could also set that you want a receive and/or read receipt - however, these can be ignored by the recipient.

share|improve this answer

One thing that no one has mentioned is that you can fake all of the headers BUT if you look at the reply-to address that should be a good way to tell if it is a scam. Ie if it is like this:




reply to:

It is unlikely to be a scam. Even if your responded with your credit card number, home address and the name of your fav book, there is nothing the spammer could do because your reply would be sent to stevejobs.

If the message looks like this:




reply to:


This should set off red flags. This email will not go to the sender. It will go to someoen else. Remember in order for the spam to work it has to get back to the spammer.

Note: under certain circumstances this could still be spam but this is an extremely easy check.

share|improve this answer

At the very least, verify the email address with something like This just telly you if the sending email address exists; it does not verify that the message came from that person.

If the email address exists, look to see if the type of position mentioned is publicly listed, and then finally use one of the techniques above to follow up.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .