Updated: May 4, 2021
Solution
Axigen supports SSL connections for all its TCP based modules (SMTP, POP3, IMAP, WebMail). Here's how to use an SSL encrypted connection through a secure (SSL) socket:
Clients can connect on secure ports for each service. Default protocol secure ports are:
- IMAPS: 993
- POP3S: 995
- SMTPS: 465
- HTTPS: 443
In order to create a secure socket in Axigen, you must create a listener on the corresponding port for the specific service you want to secure. Login into WebAdmin, and go to the desired service's context (WebAdmin → Services → specific service). Press the Add listener button and make the following settings:
- Type the IP of the network interface on which you want the listener to be bound and the corresponding port, according to the list above
- Press the Quick Add button
- Click Edit for this newly created listener
- Switch to the SSL Settings tab
- Check the Enable SSL for this listener option
- Set the Path to certificate file to point to the SSL certificate(for example the one you can create using LetsEncrypt as described here
- Depending on the operating system, the appropriate values are:
- for Linux: /var/opt/axigen/letsencrypt/<domain name>/cert.pem
- for Windows: C:\Program Files\Axigen Mail Server\letsencrypt\<domain name>cert.pem
- Click on the Show SSL Configuration and complete the path to the Certificate authorities file
- Depending on the operating system, the appropriate values are:
- for Linux: /var/opt/axigen/letsencrypt/<domain name>/cert_auth.pem
- for Windows: C:\Program Files\Axigen Mail Server\letsencrypt\<domain name>cert_auth.pem
- Press the Save Configuration button