I run smtp and pop3 server in local computer. I have domain name and set up MX record for this domain. Please, explain me anybody how smtp server name depend at MX record? And where must i specify the MX record in smtp server config?
Maybe first paragraph of wikipedia's entry will help
So, MX records specify which server is responsible for a domain.
On the side of the receiving server you don't need to specify a MX record, but only domain name and you have to allow connection from the internet.
Once that is done you have
Result is that mail is delivered.