Server Fault is a question and answer site for system and network administrators. 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

Plese, explain me, how two smtp servers communicate betwen each. When i write e-mail and send it to other user, my client communicate with my smtp server by smtp protocol with ehlo/mail from/ rcpt to/ and etc... When this mail get my smtp server from client what happens next? How my smtp server send mail to other smtp server?

Thank you.

share|improve this question
This kind of feels like a homework question.... – Mike B Apr 21 '15 at 7:38
up vote 3 down vote accepted

SMTP servers also use the SMTP protocol to talk to each other.

Briefly (very briefly) the sending server looks at an address, uses DNS to look up the domain name and find the address of the mail servers at that domain (these are stored as "MX" records in the domain).

The sending server then uses SMTP to contact the mail server at the target domain to send your email, which is done using the exact same procedure as the client used to submit the message in the first place.

You may find this article useful.

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.