It is possible that in cloud-based systems – for example in Microsoft Azure – port 25 is blocked by the provider. However, port 25 is required to send emails, which prevents the operation of NoSpamProxy on such a system. We offer an alternative to use such systems anyway: our “TCP Proxy”. This system can be activated in NoSpamProxy as described below. Then the emails are sent from the server via port 443 to the TCP Proxy and from there via port 25 to the recipient system.
General information on using the TCP proxy
- If the TCP proxy is implemented, it appears as the sending system. Therefore, the TCP proxy must also be included in your SPF record using
- You must download the certificate mentioned below and import it into the Microsoft certificate management system of the computer account on the system with the NoSpamProxy gateway role as a “Trusted Root Certificate”.
Integrating the TCP Proxy
- Stop the service of the gateway role via the NoSpamProxy console or the Windows services.
- Open as administrator a text editor on the system on which the gateway role is installed..
- Open the configuration file “Gateway Role.config” from the directory “C:\ProgramData\Net at Work Mail Gateway\Configuration\”.
- Look for
<smtpServicePointConfigurationin the file. If you cannot find
<smtpServicePointConfiguration, alternatively search for
<netatwork.nospamproxy.proxyconfigurationand add the following line directly below:
<smtpServicePointConfiguration isProxyTunnelEnabled="true" />
- Save the file and close the editor.
- Place the root CA certificate in the Microsoft certificate store in the computer account under “Trusted Root Certification Authorities > Certificates” on the server where the gateway role is located.
- Edit the corresponding gateway role in the NoSpamProxy console under “Configuration > NoSpamProxy components > Gateway roles” and change the value for “SMTP server name” to the “proxy.nospamproxy.de”.
- Start the gateway role service again.
- Open the file “Gateway Role.config” again and check whether the value was retained at startup.