1. Knowledge Base
  2. MDaemon® Email Server

How to activate MDaemon connecting through proxy server

There are numerous ways to activate MDaemon behind a proxy server. Using a proxy client, creating a rule in your proxy server to allow connections on port 443, creating a bypass, or importing existing web browser proxy settings.

The latter two options will require that MDaemon does not enforce Authentication.  If this is required in your environment, using a third party proxy application would be the most beneficial option.

Please be advised the setup and activation of MDaemon behind a proxy server is not supported by MDaemon Technologies technical support team.

Option 1 - Create a rule in your proxy server to allow connections on port 443

Option 2 - Use a third party proxy client 

Follow the steps below to use Proxifier to activate MDaemon from behind a proxy server. Proxifier is one of many applications that could be used. 

To begin, please download Proxifier from http://www.proxifier.com/

Once you have installed and launched Proxifier, the Proxifier icon showing traffic (information flow) will appear on the system tray. On Windows 7, the icon can be hidden. To do so double click the system tray icon to open the main window of the program. Alternatively, you can start Proxifier again from the start menu and the existing running instance will be detected and will activate the main Proxifier window. 

By default, Proxifier is configured to bypass all network connections. You may still see connections and DNS requests if you enable verbose output Log > Output Level > Verbose. 

Proxifier is capable of processing the connection directly (without a proxy server). 

To enable this mode:

  1. Click Profile
  2. Select Advanced
  3. Check Handle Direct Connections

Doing so can be useful to troubleshoot problems and utilize some features of Proxifier like traffic dumps, bandwidth and connection monitor, etc. To make the connections work through a proxy server or a chain of proxy servers, you must first define a proxy server in Proxifier.

  1. Click Proxy Servers... (This can be done in the Profile menu or click on the icon located on the toolbar).
  2. Click the Add button in the new dialog window.
  3. Fill in the form specifying the details of the proxy service (address, port, protocol, etc.) that you want to add.
  4. Click OK 
    Proxifier will now ask you whether or not you want to use this proxy by default.
  5. Click Yes to set it as the target for the Default Proxification Rule. 
    You can change this anytime later at Proxification Rules.
  6. Click on Enable which can be located under Authentication.
  7. Provide a user-name (This would be the user name you use to access the proxy server).
  8. Provide a password
  9. Your proxy server will appear in the list, click OK to confirm the use of this server.

From now on all new connections (TCP/IP) will be established through the specified proxy server while Proxifier is running. 

If you only want to tunnel specific connection, not all of them, use Proxification Rules and/or Manual Proxification Mode

By default, Proxifier gets minimized to the System Tray when you close its window. You can change this behavior by selecting the Proxifier icon in the system tray. 

To exit Proxifier when the System Tray icon is enabled right-click on the icon and select Exit. 

To make Proxifier start automatically on user login, select the File > Autostart option. 

Option 3 - Using netsh to bypass the proxy server on port 443 (SMTP authentication must be disabled) 

If MDaemon does not require Authentication, this section will provide steps to use the netsh command tool to view, configure, and set new proxy server settings. 

  • To view current proxy server settings.
    1. Open a command prompt
    2. Enter netsh winhttp show proxy
  • Use the following commands to configure proxy server settings.
    1. Open a command prompt
    2. Enter netsh winhttp set proxy mdproxy**NOTE - mdproxy is only a name, you can name the proxy what ever you choose.
    3. Enter netsh winhttp set proxy mdproxy:443 ';bar'
    4. Enter netsh winhttp set proxy proxy-server='https=mdproxy:88' bypass-list='*
    Alternatively, if proxy settings have been previously configured inside of Internet Explorer, they can be imported into WinHTTP using the following command.
    • netsh winhttp import proxy source=ie
    Proxy settings can be reset to default by entering the following command.
    • netsh winhttp reset proxy