What ports do I need to open?

Hello, so I installed my Mail-in-a-Box a while ago. I wanted to secure it a bit more because all my ports are open right now, so I wanted to know what ports are required to be opened for it to work.

I’m guessing it’s:

Inbound:
SMTPS (465)
SMTP (25)
IMAPS (993)
IMAP (143)
SSH, of course (22)

Outbound:
SMTPS (465)
IMAPS (993)

Am I correct?

Thanks in advance,
RektibouCaribou.

The firewall should be configured for you be default. It’s checked during the status checks. You can manually confirm by running ufw status.

$ ufw status
Status: active

To                         Action      From
--                         ------      ----
22                         ALLOW       Anywhere
53                         ALLOW       Anywhere
25/tcp                     ALLOW       Anywhere
587                        ALLOW       Anywhere
993                        ALLOW       Anywhere
995                        ALLOW       Anywhere
4190/tcp                   ALLOW       Anywhere
80                         ALLOW       Anywhere
443                        ALLOW       Anywhere
2 Likes

Thanks a lot!, and I just realized that I didn’t know how to read because it’s written on the Setup Guide :confused:

2 Likes