Products Downloads Prices Support Company

SurgeMail Configuration Setings Overview

Domain Specific Settings
  1. access_group_default - Default group to place users in
  2. admin_access_default - Default admin features granted to domain admins in this domain
  3. alias_file - Alias translation file for this domain, unix format
  4. alias_max - Maximum number of aliases for this domain
  5. assume_created_epoch - If user has no 'created' field assume they were created an arbitrarily large time in the past
  6. blogs_max_per_user - Number of blogs each account can create
  7. centipaid - Enable CentiPaid feature for matching accounts
  8. class - Define class of user for following commands to apply to
  9. create_block - Block new users from this ip
  10. create_cleanup - Cleanup existing data before adding a user
  11. create_delete_days - Number of days a disabled new account remains before deletion
  12. create_disable_days - Number of days new accounts remain active for
  13. create_image - Use verification image on signups
  14. create_linkto - Link to redirect to after successful live account creation
  15. create_max - Maximum signups from ip in time period
  16. create_repass - Users must enter their password twice on creation
  17. create_reqd - Required fields for new users, e.g. (phone,age)
  18. create_subdomain - Allow users to have their own subdomain
  19. create_tpl_dir - Relative directory (from /web) where 'netauth' pages are stored
  20. create_user - Method for adding new users
  21. delete_user_after - Number of days an account can remain unread before it is deleted
  22. disable_smtp_after - Number of days an account can remain unread before delivery is disabled
  23. disable_surgeplus - Disable SurgePlus Calendar/File Sharing
  24. dmail_bin_path - Path for dmail bin files to automatically convert delivered mail
  25. dmail_deliver - Deliver messages into dmail drop directories (not supported)
  26. dmail_drop_path - Path for dmail / sendmail style drop files to automatically convert delivered mail
  27. dmail_drop_prefix - Whether prefix is used on drop file names
  28. dmail_hash - Hashing scheme used by dmail_drop_path and dmail_bin_path
  29. dmail_skip_imap - Skip conversion of old imap *.mbx folders
  30. enotify_from - From address to use in email notification messages
  31. expire_age - Expire inbox mail older than (days)
  32. expire_rule - Expire rules for specific folders, age is in days
  33. expire_size - and larger than this
  34. fallback - Default address for this domain, NOT RECOMMENDED
  35. fallback_always - Also relay to old system even if user does exist - not recommended
  36. fallback_check - Check if user exists on fallback_relay host before accepting it
  37. fallback_relay - Host to send messages to if user doesn't exist here
  38. footer_file - Text footer file for all messages 'from' this domain
  39. footer_html - HTML footer file for all messages 'from' this domain
  40. forward_illegal - Ban forwards to these addresses
  41. friends_at_rcpt - Whether to check users friends list at rcpt stage
  42. from_exact - Check from matches authenticated user
  43. gateway_to - Send all email to another server
  44. header_add - Add header to posts 'from' this domain
  45. host_alias - Alternate name(s) for this domain
  46. imap_public - Share IMAP folders between users (FAULTY, DO NOT USE!)
  47. language_default - Default language for user web interface
  48. late_forward - Apply domain users forwarding rules after friends, spam, and filtering
  49. ldap_anydomain - Lets users search other than their own domain in ldap
  50. ldap_disable - Stops ldap logins by users of this domain
  51. list_disable - Disables creation of mailing lists.
  52. list_max - Maximum number of mailing lists for this domain.
  53. list_max_users - Maximum number of users allowed in all lists in this domain.
  54. loginfails - Disconnect user after this many password guesses
  55. lookup_relay_on_from - Looks up local from addresses to check for relay="true"
  56. mailbox_path - Path to mailbox (inbox) files
  57. manager_email - Domain managers email address (for email based account creation confirmation)
  58. manager_username - Domain managers username (for web based domain administration)
  59. msg_max_in - Max size for messages to users in this domain, largest applied if multiple recipients
  60. msg_max_out - Max size for messages sent by authenticated users of this domain
  61. old_imaphost - Old IMAP server:port - transition IMAP accounts and folders if user doesn't exist
  62. old_imaphost_always - Retrieve mail from old imap host on each login (slow - particularly for webmail)
  63. old_imaphost_createuser_disable - Disable old_imaphost user creation on first login
  64. old_imaphost_file - Migration based on file
  65. old_imaphost_lowercase - Migration - All migrated folders are lowercase.
  66. old_imaphost_nodelete - Leave mail on the old server (disables old_imaphost_always)
  67. old_imaphost_nodomain - Strip domain from username when logging into old imap host
  68. old_imaphost_pass - Migration based on file - password field
  69. old_imaphost_prefix - Prefix for old imap server, e.g. mail//
  70. old_imaphost_skip - Migration - Comma seperate wild card list of migrate folders to skip past.
  71. old_imaphost_user - Migration based on file - user field
  72. old_pophost - Old pop server:port - transition accounts and pending messages if user doesn't exist
  73. old_pophost_always - Retrieve mail from old pop host on each login
  74. old_pophost_bind - Bind outgoing connection during pop migration
  75. old_pophost_createuser_disable - Disable old_pophost user creation on first login
  76. old_pophost_nodelete - Leave mail on the old server (disables old_pophost_always)
  77. old_pophost_nodomain - Strip domain from username when logging into old pop host
  78. old_pophost_sep - Seperater, default is '@', e.g. some systems use %
  79. old_smtphost - SMTP host to check for existing users (when creating new accounts)
  80. old_smtphost_skip - Who to disable SMTP host checks for
  81. old_xfile - Migration - Copy xfile data across
  82. pop_welcome - POP connection message
  83. prefix - Database username prefix (deprecated, compatibility only)
  84. proxy_pop_nodomain - Strip domain when talking to proxy pop host
  85. quota_default - Default quota
  86. quota_domain - Total quota for the domain, e.g. 300mb, 2gig
  87. rcpt_msg - Response given for invalid recipient errors, message is prefixed by email address.
  88. redirect - Redirect messages from 'was' to the new 'to' address
  89. redirect_cc - Send carbon copy to another address
  90. redirect_hash - Share incoming message evenly between several accounts
  91. redirect_max - Limits the number of redirect rules
  92. send_helo - Mail host A Record name used when sending helo to other servers
  93. smtp_welcome - SMTP connection message
  94. spam_block - Default for this domain to block spf etc failures
  95. spam_strip - Strip spamdetect headers for this domain
  96. ssl_allow - IP Wild card list to allow SSL encryption from
  97. ssl_pop_domain - Domain to use for ssl certificates for POP and IMAP
  98. surgeplus_pop_server_name - Default POP server for SurgePlus clients
  99. surgeplus_smtp_server_name - Default SMTP server for SurgePlus clients
  100. surgewall - Surgewall - Proxy this domain to specified mail server
  101. surgewall_auth - SurgeWall SMTP authentication
  102. surgewall_capa_local - Just return local imap capa response rather than remote
  103. surgewall_options - Various SurgeWall options
  104. surgeweb_backend - Backend machine to connect to
  105. suspend - Disable logins for entire domain
  106. url_alias - Allows translation from one url to another
  107. url_blogs - BLOGS host A Record name (if different from MX Record name - eg. blogs.mydomain.com)
  108. url_host - Mail host A Record name (if different from MX Record name - eg. mail.mydomain.com)
  109. user_access_default - Default user features granted to users in this domain
  110. user_alias - Number of aliases accounts can create
  111. user_centipaid - User Centipaid configuration options
  112. user_list_quota - Number of mailing lists users can create
  113. user_max - Maximum number of users in this domain
  114. user_send_max - Maximum number of emails per day (requires SMTP AUTH)
  115. user_sms - Allow users to setup sms notifications
  116. user_sms_quota - Number of sms messages per account
  117. user_status_send - How often to send user status messages (0 = never)
  118. web_access_ip - Restrict access to web ports based on ip
  119. web_path - Path to web admin pages
  120. web_url_path - Url to path translation with access specifier
  121. webmail_host - The ip address or name of the machine to instruct webmail to connect to.
  122. webmail_url - Url to the WebMail cgi
  123. webmail_urladd - Url data to append to WebMail auto-login link
  124. webmail_workarea - Path to WebMail workarea
  125. xfile_url - Url to xfile files (see surgeplus utility)
