Products Downloads Prices Support Company

SurgeMail Configuration Setings Overview

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