Enable SSL (LetsEncrypt)

  1. Home
  2. Knowledge Base
  3. Installation
  4. Enable SSL (LetsEncrypt)
  1. Home
  2. Knowledge Base
  3. Security
  4. Enable SSL (LetsEncrypt)

Add or check these settings. The config checker will do this for you.

g_ssl_allow "*"
g_ssl_try_out "*"
g_ssl_per_domain "true"
g_ssl_auto "true"
g_ssl_perfect "true" 
g_webmail_port "80,7080"

Then issue the command:

tellmail ssl_update

Alternatively you may wish to configure ssl certificates Manually if so click here.

Requirements

  • SurgeMail version 7.3j2 or later
  • Your server must be accessable on port 80 directly to surgemail (not apache or IIS)
  • Each domains url_host setting must point at your server.

Force SSL connections

If you wish to force the use of SSL use the following settings:

# Block imap/pop/smtp logins without SSL enabled for all ip addresses.
g_ssl_require_login "*"
# Redirect users to the https url automatically.
g_url_redirect from=”http:///surgeweb” to=”https://%1/surgeweb” ports=”80″
g_url_redirect from=”http:///user.cgi” to=”https://%1/user.cgi” ports=”80″

Was this article helpful?

Related Articles