Configuring the IMAP Proxy Service

Axigen Administration via WebAdmin

The "IMAP Proxy" tab allows you to configure parameters relative to this specific service's configuration, add listeners and manage access to the service by adding rules applicable to all existing listeners. 

Listeners and control rules

Listeners

The first section in the IMAP Proxy tab is "Listeners". Here you can add, delete or edit the TCP socket listeners for the IMAP Proxy service.

Editing one of the existing listeners will result in accessing two configuration pages: "General" and "SSL Settings". The same pages will also be displayed when hitting the "Add Listener" button and choosing the "Advanced Config" option.

By default the listener will be configured on 127.0.0.1 (localhost) and port 8143.

Access control

Access rules allow you to control connection to this service from specific Networks / IP Ranges / IPs.

Flow control

The service flow control context allows you to define the max. connections, max. connections / interval, max. peer connections, max. peer connections / interval values.

Service configuration

Through "Service Configuration" you can manage logging, authentication and encryption, error and thread control parameters and backend server connection settings.

Logging

You can select several types of messages to be logged for the IMAP Proxy service: critical messages, error messages, warning messages, informational messages and protocol communication. To select which of these are to be logged, click the "Log Level" slider and move it to the left or to the right. The selected types of messages will change color from grey to blue.

Log files can be stored using your internal log files, your system's log files or within the log files located on a remote system. Use the "Log" drop-down menu to select where to have your log files saved.

Encryption and authentication

The IMAP Proxy service allows only one authentication method which is PLAIN. Therefore, as it is recommended to use StartTLS or SSL to enhance connection security check the "Allow StartTLS" option in the "Encryption and Authentication" section. Should you like your proxy to handle the authentication check the "Perform authentication on proxy" option, alternatively the authentication will be performed on the back-end server.

Error control

To set a maximum number of errors caused by invalid commands received from clients or by failed authentication attempts check the respective options in the "Error Control" area of the IMAP Proxy service. Use the up and down arrows corresponding to each of these options to set a specific number of errors.

Thread management

Thread management allows you to set different numbers of processing threads for the IMAP Proxy service depending on your traffic load. First, using the up and down arrows, set a number of threads to be allotted when the IMAP Proxy service is started. To have a different number of threads for peak periods check the overload option and use the up and down arrows to choose the thread number.

Back-end server connection settings

To set a specific sending and receiving timeout, first check the respective option in the "Back-end Server Connection Settings" section. The timeout is computed in milliseconds (use the up and down arrows or edit the respective text field to increase or decrease the default value) and ranges between 10 and 65535.

You can limit the total number of connections established on the back-end server by checking the corresponding option. Use the up and down arrows or edit the respective text field to increase or decrease the default value - possible values range between 1 and 65535 connections.

In order to overwrite the default local network interface used for back-end server connections check the corresponding option and type the respective interface in the Local network interface IP address field.

To use a secure (SSL enabled) connection when accessing the back-end server, please check the corresponding option in the "Back-end Server Connection Settings" section.

IMAP Proxy options

 

You are able to configure the greeting string at IMAP Proxy service level. This option is available as a service configuration from both CLI and WebAdmin. When defining the greeting string, you can use the following placeholders (note that the placeholders are case sensitive):

  • %H = network hostname of the server machine
  • %D = network hostname.domainname of the server machine (FQDN)
  • %A = listener IP
  • %P = listener port
  • %U = APOP ID in the number.number@hostname.domainname format
  • %V = axigen version
  • %% = %

When you are done configuring these parameters, remember to click the "Save Configuration" button to preserve your changes.