I'm trying to get my head around what happens when you send & receive emails from an email server at home.
I think some of my confusion is around port numbers, and what happens if you change the defaults.
Say someone wants to send an email to foo@yourdomain.com - as I understand it, their email client will look up an MX record for yourdomain.com from your DNS, which will tell them the right IP address to send the email to. They then make a connection... but on which port? If you change the port in your server's settings, how do the emails get through?
I believe people with ISPs that block port 25 can still receive mail by changing port nos, is this because the email is sent to the ISP's server and then transferred the last little bit over a different port, allowing ISPs to monitor all email on their system?
Similar story for outgoing mail - if you use a non-standard port to send, do you need to route the mail through another server like your ISP's mail server that will send it on from there on the standard port?
Feathers
I think some of my confusion is around port numbers, and what happens if you change the defaults.
Say someone wants to send an email to foo@yourdomain.com - as I understand it, their email client will look up an MX record for yourdomain.com from your DNS, which will tell them the right IP address to send the email to. They then make a connection... but on which port? If you change the port in your server's settings, how do the emails get through?
I believe people with ISPs that block port 25 can still receive mail by changing port nos, is this because the email is sent to the ISP's server and then transferred the last little bit over a different port, allowing ISPs to monitor all email on their system?
Similar story for outgoing mail - if you use a non-standard port to send, do you need to route the mail through another server like your ISP's mail server that will send it on from there on the standard port?
Feathers
Comment