Koozali.org: home of the SME Server

Ports to send email

Offline rlaperu2

  • 17
  • +0/-0
Ports to send email
« on: September 08, 2007, 01:01:35 AM »
I have installed sme 7,2 and the post office do not leave the server unless it does not put any restriction in the ports.

In my router I have qualified ports 22 to the 25, 80, 110, 995, 443, 465, 1723. But with these open ports it does not allow that they leave the post office. Single when I leave qualified all the ports leave the post office.

That port I need to qualify so that the emails leave?

Richard

Offline mmccarn

  • *
  • 2,628
  • +10/-0
Re: Ports to send email
« Reply #1 on: September 08, 2007, 04:29:48 PM »
SMTP uses port 25
SSMTP uses port 465

POP3 uses port 110
POP3S uses port 995

IMAP uses port 143
IMAPS uses port 993

DNS uses port 53 (both TCP and UDP)

Delivering email over the internet requires that the mail server:
- look up the recipient address  using DNS
- connect to the recipient's mail server on port 25.  The *source* port on the sending mail server will be a randomly chosen port number above 1024, like this:

SME:port_##### --------> mail.externaldomain.com:port_25

If you are running SME on a dynamic IP you should configure it to deliver all outbound email to your Internet Provider's mail server, and let your ISP deliver the email to the actual recipient.