Information Security Stack Exchange is a question and answer site for information security professionals. 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

Suppose that I send an E-mail to someone.

Is it possible to fake mail server address - for example, while I used my own local mail server, I send it as if it was sent from Microsoft mail server. (I know that I can fake my mail address - I am asking if it is possible to feign mail server.)

share|improve this question
Yeah, it's called "email spoofing"... – cutrightjm Jul 23 '12 at 0:28
up vote 3 down vote accepted

Yes. If you write a program that connects to an SMTP server, you can usually just set To and From variables to anything you want and the server will try to send the email.

Phishing attacks are usually done this way to get you to click on a link to a fake website impersonating a bank, eBay, etc. Email clients like Gmail try to determine the validity of the email (probably by IP/domain of known hosts) and can mark the email as spam.

share|improve this answer

A way to catch something like this is to look at the entire email header. Something coming from should pass through servers in Redmond, or at least in Washington state as a first hop. If you discover that the first hop is a server in Russia or China, you've found someone phishing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.