Global settings
  1. g_access_group - Grouped per user access limitations
  2. g_access_group_default - Default group to place users in
  3. g_acctlog_authonly - Log sending usage based on authenticated accounts only and ignore "MAIL FROM" address - which may be fake!!
  4. g_acctlog_noaliases - Don't log redirection & aliases as sending mail as a result of redirection / forwarding (means you will not log account forwarding usage)
  5. g_acctlog_sum_inactive - Summarise local accounts that have not logged in yet as not_loggedin_yet@domain.com
  6. g_admin_access - Domain admin features granted to access groups
  7. g_admin_access_default - Default admin features granted to domain admins
  8. g_admin_guesses - Max guesses per IP for web admin access, e.g. 15
  9. g_admin_ip - Mask of valid IP addresses for web admin users (default *)
  10. g_admin_localhost - Allow localhost web admin without user/pass
  11. g_admin_utoken_expire - Length of time a web admin session is valid for
  12. g_admin_utoken_idle - Length of time a web admin session may remain idle for
  13. g_allow_bodyless - If true bodyless mail messages will be accepted (usually spam)
  14. g_allow_passzip_from - A list of addresses to allow unmonitorable archive messages to be sent from
  15. g_allow_passzip_to - A list of addresses to allow unmonitorable archive messages to be sent to
  16. g_allow_user_authent_field_get - A space separated list of authent process fields that users are allowed to view for themself using the POP xauthent_field_get command
  17. g_allow_user_authent_field_set - A space separated list of authent process fields that users are allowed to set for themself using the POP xauthent_field_set command
  18. g_archive - Archive messages that match these rules
  19. g_archive_bucketsize - Size for archive bucket files. Default is 1mb
  20. g_archive_early - If true apply archiving before filtering is applied (superceeded by early flag on g_archive)
  21. g_archive_files - Archive attachments to a directory
  22. g_archive_on_delete - Don't delete user files, archive them to g_archive_on_delete_dir
  23. g_archive_on_delete_dir - Directory to archive user files to on delete
  24. g_aspam_headers - Add aspam information messages to messages.
  25. g_aspam_need_ip - Require good matches to match external ip address
  26. g_assume_created_epoch - If user has no 'created' field assume they were created an arbitrarily large time in the past
  27. g_atrn_client - Define a rule for fetching email
  28. g_atrn_port - Port to listen for 'atrn' (On Demand Relay) requests
  29. g_atrn_server - On Demand Mail Relay settings to define user/pass for clients to fetch mail
  30. g_auth_hide - Disable SMTP Authentication for this IP List/Wild card address
  31. g_auth_norelay - Ignore SMTP auth for relaying purposes
  32. g_auth_skipgateway - Skip gateway rules if we get a proxy SMTP auth command
  33. g_authent_allow_badascii - Allow ascii chars outside the range 32 < 127
  34. g_authent_always - Always lookup user, so virtual domains can exist just in authent module, looses existing users files
  35. g_authent_cachebad - Set the life in seconds that the cached failed lookups can be used, default 60 seconds
  36. g_authent_cachelife - Set the life in seconds that cached authent lookups can be used, default 1 hour
  37. g_authent_cachesize - Set the size of the authent cache, default is 500 entries
  38. g_authent_domain - If true add @virtual.domain.name to external user lookups (typically always set to true)
  39. g_authent_fwdfile - Enables reading of old dmail .fwd files
  40. g_authent_info - User info names, fields and access rules
  41. g_authent_info_grp - Fields to show to users in this group
  42. g_authent_ip - Lookup ip numbers in authent database with @ip added, to find send_limit=n values, must define tarpit_max_remote and g_tarpit_drop
  43. g_authent_last_login - Store users last login time in the database
  44. g_authent_logall - Turns on logging of authent requests
  45. g_authent_number - Number of authent processes to run
  46. g_authent_path_broken - Allow authent module to return drop path, strongly discouraged, and BROKEN!!
  47. g_authent_prefix_sep - Prefix separator, defaults to an underscore, a single character
  48. g_authent_process - Authent process command line
  49. g_authent_restart - Cycle auth modules every 1000 lookups
  50. g_authent_single - Allow local users with a single quote char in their name
  51. g_authent_strip_domain - Domain to strip when doing authent lookups
  52. g_authent_timeout - Timeout for authent response, default 60 seconds
  53. g_autologin_file - File to use to share auto login information on NFS based cluster
  54. g_autologin_pop - Performs auto-logins using pop3, used by webmail
  55. g_backtrace_disable - If true backtrace code is disabled on unix
  56. g_bad_login_allow - Number of consecutive bad logins for a user before blocking that user
  57. g_bad_login_ip_allow - Number of bad logins from an ip before blocking that ip
  58. g_bad_login_ip_ignore - IP address(es) to ignore bad logins from
  59. g_bad_login_mins - Minutes to block login for, if consecutive bad ones received
  60. g_badfrom_badmx - If mx host is one of these addresses then drop the message, it's definitely spam (e.g. 127.*)
  61. g_badfrom_check - Check env from by connecting to it, always tick 'stamp' rule too or messages will bounce! NOT RECOMMENDED
  62. g_badfrom_from - From to use when doing the check, not normally needed, if set must be set to valid account
  63. g_badfrom_noip - Check envelope from domain exists and is a valid ip number, if not reject message
  64. g_badfrom_stamp - Instead of bouncing message, just stamp a header to show if from address is no good
  65. g_badfrom_whitelist - List of domains that we don't try badfrom checking on (see g_smite_skip)
  66. g_ban_blackhole - Leave connected but reject all recipients without looking them up
  67. g_ban_from - Disconnect if this wild card matches the from envelope
  68. g_ban_helo - Disconnect if user says 'helo xxx' (or wildcard)
  69. g_ban_rcpt - Disconnect any user delivering to this address/wildcard
  70. g_bank_debug - Log request to bank server
  71. g_bank_group - Create price groups with descriptions
  72. g_bank_log - Log lines matching this in response.
  73. g_bank_ok - Find this in response, if found then charge was successful
  74. g_bank_pass - Password for authenticated web request to banks system
  75. g_bank_reason - This line is returned to user if it is found
  76. g_bank_url - URL to charge a credit card (experimental)
  77. g_bank_user - Username for authenticated web request to banks system
  78. g_bind_byfromip - Bind outgoing SMTP connections to the specified IP based on the sender IP
  79. g_bind_from - Bind outgoing SMTP connections based on 'from' envelope
  80. g_bind_incoming - Bind outgoing SMTP connections based on incoming ip address
  81. g_bind_out - Bind outgoing SMTP connections to this IP
  82. g_black_above - Level for spam detection for blacklisting ip number e.g. 7
  83. g_black_count - Number of spam in a row before we blacklist ip for 30 minutes, e.g. 30
  84. g_black_to - Blacklist ip address if they deliver to these user@domain addresses
  85. g_block_files - Wild card list of files to bounce, e.g. *.exe,*.cmd
  86. g_block_longok - If true allow long file names (more than 180 char)
  87. g_block_skip - From or To address to bypass g_block_files
  88. g_block_wild - Block wild cards in usernames
  89. g_blogs_allow_links - Allow users to post comments that contain urls
  90. g_blogs_cleanup_links - Delete existing posts that contain urls
  91. g_blogs_default_template - Default template set that is used by newly created blogs
  92. g_blogs_domonly - Only list blogs in a users domain
  93. g_blogs_enable - Surgemail blogs
  94. g_blogs_image_optional - Allow users to specify if image verification is required for comments
  95. g_blogs_max_per_user - Maximum number of blogs per user
  96. g_blogs_maximum_image_size - Default maximum image size
  97. g_blogs_maximum_image_width - Default maximum image width
  98. g_blogs_maximum_items_in_top_page - Maximum number of items on the top blog page
  99. g_blogs_no_suffix - Shortens URL, url_blogs must be defined for each domain
  100. g_blogs_not_unique - Allow the same blog name in multiple domains
  101. g_blogs_ping - Sites to ping on each post
  102. g_blogs_sub_domain_prefix - Prefix to use instead of blogs. for blog subdomains. use ! to have no prefix.
  103. g_blogs_use_sub_domains - Make blogs accessible at http://blog_name.domain/
  104. g_body_filter - Enable user email body filtering
  105. g_bomb_max - Max msgs to a single email address/hour
  106. g_bomb_max_from - Max msgs from a single email address/hour
  107. g_bounce_bind - Use a specific ip address for outgoing bounces
  108. g_bounce_disable - Disable all bounces (useful when under spam attack)
  109. g_bounce_limit - Max size in bytes of message to send back as bounce, message is truncated if necessary
  110. g_bounce_nodrop - Enables locally generated bounces for non local users
  111. g_bounce_redirect - Send all bounces to a local address
  112. g_bounce_reject - Reject bounces by ip address from known dumb mail servers
  113. g_bounce_some_stop - Disables locally generated bounces for partial message failure
  114. g_bounce_suggest - Send bounces to postmaster if spf cannot be verified
  115. g_bounce_to - Domains to treat as local and send bounces to
  116. g_centipaid - CentiPaid address and port
  117. g_cid_skip_to - Skip CID score, good for lawyers etc
  118. g_comment - Management notes and comments about the server
  119. g_con_perip - Connection limit per ip - sum of SMTP/POP/IMAP (if over refuse connection)
  120. g_con_perip_except - Exception IP addresses to g_con_perip
  121. g_con_persubnet - Global concurrent connection limit per ip subnet x.x.x.*
  122. g_convert_percent - Convert % to @ sign in rcpt address
  123. g_crash_normal - Crash without catching signals 10,11 so good core dump on freebsd
  124. g_create_allow - List of characters allowed in usernames (and passwords, unless g_create_allow_pass is used)
  125. g_create_allow_pass - List of characters allowed in passwords
  126. g_create_apply - List of user groups to apply create_* settings for.
  127. g_create_badnames - List of illegal usernames
  128. g_create_cleanup - Cleanup existing data before adding a user
  129. g_create_dictionary - File containing dictionary words to compare passwords to
  130. g_create_pass_length - Limit the length of user passwords
  131. g_create_record_ip - Causes surgemail to store ipnum in the authent database
  132. g_create_strict - Whether to apply strict rules to usernames/passwords
  133. g_create_user_length - Limit the length of usernames
  134. g_dbabble_links - Add web links to DBabble from other web interfaces (and vice versa)
  135. g_dbabble_smtp_port - DBabble SMTP port (do not manually change this setting - it should be set from the DBabble section of the web admin interface only)
  136. g_dbabble_smtp_prefix - DBabble SMTP prefix (do not manually change this setting - it should be set from the DBabble section of the web admin interface only)
  137. g_debug_block - For catching bugs in block file processsing
  138. g_debug_ini - Debugging, don't use this
  139. g_debug_vanished - Name of file to check for, if file vanishes, crash
  140. g_delete_exclude - Field and value that excludes an account from g_delete_user_after
  141. g_delete_user_after - Number of days an account can remain unread before it is deleted (SEE WARNING).
  142. g_delete_user_mode - Instead of deleting an unread account you can perform another action.
  143. g_delete_user_suspend - If suspending an unread account set this field/value.
  144. g_deny - Block users from some ip addresses
  145. g_deny_msg - Block users from some domains
  146. g_deny_smtp - Block users from some ip ranges connecting to SMTP only
  147. g_disable_exclude - Field and value that excludes an account from g_disable_smtp_after
  148. g_disable_skip - Ip address of senders to accept email from even if user account is disabled due to g_disable_smtp_after
  149. g_disable_smtp_after - Number of days an account can remain unread before delivery is disabled
  150. g_disable_surgeplus - Disable SurgePlus Calendar/File Sharing
  151. g_disable_surgeplus_updates - Disable automated downloading of new versions of SurgePlus client from netwinsite.com
  152. g_dlist_nostart - If set then don't start dlist (dmail compatibility)
  153. g_dlist_path - DList Path normally defaults to $g_home/dlist
  154. g_dmail_filter - DMail compatible filter.txt file
  155. g_dns_cache_size - Set size of forward dns cache, default 7000
  156. g_dns_host - Hosts to send DNS lookups to
  157. g_dns_match_msg - Message for stamp or bounce if forward and reverse lookup don't match
  158. g_dns_nlookup - Concurrent DNS lookups to send to DNS server, default=20
  159. g_dns_nocache - Disables DNS cache for spf lookups (20 minute life)
  160. g_dns_noptr - Set to reject or retry, for ip addresses with no reverse dns entry (rdns)
  161. g_dns_noptr_msg - Message for stamp or bounce if DNS lookup fails on ip address
  162. g_dns_noptr_skip - Skip RDNS for these ip addresses
  163. g_dns_paranoid - Compare forward and reverse dns lookup and check they match (set to STAMP or REJECT) not recomended
  164. g_dns_require - Require MAIL FROM header matches senders ip reverse dns
  165. g_dns_system - Use system code to do reverse lookups
  166. g_dns_translate - If mx response is x.x.x.x translate to y.y.y.y:port
  167. g_domadmin_utoken_expire - Length of time a domain admin login token is valid for
  168. g_domadmin_utoken_idle - Length of time a domain admin login token may remain idle for
  169. g_domain_default - Default domain if user does not enter a domain on pop/imap login
  170. g_domain_list_max - Maximum number of domains to list at once
  171. g_domain_separator - Separator character for virtual domains
  172. g_domainkeys_check - Check incoming DomainKeys signatures (beta may be unstable)
  173. g_domainkeys_headers - List which headers to sign
  174. g_domainkeys_only - Domains to sign for outgoing email
  175. g_domainkeys_selector - Policy name for your server (used creating dns entry for domainkeys)
  176. g_domainkeys_sign - Sign outgoing messages (create a key first using web admin)
  177. g_domuser_file - Domain user file. Create thousands of virtual domains easily
  178. g_dotlock_minutes - Minutes to wait for NFS lock file, default 20 minutes
  179. g_dotstuff_fix - Debugging setting, do not change or bad things will happen
  180. g_doweb - Do web part only
  181. g_download - Fetch an http file and do an ini reload
  182. g_drop_use_len - Use the content-len header for drop file processing (Solaris)
  183. g_dsn_enable - Enable DSN (Delivery Status Notification) esmtp extension.
  184. g_dsn_nofinal - Try not to show real final recepients but just original recipients
  185. g_ehlo_fault - Internal - for generating/testing faulty ehlo responses
  186. g_ehlo_simple - Ip addresses to give simple ehlo respone to
  187. g_encrypt_key - Encryption key for ccnumber auth field
  188. g_enotify_from - From address to use in email notification messages
  189. g_eof_fix_off - Turns off auto stripping of control+Z
  190. g_expire_silent - Don't send users emails telling them what was expired.
  191. g_expire_trash - Expire any messages found in trash folders
  192. g_expire_warning - Give warning 'n' days before deleting each file (not implemented)
  193. g_external_ip_disable - Do not add X-External-IP header
  194. g_fallback - Default address for all local domains
  195. g_fallback_relay_if_exists - Use FALLBACK_RELAY if not logged in but user exists (OLD_POPHOST_CREATEUSER_DISABLE)
  196. g_filter_max - Max size for items to be sent to filter_pipe, or g_user_pipe, default no limit
  197. g_filter_n - Concurrent filters to run at one time, default is 20
  198. g_filter_pipe - Filter program that accepts msg on stdin and sends on stdout
  199. g_filter_pipe_skip - Skip filter if ip matches this
  200. g_filter_timeout - Filter timeout in seconds, default is 360
  201. g_fix_crcrlf - Fix email messages containing crcrlf for line termination
  202. g_fix_imap_lf - During IMAP import fix email messages containing lf
  203. g_footer_file - Footer file which is appended to all mail messages
  204. g_footer_html - HTML Footer file which is appended to all mail messages
  205. g_footer_send - Footer file added to outgoing messages only
  206. g_footer_sendonly - If true only add footers when sending to non local users
  207. g_footer_skip - Skip footers for these users
  208. g_forward_attach - When late forwarding send as attachment to these domains
  209. g_forward_illegal - Ban forwards to these addresses
  210. g_forward_oops - Internal testing setting, not for general use sorry
  211. g_friends_always - Always use friends list.
  212. g_friends_at_rcpt - Whether to check users friends list at rcpt stage
  213. g_friends_byweb - Perform confirmation of pending via the web.
  214. g_friends_check_spf - Disable friends bounces if SPF headers missing/failed.
  215. g_friends_confirm_debug - Log sucessful friends confirmation responses
  216. g_friends_confirm_subject - String to use as the subject of a friends confirmation email
  217. g_friends_ignore - List of addresses considered friends for all users on the system
  218. g_friends_ignore_trusted - If from trusted ip still apply friends
  219. g_friends_latest_headers - Causes friends to re-read message headers, allowing rules based on headers added during delivery
  220. g_friends_name - What to call the friends system on pages and in email
  221. g_friends_only - Enable friendonly features - must be enabled by users too
  222. g_friends_pending_keep - Number of days to store users pending messages before deleting them
  223. g_friends_pending_vanish - Enable auto-vanish of pending messages on confirmation bounce
  224. g_friends_rotate - Rotate user level log file, default 30k
  225. g_friends_short - In friends web release addresses use a shortened url
  226. g_friends_silent - Disable friends responses to users
  227. g_friends_skip_ip - List of ip addresses considered friends for all users on the system
  228. g_friends_spf_fail_bounce - Bounce SPF failures, do not send friends confirmations
  229. g_friends_url - Specify full url for friends release http://domain.name:port
  230. g_from_allow - Other email addresses we allow, e.g. *@x.y.com,*@b.com,fred@bb.com
  231. g_from_allow_ip - IP addresses to bypass local from check
  232. g_from_bl - Domain Based Blacklist Zones, lookups FROM domain in dns
  233. g_from_bounce - Reject if local from address is probably faked
  234. g_from_check - Check from domains match valid local domains if user is authenticated, or g_from_allow
  235. g_from_exact - Check from matches authenticated user
  236. g_from_header - From header used in delivery bounces
  237. g_from_noforge - If envelope is local domain then from must be too
  238. g_from_noforgeme - If to==from then from and env from must match
  239. g_from_relay - If not authenticated and g_relay_allow_ip matched then block if not local domain or whitelisted
  240. g_from_relay_white - White list of domains for g_from_relay setting
  241. g_from_rewrite - Rewrite from envelope for outgoing email, e.g. *@this.domain -> %1@another.domain
  242. g_from_stamp - Stamp if local from address is probably faked
  243. g_from_timeout - Timeout when checking bad from addresses, default 60 seconds
  244. g_from_valid - Require an @ and dotted domain in all return addresses
  245. g_gateway - Gateway messages for that domain to the specified address
  246. g_gateway_allow - Known hosts that act as incoming SMTP or surgewall servers for us
  247. g_gateway_always - Always send to gateway even if local domain exists
  248. g_gateway_auth - Send SMTP auth requests to another host
  249. g_gateway_data - Gateway at the data stage (beta)
  250. g_gateway_from - Pass 'from' header thru during gatewawy check
  251. g_gateway_helo - Header that must exist in incoming bounces (g_send_helo) or bounces are dropped
  252. g_gateway_ifnot - Send local deliveries to scanner (using gateway rule) before delivering locally, deliver locally if from ip matches
  253. g_gateway_ignorewild_ip - Ignore * gateway rules if from ip matches (allows outbound email scanning using gateway * to external scanner)
  254. g_gateway_mx - If specified IP address is found in mx record for destination then allow relay (not recommended)
  255. g_gateway_orcpt - Writes an original receipt header when forwarding a message, this may disclose multiple recipients, cc/bcc etc use only for tracking faults
  256. g_group_field - Auth field to add to group membership
  257. g_hack_detect_disable - Stop admin emails when users login with a weak password
  258. g_header_out - Header to add to outgoing posts
  259. g_header_strip - Strip listed headers from incoming messages
  260. g_helo_optional - Helo is optional for SMTP protocol (not recommended)
  261. g_home - Home path of server configs log etc
  262. g_http_proxy - Proxy web server for fetching files from netwinsite.com if direct access fails
  263. g_imap_acl - Enable ACL (shared folders) in imap (beta)
  264. g_imap_capa - Where to get the CAPABILITY value from
  265. g_imap_capa_strip - Capability values to hide
  266. g_imap_cram_enable - Enable CRAM-MD5 authentication (requires nwauth 4.0h or greater)
  267. g_imap_friends - Test mapping friends_pending folder (not functional)
  268. g_imap_idle_nsf - The number of seconds before a complete directory rescan. To be use on NSF network drives
  269. g_imap_log_flush - Flush imap log on every write (for debugging)
  270. g_imap_log_protocol - If true log IMAP protocol to log file
  271. g_imap_no_internal_date - Disables internal date which helps stupid outlook client show correct dates
  272. g_imap_old - Revert to old imap module
  273. g_imap_old_ip - Revert to old imap module for some ip's
  274. g_imap_pop_burst - Always burst using imap code
  275. g_imap_port - IMAP port to listen on, default is 143
  276. g_imap_secure_port - IMAP SSL secure port to listen on, default is 993
  277. g_imap_size_fetch - If true, will display message sizes on fetch command. (ie * 123 EXISTS)
  278. g_imap_testing - Test imap module instead of normal one (not functional)
  279. g_imap_timeout - Time, in minutes for imap timeout, RFC required default is 30
  280. g_imap_timezone - Timezone to display - for testing purposes only
  281. g_imap_uidl_nofix - If true, disable auto repair of identical uidl entries
  282. g_imap_user_flags - This breaks the mac email client, do NOT use! (disabled)
  283. g_include - Include another ini file global settings only
  284. g_iplimit - Untrusted local ip addresses e.g. web servers, special sending limits applied.
  285. g_iplimit_islocal - Add domains to list of domains considered local for limit counting
  286. g_iplimit_local - Max sends from untrusted ip to local domains per 30 minutes.
  287. g_iplimit_remote - Max sends from untrusted ip to remote domains per 30 minutes.
  288. g_iplimit_whitelist - List of 'from' addresses that should bypass limits
  289. g_keepalive - Attempts to use keepalive for the web sessions (experimental & faulty currently)
  290. g_key_manual - Try and activate automatically when the key expires
  291. g_key_nowarning - Disable reminders to update your license
  292. g_language_default - Default language for user web interface
  293. g_last_login - If true create last_login file each time user logs in via imap/pop
  294. g_late_forward - Apply all users forwarding rules after friends, spam, and filtering
  295. g_ldap_forward - Remote ldap server to forward requests to (only for testing do not use)
  296. g_ldap_port - LDAP port, set to 389 to enable simple address book lookups only. (NOT YET FULLY FUNCTIONAL)
  297. g_lf_fix_off - If input contains naked 'lf' characters then reject with error instead of stripping as usual
  298. g_local_skipgateway - If true skip gateway rule for local messages (bounces etc)
  299. g_log_bounce_disable - Stop bounce reject entries filling up log (typically from spam bounces)
  300. g_log_date - Log full date in log files
  301. g_log_dns - Log dns responses in gory detail
  302. g_log_dropped_disable - Don't log if no 'data' command sent
  303. g_log_flush - Flush log file after every write
  304. g_log_fwd - This setting is obsolete and has no effect
  305. g_log_level - Level of logging, info, debug, error
  306. g_log_norcpt - Disable Log individual recipients in msg.rec files
  307. g_log_path - Directory for log files, defaults to G_HOME
  308. g_log_pid - Log PID in log lines
  309. g_log_reject_disable - If true then rejects are not recorded in .rec files
  310. g_log_size - Size of each mail*.log file (e.g. 5mb)
  311. g_log_slow - Do slower logging system
  312. g_log_start_norotate - Don't rotate log on startup
  313. g_log_syslog - Send 'msg.rec' entries to syslog
  314. g_log_syslog_host - Specify host to send syslog entries to (windows only)
  315. g_log_syslog_only - Disable writing to msg.rec
  316. g_log_tcp_read - Log actual tcp read data - for matching ip addresses - avoid
  317. g_log_tcp_write - Log actual tcp write data - for matching ip addresses - avoid
  318. g_log_thid - Log thread id in .rec files
  319. g_log_user - Log pop/imap/smtp protocol for specified user
  320. g_lookup_names - Lookup ip names of connecting users (can be slow)
  321. g_lookup_reject_fails - If lookup cannot get a name, reject user (not generally recommended)
  322. g_lowdisk_warning - Disksize below which to send a warning to the system manager
  323. g_mailbox_path - Default directory to store mail
  324. g_maildir_max - Max messages in a folder, do not adjust
  325. g_maildir_netwin - Use NETWIN proprietry storage format, See warnings before using
  326. g_maildir_report - Email manager on ndb errors
  327. g_maildir_standard - Use more standard maildir layout (NOT SUPPORTED)
  328. g_mailstatus_message - Error message to give when mailstatus is set to specified state
  329. g_manager - Email address of manager
  330. g_manager_port - HTTP Manager port to listen on, default is 7026
  331. g_manager_secure_port - HTTPS secure Manager port, default is https 7025
  332. g_manager_smtp - SMTP server for error reporting
  333. g_manager_username - Global domain managers username (for web based domain administration)
  334. g_max_bad_ip - Max bad recipients per ip address before blocking that ip
  335. g_max_bad_ip_time - Seconds to block guessing hackers
  336. g_max_bad_nolookup - Max bad recipients in a row, if exceeded skip user lookup
  337. g_max_bad_to - Max bad recipients in a row
  338. g_mdir_hash - Hashing mode for surgemail (not supported, use at your own risk)
  339. g_mdir_prefix - Prefix for maildir folders DO NOT USE THIS SETTING, NOT SUPPORTED!!!
  340. g_mfilter_addonly - If true, then only allow 'adding' headers, not changing them
  341. g_mfilter_file - Mfilter rule file. For spam rule processing (mfilter.rul)
  342. g_mfilter_localonly - If true then only run mfilter on local deliveries
  343. g_mfilter_maxlen - Size to truncate messages to before processing with filter
  344. g_mfilter_noisey - Do log anything in mfilter
  345. g_mfilter_skip_from - From addresses (envelope) to skip mfilter processing for
  346. g_mfilter_skip_ip - IP address(es) to skip mfilter processing for
  347. g_mfilter_skip_to - To addresses to skip mfilter processing for
  348. g_mfilter_trace - Log trace lines in mfilter
  349. g_mirror_config - Mirror surgemail.ini to/from mirror_host BETA TEST
  350. g_mirror_config_except - Settings to ignore when accepting the incoming config
  351. g_mirror_host - Mirror other host name
  352. g_mirror_live - Mirror: Send incoming messages immediately
  353. g_mirror_live_max - Limit size of mirror_live default 60k
  354. g_mirror_mode - Mirrorring mode (one system must be MASTER and the other SLAVE)
  355. g_mirror_nossl - Disable SSL for mirror protocol connection - recommended
  356. g_mirror_nwauth - Mirror send nwauth database to other server, ONLY set on master
  357. g_mirror_nwauth_always - Mirror nwauth database files
  358. g_mirror_prune_age - Mirror minimum age for items to be pruned during sync_prune, default 14 days
  359. g_mirror_secret - Mirror shared secret
  360. g_mirror_threads - Max threads we can use during resync_fast, default 6
  361. g_mirror_trash - Normally on a resync the trash folder is ignored.
  362. g_monitor_disable - Disable monitor process completely (requires restart)
  363. g_monitor_port - HTTP port for Surgemail Monitor to listen on, default is 7027
  364. g_msg_hops_max - Maximum received lines or message is bounced, default 30
  365. g_msg_log_extra - Extra user activity logging
  366. g_msg_max - Max size of a single message (if over refuse with 552 error)
  367. g_msg_max_drop - Drop link if size exceeded instead of waiting for the message to all arrive
  368. g_msg_track - Message tracking - for debugging
  369. g_mutex_timeout - Default mutex timeout period in seconds default is 600
  370. g_mutex_timing - Name of mutex to collect extra timing information for
  371. g_mx_tryall - Try all mx hosts even if lower than own mx priority
  372. g_naked_msg - Error message if body contains naked lf characters
  373. g_newui_advanced - Always run new admin ui in advanced mode
  374. g_newui_disable - Disable swanky new admin ui
  375. g_notag_notascii - Don't add x-notascii: charset to any non ascii message
  376. g_notag_url_forgery - Don't add x-UrlForgery when a ref urls seem to not match
  377. g_nwv_test - Test NetWin setting, best not played with)
  378. g_old_imap_headbody - Get head and body seperately
  379. g_old_pophost_debug - Log extra info when doing old pophost logins
  380. g_old_user_check - Disable the account status enabled check on rcpt lines
  381. g_orbs_cache_life - Time to keep RBL cached entries in seconds, default is 7200 seconds
  382. g_orbs_check_all - Keep doing lookups even if found in a RBL, this is slower of course!
  383. g_orbs_exception - Realtime Blackhole List, exception list of IP addresses
  384. g_orbs_force - Force RBL check even if g_allow_ip matches this ip number
  385. g_orbs_late - Do late disconnect so user has time to send SMTP authentication (Also applies G_SPF_SKIP_TO)
  386. g_orbs_list - Realtime Blackhole Lists (RBL's), action=deny,accept,stamp
  387. g_orbs_rec - Log to record file if RBL deny action occurs (can fill logs up)
  388. g_orbs_report - List of IP's to check in RBL(s)
  389. g_orbs_service - Service Name - Obsolete - use g_orbs_list to define services
  390. g_orbs_system - If true use system dns lookups instead of surgemails for orbs (not recommended)
  391. g_orbs_testing - If true, RBL lookups are recorded but not blocked
  392. g_orbs_timeout - Seconds to wait for RBL lookups, default is 10 seconds
  393. g_perflog_disable - Completely disable 'perflog' historical performance logging
  394. g_perflog_flush_interval - Interval in seconds to flush the performance log files to disk (default 1hr = 3600)
  395. g_perflog_logall - Log all trend graph counters including undisplayed graphs (recommended)
  396. g_perflog_lowres - Do low resolution perflog sampling (hiding hour scale)
  397. g_perflog_surgeonly - Only log surgemail counters
  398. g_pipelining - Show pipelining in ehlo response - not recommended - has no behavior affect
  399. g_pop_add_size - Improves pop performance on nfs slightly
  400. g_pop_blocksize - Size of packets to read pop messages (best left alone)
  401. g_pop_delay - If true packets are sent in bunches, this slows down some mail clients
  402. g_pop_flush_lines - Fluch to tcp every line of message sent (slow)
  403. g_pop_lock - Lock pop spool
  404. g_pop_max - Max threads for POP + IMAP connections
  405. g_pop_min_skip - Skip ip addresses matching this list.
  406. g_pop_min_time - Min time in seconds between consecutive POP logins
  407. g_pop_nolock - Allows concurrent pop logins, recommended
  408. g_pop_port - POP3 port to listen on, default is 110
  409. g_pop_secure_port - POP3 SSL secure port to listen on, default is 995
  410. g_popfetch - Fetch incoming mail from another pop server
  411. g_popfetch_interval - Interval between popfetch attempts in seconds
  412. g_popfetch_kick - If true then popfetch will try and open the link for 10 seconds, then retry, this should bring up ISDN lines.
  413. g_popfetch_nodup - Drop duplicate messages
  414. g_ppd_port - PopPassD port for setting passwords, default is 106
  415. g_proxy - Proxy mode (only set on front end server(s) )
  416. g_proxy_default - Proxy mode default forward to host
  417. g_proxy_to_gateways - Proxy pop/imap connections to matching gateway settings
  418. g_proxy_webmail - Redirect user.cgi logins to external host name
  419. g_pstat_disable - Disable pstat per user accounting (for debugging)
  420. g_queue_limit - If on disk queue exceeds this block incoming mail
  421. g_queue_max - Size of internal que file cache, range 500-3000
  422. g_queue_warning - If on disk queue exceeds this send manager a warning
  423. g_quota - Disk quota for users in specified g_access_group
  424. g_quota_disable - Disable quota system
  425. g_quota_friends - Count friends pending messages as part of quota
  426. g_quota_rcpt_disable - Disables quota check at rcpt stage
  427. g_quota_report - Send quota warnings to the manager
  428. g_quota_skip - Skip quota for matching ip addresses
  429. g_quota_try_later - Give 450 response if user is over quota so message will be resent
  430. g_quota_warning_disable - Disables the 80% quota warning message
  431. g_rcpt_bang - Allow bang character in addresses
  432. g_rcpt_colon - Allow colon character in addresses
  433. g_rcpt_max - Max recipients per message, default 1000, can only be lower than 3000.
  434. g_rcpt_max_in - Limit for recipients of untrusted channels, default g_rcpt_max
  435. g_rcpt_msg - Response given for invalid recipient errors, message is prefixed by email address.
  436. g_rcpt_nodup - Ignore duplicate recipients to the same user
  437. g_rcpt_quote - Allow quote character(s) in addresses
  438. g_rcpt_trace - Add X-Rcpt-Trace headers
  439. g_rdns_timeout - Timeout for reverse DNS lookups default is 30 seconds
  440. g_received_name - Name shown in received headers
  441. g_received_names - List of valid received names for incoming email
  442. g_received_skip - Skip local received header for trusted users (authenticated or g_relay...)
  443. g_received_skip_all - Skip local received header for messages that have non local recipients
  444. g_recent_bypass - Bypass recent failure checking
  445. g_record_days - Days to keep record of incoming messages, default 90
  446. g_record_hash - Hash storage of daily .rec files
  447. g_record_path - Directory for daily .rec files defaults to G_HOME
  448. g_redirect - Redirect messages from 'was' to the new 'to' address
  449. g_redirect_cc - Send carbon copy to another address
  450. g_redirect_from - Redirect if from envelope matches
  451. g_redirect_from_cc - Send carbon copy if from envelope matches
  452. g_redirect_hide - Hide the redirection in the output
  453. g_redirect_iflocal - If local domain, then apply redirect
  454. g_redirect_ignore_errors - Accept email even if redirected addresses fail
  455. g_relay_allow_from - Allow relaying from users if the from envelope and from header match this
  456. g_relay_allow_ip - Allow relaying from users at this ip address
  457. g_relay_dom_and_ip - Allow relaying if from envelope and ip address both match
  458. g_relay_ifnot - Accept locally only if not from this ip
  459. g_relay_message - Message to give to users who try to relay through your system
  460. g_relay_process - Relay process, e.g. testip.exe $WHOIP, return 1 to allow relaying, 0=deny
  461. g_relay_to - Relay to this domain from anyone
  462. g_relay_to_user - Relay to specific user from anyone
  463. g_relay_window - Minutes to allow relay after pop/imap login NOT RECOMMENDED
  464. g_relay_window_from - Requires pop authed user is in from header of sent message
  465. g_rename_files - Wild card list of files to rename, e.g. *.exe,*.cmd (see help for defaults)
  466. g_responder_delay - Delay between responses to the same address.
  467. g_responder_safer - Only respond if the sender can be verified in some way (spf/domainkeys)
  468. g_restart - Restart server if it dies
  469. g_retry_bounces - Max hours to keep trying to deliver a bounce, default is 48hrs
  470. g_retry_dns - Hours to keep trying if dns response suggested invalid domain name, default 0
  471. g_retry_limit - Max hours to keep trying to deliver a message, default is 48hrs
  472. g_retry_minutes - Time between attempting resends, defaults to 60 minutes
  473. g_retry_rule - Time to keep messages in queue for various domains
  474. g_retry_unwarn - Send user sent on confirmation if warning sent
  475. g_retry_warn - Send user a warning if first send fails
  476. g_retry_warn_n - Send user a warning if nth send fails
  477. g_route - Route messages matching particular wildcard spec to specified server
  478. g_route_by_tohost - Route messages using server specified in 'tohost' in authent database
  479. g_route_except - IP exception to g_route / g_route_by_tohost
  480. g_sample_get - Sample account to check if deliveries work
  481. g_sample_show - Headers to show from sample messages
  482. g_scan_action - Converts return value from g_scan_cmd, action=drop,accept,bounce
  483. g_scan_cmd - Run command on message, and return integer, see g_scan_action
  484. g_sched_utoken_timeout - Timeout for sched utokens in minutes
  485. g_send_backoff - Seconds to leave slow responding host alone (default 900)
  486. g_send_body_end_retry - Try again if connection fails after entire body sent
  487. g_send_body_noretry - If a send fails during the body send give up at once.
  488. g_send_body_once - Don't try 3 times if failure occurs sending body
  489. g_send_conspeed - Outgoing connections per second per destination, default is 4
  490. g_send_delay - Wait this many seconds after sending each item.
  491. g_send_first_retry - Minutes for first retry, default is 16 minutes, do not adjust!
  492. g_send_helo - Fully qualified domain to use for all outgoing SMTP helo commands and MessageIDs
  493. g_send_helo_from - Use matching domain name if we have one if user is authenticated/trusted
  494. g_send_helo_in - Lookup dns name of incoming ip connection on local interface
  495. g_send_lines - Send messages in single line packets, slow!
  496. g_send_lowpriority - Ip address of bulk sending servers
  497. g_send_max - How many concurrent sending sessions in total
  498. g_send_max_perchan - Msgs to send on one open channel
  499. g_send_max_perdom - How many concurrent sessions allowed to another domain, default is 2
  500. g_send_max_rcpt - How many rcpt's to send per message when sending
  501. g_send_no_domain - Message to show when domain points to us but can't find user or domain
  502. g_send_nolimit - Don't apply g_max_perdom limit when sending to this domain
  503. g_send_nopoll - Use sleep loop instead of poll (debugging only)
  504. g_send_noskipslow - Don't remember hosts that are slow to open and avoid them
  505. g_send_onpopfetch - Only send outgoing while doing a popfetch (For dialup use)
  506. g_send_open_timeout - Timeout, in seconds when opening a link
  507. g_send_retry_552 - Retry on 552 responses (typically quota exceeded)
  508. g_send_rewrite - Rewrite envelope recipient at send stage, does not change destination server
  509. g_send_speed - Bytes per second to limit each outgoing channel to, default no limit, eg 10k
  510. g_send_timeout - Timeout, in seconds when sending, default is 540 (9 minutes)
  511. g_send_tolimit - Limit speed to send to one or more domains.
  512. g_server_name - SERVER_NAME to set for list of wildcard urls
  513. g_server_stamp - Replaces SurgeMail and version string in received headers
  514. g_setpassword_firstlogin - Accept any password on first POP login and set in database (EMERGENCY USE ONLY, requires nwauth -reasonfail parameter)
  515. g_share_home - Allow sharing of home directory
  516. g_share_mail - Set true if mail area is shared (by nfs or other mechanism)
  517. g_share_quota - Do quota on disk (e.g. when using nfs shared spool)
  518. g_shutdown_slow - Add 20 second delay to shutdown for debugging
  519. g_slow_welcome - Add 30 second delay to welcome message for debugging
  520. g_smite_all - Add spamdetect and smitematch headers to all messages going past
  521. g_smite_gateway - Add spamdetect and smitematch headers to gatewayed/redirected messages
  522. g_smite_level - If smitematch score is above this drop message (just throw it away) e.g. 1
  523. g_smite_skip - Whitelist/Skip spam scanner (and spf) if from matches this wild card (Whitelist)
  524. g_smite_skip_auth - Skip spam scanner if user logged in
  525. g_smite_skip_ip - Skip spam scanner if senders ip matches
  526. g_smite_skip_relay - Skip spam scanner if ip can relay
  527. g_smite_skip_to - Skip spam scanner if to matches this wild card
  528. g_smite_tag - Tag message with smitematch header if message is in spam database when read
  529. g_sms_forward - Specifies IP's which are allowed to forward to SMS gateways
  530. g_sms_gateway - Address and port of your sms gateway
  531. g_sms_gateway_force - Force sms notifications to go to g_sms_gateway
  532. g_sms_gateway_msgbytes - Maximum amount of message to send to g_sms_gatway (bytes)
  533. g_smtp_big - Slow down incoming SMTP reads to get bigger packets (experimental)
  534. g_smtp_bounce_nslow - Number of handles to use for doing slow rejections of smtp connections
  535. g_smtp_cmd_timeout - Seconds to wait after getting a message for next command (sendmail bug)
  536. g_smtp_cram_enable - Enable CRAM-MD5 authentication (requires nwauth 4.0h or greater)
  537. g_smtp_data_timeout - Seconds for timeout for data input, default 540 (9 minutes)
  538. g_smtp_delay_stamp - Stamp header if sender sends data before seeing welcome response (usually spam)
  539. g_smtp_etrn_auth - Only do etrn processing if user is authenticated
  540. g_smtp_fast_bounce - Reject bad connections immediately
  541. g_smtp_fix_nohead - Accept messages with no headers and try and cope
  542. g_smtp_help_disable - Disable help in SMTP (minor security issue)
  543. g_smtp_log_protocol - If true log SMTP protocol to log file
  544. g_smtp_log_size - Size of smtp.log file
  545. g_smtp_max - Max concurrent incoming SMTP connections
  546. g_smtp_max_nolimit - Ip addresses that don't have max smtp limit applied
  547. g_smtp_max_reason - Reason to give to user if g_smtp_max is exceeded
  548. g_smtp_maxbad - Max bad command per session before dropping smtp link, default no limit
  549. g_smtp_no_brackets - Allow from/rcpt without angle brackets
  550. g_smtp_noauth - Accept incoming SMTP from these IPs (other IPs allowed if authenticated), default is *
  551. g_smtp_noauth_msg - Message given when sender is told to use authentication because of g_smtp_noauth
  552. g_smtp_port - SMTP port to listen on, default is 25
  553. g_smtp_portauth - SMTP ports which require smtp authentication, typically 587
  554. g_smtp_secure_port - SMTP SSL secure port to listen on, default is 465
  555. g_smtp_thread - Use seperate thread for incoming SMTP connections
  556. g_smtp_vrfy_msg - Change Response to VRFY, e.g. 252 Not telling
  557. g_smtp_welcome_delay - Seconds to delay welcome message, drop if we get data before we send welcome, recommend 1-3 seconds
  558. g_spam_allow - IP Wild card exceptions to spam limits
  559. g_spam_allow_disable - Disable allow bounce messages
  560. g_spam_allow_known - Unblock IP address if we have received messages from it for 3 days (so it's not a transient spammer)
  561. g_spam_allow_msg - Template for unblock messages, use ||reason|| and ||allow|| and maybe a url
  562. g_spam_allow_rbl - Give unblock message to RBL bounces too
  563. g_spam_allow_recent - Skip spam rules if recent pop ip number
  564. g_spam_aspam - Scale for aspam, default is 1.0, Valid range is zero to two
  565. g_spam_autotrain - Auto train spam filter good messages based on first 1000 outgoing emails
  566. g_spam_block - Block spam (as decided by spf etc), if not set then user or domain can set
  567. g_spam_block_gateway - Block spam gatewayed messages too
  568. g_spam_block_msg - Template for spf blocked message if allow is disabled
  569. g_spam_body - If spamdetect score is above this, add spamdetect header at top of message body NOT RECOMMENDED e.g. 7
  570. g_spam_body_more - Add more info to spam body (ip address, ptr address, reply to and bounce address)
  571. g_spam_body_url - Text part of info to add to body, usually a url to your site
  572. g_spam_bounce - If spamdetect score (number of '*'s) is above this, bounce message if local delivery. NEVER USE THIS
  573. g_spam_bounce_all - If spamdetect score is above this, bounce message, applies to all messages regardless of user settings. e.g. 7 NEVER USE THIS
  574. g_spam_bounce_text - Error to return to user when message is bounced due to g_spam_bounce setting
  575. g_spam_bounce_trusted - If spamdetect score is above this, bounce message if trusted (spam_allow or authenticated)
  576. g_spam_catcher - Addresses on web pages that shouldn't get any email (robot bait)
  577. g_spam_char - Character to use instead of '*' for smitespam headers (best left alone if possible)
  578. g_spam_check_auth - Don't skip spam rules for authenticated users
  579. g_spam_cmd - Command line spam checker, use $FILE$ in cmd parameters
  580. g_spam_content_disable - Disable aspam_content.txt rules
  581. g_spam_flag - Add X-SPAM-FLAG: Yes header if smite score is above this level
  582. g_spam_folders - Train on any message dropped into the relevant folders
  583. g_spam_folders_show - List the special folders for all users
  584. g_spam_from_blacklist - Fetch list of bad domains to reject email from - not recommended
  585. g_spam_grey - OBSOLETE DO NOT USE, Enable old greylisting for spf mechanism
  586. g_spam_grey_bounce - Bounce if message was allowed due to grey listing, and spam score is above this, default 8 (was 4)
  587. g_spam_grey_classc - Apply grey listing to x.x.x.*
  588. g_spam_grey_dflt - Enable greylisting for spf default accept events (not recommended)
  589. g_spam_grey_dflt_bad - Enable greylisting instead of allow in some cases (recommended for block or strict)
  590. g_spam_grey_nofive - Skip 5-6 minute black window for these domains
  591. g_spam_grey_nohard - Avoid hard spf bounces always try and do a grey list instead
  592. g_spam_grey_nseen - Number of messages from an unknown host, default is 6
  593. g_spam_grey_size - Size of grey listing table, default is 3000
  594. g_spam_grey_verify - Skip grey listing if host was not listening
  595. g_spam_grey_window - Window to block bad messages, typically 60 seconds
  596. g_spam_header_trust_ip - List of IP addresses from which to trust/accept existing X-SpamDetect headers in emails
  597. g_spam_hold_keep - Number of days to store users spam hold messages before deleting them
  598. g_spam_info - Info line and url to explain aspam system
  599. g_spam_info_hide - Removes the x-spamdetect-info header line
  600. g_spam_internal - Enable new 'internal' spam processing
  601. g_spam_isspam_kind - Allow isspam from recent pop, gateway to etc
  602. g_spam_notrain - Disable isspam and notspam addresses for user training
  603. g_spam_notspam - Address that non authenticated users can send non spam to.
  604. g_spam_noupdate - Disable fetch of aspam filter rules etc from netwinsite
  605. g_spam_poly - Scale for poly word matching, default is 0.1, Valid range is zero to two, Use 1.0 to enable, EXPERIMENTAL
  606. g_spam_poly_disable - Disable poly code.
  607. g_spam_private - Enable users to define 'private' extensions to their email address to avoid spam (EXPERIMENTAL)
  608. g_spam_share - Use and share some spam/aspam information with central server (netwin) experimental
  609. g_spam_subject - If score is above this, add spam rating to subject (Spam: ****) e.g. 5
  610. g_spam_subject_dom - Destination domains to tag subject for
  611. g_spam_subject_gateway - If true then spam_subject setting applies to gatewayed messages too
  612. g_spam_subject_word - The word that gets added to subject, default is 'Spam', UCE is another good one
  613. g_spam_url - Scale for url word matching, default is 1.0, Valid range is zero to two
  614. g_spam_user_max - Max messages an authenticated user can send per 30 minutes, e.g. 5000
  615. g_spam_user_skip - Users to skip g_spam_user_max limit for
  616. g_spam_userconfig - Allow users to specify specific spam features
  617. g_spam_vanish - If spamdetect score (number of '*'s) is above this, vanish message if local delivery. NEVER USE THIS
  618. g_spam_vanish_all - If spamdetect score is above this, vanish message, applies to all messages regardless of user settings. NEVER USE THIS
  619. g_spamdetect_always - Always show spamdetect header even for low and negative scores
  620. g_spawn_log - If true the spawns are logged to lib_spawn.log
  621. g_spf_baddns_skip - If spf dns failure then allow message through (instead of giving retry error)
  622. g_spf_byweb - Perform allow bounce confirmation via the web.
  623. g_spf_debug_log - Enable spf.log file
  624. g_spf_default - (strict only) Default spf record if none found default 'mx/16 a ptr:%{d2} -all'
  625. g_spf_default_noblock - (strict only) Only stamp headers if default spf record fails when no real spf header
  626. g_spf_dns_timeout - Seconds to wait for dns lookups for spf, best not to change
  627. g_spf_domain - Domain for SPF rewrite and allow messages (defaults to first domain on server)
  628. g_spf_enforce_local - If spf fails and it's a local domain then skip grey listing and give allow message
  629. g_spf_header - Use g_verify_mx_skip and apply to resulting ip
  630. g_spf_mode - Do SPF check and then perform action, stamp | block | strict, action is conditional on [g_]spam_block settings
  631. g_spf_noallow - Give hard bounce (no allow message) for spf failures for these domains & ignore friends
  632. g_spf_nocache - Disable SPF cache
  633. g_spf_nogrey - Skip SPF grey listing for these domains (require allow response)
  634. g_spf_norewrite - Exceptions to rewrite rule, e.g. *@my.domain,bob@this.domain
  635. g_spf_rev_skip - Skip SPF checks if reverse ip name matches in this list, e.g. *.yahoo.com
  636. g_spf_rewrite - Rewrite 'from' envelope in redirected mail (SRS)
  637. g_spf_rewrite_relay - Rewrite even if from ip is a host to relay for
  638. g_spf_share - List of hosts to share allow ips with. Must all have same srs.secret file
  639. g_spf_skip - Skip spf checks for these ip addresses, e.g. other mx hosts
  640. g_spf_skip_from - Skip based on from, e.g. noreply@*paypal.com,..., Also skips RBL
  641. g_spf_skip_to - Skip based on rcpt to, also skips RBL rules,...
  642. g_spf_very_strict - (strict only) Only give 'allow' option for default spf rule failures not real ones
  643. g_spf_web_url - Specify full url for spf byweb commands http://domain.name:port
  644. g_spflog_domains - Specify which domains should get spflog entries sent to them.
  645. g_spflog_enable - Enable this if this server is a frontend for a SurgeMail server users log into.
  646. g_spool_path - Scan this directory for *.msg files to send as emails
  647. g_ssl_allow - IP Wild card list to allow SSL encryption from
  648. g_ssl_allow_imap - IP Wild card list to allow SSL encryption from for imap
  649. g_ssl_ciphers - List permitted ciphers
  650. g_ssl_disable_sslv2 - Disable ssl 2.0 support for enhanced security, not recommended
  651. g_ssl_per_domain - Create/use an SSL certificate for each domain
  652. g_ssl_require - IP Wild card list to require SSL encryption from
  653. g_ssl_require_imap - IP Wild card list to require SSL encryption from for IMAP
  654. g_ssl_require_login - IP Wild card list to require SSL encryption for POP/IMAP
  655. g_ssl_require_out - Other machines we only send to using SSL
  656. g_ssl_try_out - Try and start ssl mode to these hosts, may cause failures!
  657. g_stack - For testing only, NEVER SET THIS
  658. g_startup_delay - Seconds to wait before starting surgemail
  659. g_store_dropped - Store upto 5000 bad bounces in the dropped directory
  660. g_surbl - SURBL Spam URI Realtime Blocklists
  661. g_surbl_skip - URL's to allow even if listed in surbl
  662. g_surbl_skip_ip - Skip SURBL check if sender is from listed ip
  663. g_surgeblog - Specialize SurgeMail as a Blog server
  664. g_surgeplus_delay_tell_upgrade - Delay informing existing users about new SurgePlus versions for
  665. g_surgeplus_delay_tell_upgrade_exempt - Users exempt from delayed new version informing
  666. g_surgeplus_hide_client_downloads - Hide the links to download and install SurgePlus Windows client
  667. g_surgeplus_links - Add web links to SurgePlus from other web interfaces (and vice versa) for users allowed to use SurgePlus.
  668. g_surgeplus_log_level - SurgePlus log level. 'none', 'info', or 'debug'. Default is 'info'
  669. g_surgeplus_pop_server_name - Default pop server to set SurgePlus client download to connect to.
  670. g_surgeplus_port - SurgePlus port to listen on, default is 7110
  671. g_surgeplus_secure_port - SurgePlus SSL secure port, default is 7995
  672. g_surgeplus_smtp_server_name - Default smtp server to set SurgePlus client download to connect to.
  673. g_surgeplus_web_port - SurgePlus web port to listen. Default is to use HTTP webmail port
  674. g_surgeplus_web_url - Direct SurgePlus users to access shared files at this url
  675. g_surgewall_split - Split up surgewall messages, one per recipient
  676. g_surgeweb_backend - Backend machine to connect to
  677. g_surgeweb_work - Path to Surgeweb cache/work files
  678. g_tarpit_badrcpt - Delay rejection of bad recipients (in seconds, default 4s)
  679. g_tarpit_blackhole - Reject the email one recipient at a time
  680. g_tarpit_drop - Drop link and ban for 1 hour if tarpit limits exceeded
  681. g_tarpit_max - Number of local recipients before slowing down per 30 minutes
  682. g_tarpit_max_remote - Number of remote recipients before slowing down
  683. g_tarpit_retry - Send retry error, 450 if tarpit limits exceeded
  684. g_tcp_read_timeout - Timeout in 'seconds' on pop connections, do not adjust. (default 600)
  685. g_tellmail_ip - Addresses to allow tellmail commands from (should never be *)
  686. g_thread_max - Max threads allowed on this system (best not changed)
  687. g_thread_reuse - Reuse threads - fixes unix bug - not implemented
  688. g_thread_reuse_real - Reuse threads - fixes unix bug - do not use
  689. g_timezone - Places in timezone part of date string, e.g. +1200 NZT. Please leave blank!
  690. g_tohost_local - Authentication database tohost name entry to deliver locally (see g_proxy and g_route_by_tohost)
  691. g_toscan_path - Path used for mime parts for virus scanner
  692. g_unique_name - A unique name for this server
  693. g_url_alias - Allows translation from one url to another
  694. g_url_enable - Enable widearea URL spam database
  695. g_url_host_noscan - Disable the scan for url_host settings matching the domain in an incoming web request
  696. g_url_master - Set if this is the central URL server (for netwin use only)
  697. g_url_master_to - Central URL server email address (leave blank)
  698. g_user_access - User.cgi features granted to access groups
  699. g_user_access_default - Default user.cgi features granted to users
  700. g_user_access_from - When sending use from for useraccess rules
  701. g_user_alias - Number of aliases accounts can create
  702. g_user_alias_file - User aliases configuration file
  703. g_user_block_time - Block chrisp from pop access for this time period
  704. g_user_blogs - Number of blogs accounts can create
  705. g_user_cookies - Enable browser cookies for user self management
  706. g_user_delete - Let users delete themselves
  707. g_user_domainlist - Who to show domain dropdown list to on user.cgi login page and 'user' pages
  708. g_user_filter_early - Process user exceptions/filters before tagging message as spam
  709. g_user_friends_domain_log_disable - Disable domain level friend.log file
  710. g_user_friends_log_disable - Disable user level friend.log file
  711. g_user_list_quota - Number of mailing lists users can create
  712. g_user_mail_view - Whether an admin can view users email
  713. g_user_mfilter - Mfilter to run for individual user delivery, some features not supported
  714. g_user_pipe - Pipe run on file just before delivery to user, $USER$ available on command line
  715. g_user_receive_rule - Define valid source addresses for users in a group
  716. g_user_send_ip - Block any ip address from sending too many emails
  717. g_user_send_max - Maximum number of emails per day (requires SMTP AUTH)
  718. g_user_send_rule - Define valid recipient addresses for users in a group (requires SMTP AUTH)
  719. g_user_send_warning - Warn manager if any user sends more than this many messages per day, e.g. 5000
  720. g_user_send_white - No limit for these ip addresses
  721. g_user_sms_quota - Number of sms messages accounts can send
  722. g_user_status_send - Number of days after which to send user status messages (0 = never)
  723. g_user_utoken_days - Number of days a user self management login token is valid for
  724. g_user_utoken_expire - Length of time a user self management login token is valid for
  725. g_user_utoken_idle - Length of time a user self management login token may remain idle for
  726. g_user_virus_scan - Allow virus scans for specific users instead of all users
  727. g_vanish_any_bounce - Vanish all bounces that are not bounces to messages from this machine (requires g_received_name)
  728. g_vanish_bad_bounces - Vanish suspected spam bounces (requires g_received_name)
  729. g_vanish_virus_bounces - Vanish suspected virus bounces (requires g_received_name)
  730. g_verify_helo - Verify helo name translates to same network as sending system
  731. g_verify_image_hard - Use extra difficult human verification image (used in blogs)
  732. g_verify_mx - Verify MX records contain senders IP address (see g_verify_mx_skip)
  733. g_verify_mx_skip - Use to define incoming mail gateway ips so the mx verify doesn't fail on them
  734. g_verify_smtp - Verify we can talk back to the SMTP port on incoming ip address
  735. g_verify_timeout - Seconds to wait for SMTP response, default is 10 seconds
  736. g_virus_allow_unmonitorable - Allow unmonitorable content (avast antivirus)
  737. g_virus_avast - Enable AVAST virus scanner integration
  738. g_virus_avast_hour - Hour of day to update avast definitions, e.g. 9 = 9a.m.
  739. g_virus_cmd - Virus checker for mime parts, use $FILE$ in cmd
  740. g_virus_cmd_codes - List of return codes to bounce message, e.g. 1,2,3,4,5
  741. g_virus_cmd_drop - Drop silently instead of reject at data stage - not recommended
  742. g_virus_cmd_max - Max concurrent threads that should run this command, if exceeded messages are not checked
  743. g_virus_cmd_nodel - Disables cleanup of scanned files, so you can test manually
  744. g_virus_cmd_size - Max size of messages to scan
  745. g_virus_cmd_sleep - Milli seconds to wait after g_virus_cmd incase delete is not immediate, e.g 500 = half a second
  746. g_virus_disable_local - Disable scanning for local trusted users
  747. g_virus_disable_remote - Disable virus scans for non-local addresses
  748. g_virus_filter - Virus checker which works like an authent module (talk to on stdin/stdout)
  749. g_virus_filter_require - If any g_virus_filter pipe fails bounce messages rather than allow to continue
  750. g_virus_fprot - Port for FProt mail scanner (usually 11200)
  751. g_virus_recent_skip - Skip virus recent cache which attempts to speed up virus scanners
  752. g_virus_rename - Rename executables by changing '.' to '_' prevents many auto run viruses
  753. g_virus_report - Report detected viruses to someone
  754. g_virus_restart - Restart vpipe virus scanners every this many items
  755. g_vpipe_concurrent - Concurrent requests to vpipe process, default is 7, set to 1 to debug vpipe issues
  756. g_vpipe_fail_crash - If virus scanner fails, crash surgemail (for debugging)
  757. g_vpipe_notag - Disable headers showing vpipe results in messages
  758. g_vpipe_skip - Skip scanner for this IP address (e.g. trusted mailing lists)
  759. g_vpipe_timeout - Timeout if scanner takes this long to respond default 60 seconds
  760. g_web_access_grp - Restrict user groups to specific ports
  761. g_web_access_ip - Restrict access to web ports based on ip
  762. g_web_access_max - Maximum number of concurrent web logins for group
  763. g_web_admin_max - Maximum number of concurrent web admin sessions
  764. g_web_charset - Charset for html pages
  765. g_web_force_doctype_first_disable - Disable webserver behaviour to force doctype definitions to be displayed first.
  766. g_web_hide_source_names - Hide the name of the source template page in output web pages.
  767. g_web_max - Max concurrent web connections, default is 100
  768. g_web_max_perip - Max concurrent web connections per-ip, default is 30
  769. g_web_noserver - Disable Server header in http responses
  770. g_web_ref_path_extension - Path extension to add to web page image/css references.
  771. g_web_timeout - Timeout for web requests
  772. g_web_title - Title to use on specified web page
  773. g_web_url_path - Url to path translation with access specifier
  774. g_webdav_testing - Testing please do not use this setting
  775. g_webmail_limit - Maximum number of concurrent webmail requests
  776. g_webmail_popmode - Use POP3 instead of IMAP in WebMail.
  777. g_webmail_port - HTTP Webmail port to listen on, default is 7080
  778. g_webmail_secret - Secret string used by webmail when sending the ip address of connecting users
  779. g_webmail_secure_port - HTTPS secure WebMail port, default is https 7443
  780. g_webmail_select_domain - Send select_domain instead of host in webmail autologins
  781. g_webmail_timeout - Timeout for webmail or any cgi process (in seconds, default 360)
  782. g_webmail_url - Url to the WebMail cgi
  783. g_webmail_urladd - Url data to append to WebMail auto-login link
  784. g_webmail_useip - Use the ip address in g_webmail_port setting
  785. g_webmail_workarea - Path to WebMail workarea
  786. g_work - Workarea for temp files
  787. g_xauthuser_hide - Hide X-Authenticated-User header in processed mail
  788. g_xfile_allow - Allow xfile & web upload features for users. Set to '*'
  789. g_xrcpt_hide - Hide X-Rcpt-To header in locally delivered mail (not recommended)
  790. g_xrcptoriginal_hide - Hide X-Rcpt-Original header in locally delivered mail
  791. g_xserver_hide - Hide X-Server header in processed mail
WebMail settings
  1. see separate manual - further documentation to be completed