Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Lately I've been playing around with telnet and found it quite interesting. Most interestingly, Facebook also uses SMTP. The IP is

Some things about it are strange.

  1. It doesn't take the HELO command.
  2. You can only set the MAIL FROM: to a mail totally unlinked from Facebook.
  3. It does take the DATA command, but I don't get which should be the headers.

In the end, even without the headers, the message is rejected. Any ideas on how to complete the relay?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Any business that wants to accept incoming email over the internet will need an SMTP server, so that facebook has one isn't unexpected. It is an incoming server, so won't accept facebook source addresses.

It appears to be fairly standard, and wants standard headers:

# telnet 25
Connected to
Escape character is '^]'.
220 smtpin.mx.facebook.com ESMTP
EHLO domain.com
250-smtpin.mx.facebook.com says EHLO to xx.xx.xx.xx:57628
MAIL FROM: paul@domain.com
RCPT TO: user@facebook.com
250 MAIL FROM accepted
250 RCPT TO accepted
354 continue.  finished with "\r\n.\r\n"
Message-ID: <499D11DC.1000706@airbred.com>
Date: Thu, 16 Jan 2013 19:01:32 +1100
From: Paul <paul@domain.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-AU; rv: Gecko/20090122 Lightning/0.9 Thunderbird/ 
MIME-Version: 1.0
To: Paul <user@facebook.com>
Subject: Subject Line


250 OK A8/71-30754-8D667F05

This email came through to my facebook account without issue. Note that everyone on facebook has a facebook.com email address, and SMTP is how email is delivered on the internet, so the requirements for incoming mail on the facebook SMTP servers is much the same as any other - if they weren't, it wouldn't work.

share|improve this answer
How do I get around port 25? I don't receive my messages, since I need to use a proxy. Is that it? –  OscarFR Jan 17 '13 at 3:51
@OscarFR SMTP servers listen on port 25, so if you can't get a connection out on this port, you won't be able to telnet directly. –  Paul Jan 17 '13 at 5:53

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.