Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.