g_webmail_limit – Maximum number of concurrent webmail requests
This should not generally be adjusted, it is simply a limit to prevent DOS attacks or overloading from web requests. A value of 10-300 would be reasonable. The default is 200
Syntax: g_webmail_limit int
g_webmail_popmode – Use POP3 instead of IMAP in WebMail.
This results in pophost being passed to webmails domain configuration file, surgehost.ini. If you change this setting you should delete surgehost.ini and run “tellmail surgehost_update” to rebuild it.
Syntax: g_webmail_popmode bool
g_webmail_port – WebMail port (default 7080)
This is the port that WebMail users should connect through (unless you want better security, then use the secure port and HTTPS protocol listed below) By default it is port 7080, but if you are not running a web server you probably want to change it or add port 80, eg:”7025,80″ so that people can get to it with a URL like this: http://your.mail.server instead of http://your.mail.server:7080. Use the keyword ‘disabled’ to disable this part of the SurgeMail service.
Syntax: g_webmail_port int
g_webmail_save – Write surgehost.ini and other obsolete webmail config info
This setting enables writing the webmail surgehost.ini file, it is not needed generally unless your users keep using the old webmail (which they shouldn’t)
Syntax: g_webmail_save bool
g_webmail_secret – Secret string used by webmail when sending the ip address of connecting users
This is used with webmail when you want surgemail access rules to apply to webmail users, webmail has a matching setting which makes it pass the ip address through
Syntax: g_webmail_secret string
g_webmail_secure_port – WebMail secure port (default 7443)
This is the port that WebMail users should connect through.. By default it is port 7443, but if you are not running a web server you probably want to change it or add port 443, eg:”443″ so that people can get to it with a URL like this: https://your.mail.sever Instead of https://your.mail.server:7443. Use the keyword ‘disabled’ to disable this part of the SurgeMail service.
Syntax: g_webmail_secure_port int
g_webmail_select_domain – Send select_domain instead of host in webmail autologins
Recommended. This uses the select_domain method of auto-logins with WebMail, it often works where the old method fails.
Syntax: g_webmail_select_domain bool
g_webmail_timeout – Timeout for webmail or any cgi process (in seconds, default 360)
If he webmail cgi fails to respond this limits how long SurgeMail will wait before killing the process.
Syntax: g_webmail_timeout int
g_webmail_url – Url to the WebMail cgi
If WebMail is not in the default place and/or is not on the SurgeMail machine then this setting tells SurgeMail where it is so links to WebMail from SurgeMail function correctly.
Syntax: g_webmail_url string
g_webmail_urladd – Url data to append to WebMail auto-login link
This setting allows you to specify additional information and settings which are passed to WebMail when SurgeMail links to it.
Syntax: g_webmail_urladd string
g_webmail_useip – Use the ip address in g_webmail_port setting
By default it will use the same url as the user connects on which is generally better.
Syntax: g_webmail_useip bool
g_webmail_workarea – Path to WebMail workarea
If WebMail is not installed in the default location on this SurgeMail machine this setting tells SurgeMail where to find it.
Syntax: g_webmail_workarea string