Firewall Configuration
It is highly recommended to protect any MailStore Gateway with appropriate firewall rules. This document should help with setting up the required rules.
Please note: On Windows, the installation process automatically creates an appropriate firewall rule. Therefore the below information is only applicable if other firewall solutions are used.
If the computer on which MailStore Gateway has been installed is on a local network, refer to the manual of the route or firewall that connects the local network to the Internet in order to find out how to set up appropriate port forwarding rules in addition to the firewall rules described in this document.
The table below lists all TCP ports that need to be opened in the firewall when using MailStore Gateway. The following abbreviations are used in the source and target columns of that table:
- ANY = Any computer from private or public networks
- ADM = Computer or network used for administration
- SERVER = Server that hosts MailStore Gateway
Port | Source | Target | Description |
---|---|---|---|
25 | SERVER | ANY | Access to email servers via SMTP needed by the SMTP proxy functionality. |
25 | ANY | SERVER | Access from email servers to sent emails to MailStore Gateway mailboxes. Access from email client via SMTP needed by the SMTP proxy functionality. |
110 | SERVER | ANY | Access to email servers via POP3 needed by the POP3 proxy functionality. |
110 | ANY | SERVER | Access from email client via POP3 needed by the POP3 proxy functionality. Access from MailStore Server or MailStore Service Provider Edition to retrieve emails from MailStore Gateway mailboxes. |
8450 | ADM | SERVER | Access to the web console by administrators. |
465 | SERVER | ANY | Access to email servers via SMTPS needed by the SMTP proxy functionality. |
465 | ANY | SERVER | Access from email client via SMTPS needed by the SMTP proxy functionality. |
587 | SERVER | ANY | Access to email servers via SMTP needed by the SMTP proxy functionality. |
587 | ANY | SERVER | Access from email client via SMTP needed by the SMTP proxy functionality. |
995 | SERVER | ANY | Access to email servers via POP3S needed by the POP3 proxy functionality. |
995 | ANY | SERVER | Access from email clients via POP3S needed by the POP3 proxy functionality. |