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