<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Start of global.htm --><!-- delayed after doctype-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="../../css2/netwin.css">
	<script type="text/javascript" src="template/js2/netwin.js"></script>
<!--
	<script type="text/javascript" src="template/js2/dbg.js"></script>
-->

<!--
	<link rel="stylesheet" type="text/css" href="template/css2/netwin.css">

	<link rel="stylesheet" type="text/css" href="template/css2/test.css">
	<link rel="stylesheet" type="text/css" href="template/css2/sw.css">
	<link id ="cnr_css" rel="stylesheet" type="text/css" href="template/css2/cnr4.css">
-->

<!--[if lt IE 7]>
	<link rel="stylesheet" href="template/css2/ie6.css" type="text/css" />
<![endif]-->


<!-- Back to global.htm -->

<!-- #BeginEditable "Headerstuff"-->
<title>Global Settings</title>
<META NAME="keywords" CONTENT="">
<META NAME="description" CONTENT="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


<!-- #EndEditable -->
</head>
<body class="s_body">


<div id="width_limit_div" class="width_limit" style="padding-bottom:0;">

<!-- HEADER CONTENT -->
<div class="header">
  <div class="search_box"><table valign="center" cellSpacing="0" cellPadding="0" border="0">
	<form id="form1" name="form1" method="GET" action="http://www.google.com/custom">

	  <input type=hidden name=domains id=search_domains value="netwinsite.com">
	  <input type=hidden name=sitesearch id=search_sitesearch value="netwinsite.com">
	  <input type=hidden name=cof VALUE="LW:135;L:http://www.netwinsite.com/img2/logo_med_onwhite.png;LH:44;AH:center;S:http://www.netwinsite.com;AWFID:773914251fd85055;">

	  <tr valign="center">
		<td valign="center" style="padding-right:5px;"><span id="search_description" style="font-family:Verdana,Arial,Helvetica; font-size:9pt; ">Search website:</span>
		</td>
		<td valign="center">
			<input size="15" maxLength="80" name="q" style="font-family: Tahoma, Arial; font-size: 8pt">
		</td>
		<td valign="center">
			<input TYPE="image" src="template/img2/search.gif" alt="Search Netwinsite.com!" Name="I1" style="width:17px;height:17px;margin-left:5px;border:0;">
		</td>
	  </tr>
	</form>
  </table></div>

  <div class="page_logo"><table valign="center" border="0" cellpadding="0" cellspacing="10" >
	  <tr>
		<td style="padding-left:20px;">
		  <a href=""><img border="0" src="template/img2/logo_med_onwhite.png" height="44px" vspace="5" id="main_logo"> </a>
		</td>
		<td>
		  <div style="padding-top:14px;">
			<span class="s_header_text">Advanced Server Software<span>
		  </div>
		</td>
	  </tr>
  </table></div>
</div>

<!-- MENU CONTENT -->
<div class="bar_padding" onmousemove="stopEvent(event);return false;">
	<div class="bar" style="text-align:center">
		<table id="page_menu" class="t menu" onmousemove="menu_handler(event);" style="margin:auto"><tr>
	<td valign=top><table class="top_item" mid="menu_home"><tr><td class="btn_l"><td class="btn_c"><a href="http://netwinsite.com/index.htm" class="pad">Home</a><td class="btn_r"></table>
	<td valign=top><table class="top_item" mid="menu_products"><tr><td class="btn_l"><td class="btn_c"><a href="http://netwinsite.com/products.htm" class="pad">Products</a><td class="btn_r"></table>
	<td valign=top><table class="top_item" mid="menu_download"><tr><td class="btn_l"><td class="btn_c"><a href="http://netwinsite.com/download.htm" class="pad">Download</a><td class="btn_r"></table>
	<td valign=top><table class="top_item" mid="menu_buy"><tr><td class="btn_l"><td class="btn_c"><a href="http://netwinsite.com/prices.htm" class="pad">Buy&nbsp;Now</a><td class="btn_r"></table>
	<td valign=top><table class="top_item" mid="menu_support"><tr><td class="btn_l"><td class="btn_c"><a href="http://netwinsite.com/support.htm" onmouseup="x()" class="pad">Support</a><td class="btn_r"></table>
	<td valign=top><table class="top_item" mid="menu_company"><tr><td class="btn_l"><td class="btn_c"><a href="http://netwinsite.com/company.htm" onmouseup="x()" class="pad">Company</a><td class="btn_r"></table>
		</table>
	</div>

	<div id="menu_home" class="xmenu hidden" onmouseup="menu_hide_ex(event,'menu_home')" onmouseout="menu_action_mouseout(event,'menu_home')" onmouseover="menu_action_mouseover(event,'menu_home')" style="width:220px; display:none;">
	</div>

	<div id="menu_products" class="xmenu hidden" onmouseup="menu_hide_ex(event,'menu_products')" onmouseout="menu_action_mouseout(event,'menu_products')" onmouseover="menu_action_mouseover(event,'menu_products')" style="width:220px;">
		<a href="http://netwinsite.com/surgemail/" class="menu_row pad2"><div class="menu_icon_surgemail"></div>
			SurgeMail<span class="menu_extra"></span><br><span class="menu_info">Fully featured email server </span></a>
		<a href="http://netwinsite.com/surgeftp/" onmouseup="x()" class="menu_row pad2 divider"><div class="menu_icon_surgeftp"></div>
			SurgeFTP<span class="menu_extra"></span><br><span class="menu_info">High performance FTP server </span></a>
		<a href="http://netwinsite.com/dbabble/index.html" onmouseup="x()" class="menu_row pad2"><div class="menu_icon_dbabble"></div>
			DBabble <span class="menu_extra"></span><br><span class="menu_info">Instant messenging server </span></a>
		<a href="http://netwinsite.com/surgeweb/" onmouseup="x()" class="menu_row pad2 divider"><div class="menu_icon_surgeweb"></div>
			SurgeWeb<br><span class="menu_info">Modern Ajax web email client</span></a>
		<a href="http://netwinsite.com/products.htm" onmouseup="x()" class="menu_row divider">
			All products...</a>
	</div>

	<div id="menu_download" class="xmenu hidden" onmouseup="menu_hide_ex(event,'menu_download')" onmouseout="menu_action_mouseout(event,'menu_download')" onmouseover="menu_action_mouseover(event,'menu_download')" style="width:220px">
		<a href="/cgi-bin/keycgi.exe?cmd=download&product=surgemail&" onmouseup="x()" class="menu_row"><div class="menu_icon_surgemail"></div>
			Surgemail<span class="menu_extra"></span></a>
		<a href="/cgi-bin/keycgi.exe?cmd=download&product=surgeftp&" onmouseup="x()" class="menu_row"><div class="menu_icon_surgeftp"></div>
			SurgeFTP<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/dbabble/download.htm" onmouseup="x()" class="menu_row"><div class="menu_icon_dbabble"></div>
			DBabble <span class="menu_extra"></span></a>
		<a href="/cgi-bin/keycgi.exe?cmd=download&product=surgemail&" onmouseup="x()" class="menu_row divider"><div class="menu_icon_surgeweb"></div>
			SurgeWeb</a>
		<a href="http://netwinsite.com/surgemail/help/install.htm" onmouseup="x()" class="menu_row">
			Installing Surgemail</a>
		<a href="http://netwinsite.com/download.htm" onmouseup="x()" class="menu_row">
			Download any product...</a>
	</div>

	<div id="menu_buy" class="xmenu hidden" onmouseup="menu_hide_ex(event,'menu_buy')" onmouseout="menu_action_mouseout(event,'menu_buy')" onmouseover="menu_action_mouseover(event,'menu_buy')" style="width:220px">
		<a href="http://netwinsite.com/prices.htm" onmouseup="x()" class="menu_row divider">
			Pricing</a>
		<a href="http://netwinsite.com/https://netwinsite.com/cgi-bin/keycgi.exe?cmd=buy_new&product=surgemail" onmouseup="x()" class="menu_row"><div class="menu_icon_surgemail"></div>
			Surgemail<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/https://netwinsite.com/cgi-bin/keycgi.exe?cmd=buy_new&product=surgeftp" onmouseup="x()" class="menu_row"><div class="menu_icon_surgeftp"></div>
			SurgeFTP<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/https://netwinsite.com/cgi-bin/keycgi.exe?cmd=buy_new&product=dbabble" onmouseup="x()" class="menu_row"><div class="menu_icon_dbabble"></div>
			DBabble <span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/https://netwinsite.com/cgi-bin/keycgi.exe?cmd=buy_new&product=surgemail" onmouseup="x()" class="menu_row divider"><div class="menu_icon_surgeweb"></div>
			SurgeWeb</a>
		<a href="http://netwinsite.com/activate.htm" onmouseup="x()" class="menu_row">
			Activation guide</a>
		<a href="http://netwinsite.com/prices.htm" onmouseup="x()" class="menu_row">
			Purchase any product...</a>
	</div>

	<div id="menu_support" class="xmenu hidden" onmouseup="menu_hide_ex(event,'menu_support')" onmouseout="menu_action_mouseout(event,'menu_support')" onmouseover="menu_action_mouseover(event,'menu_support')" style="width:220px">
		<a href="http://netwinsite.com/documentation.htm" onmouseup="x()" class="menu_row divider">
			Online documentation<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/surgemail/post.htm" onmouseup="x()" class="menu_row">
			Contact support<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/support.htm#email_list" onmouseup="x()" class="menu_row">
			Standard email support<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/http://news.netwinsite.com:8119/webnews?group=netwin.surgemail&cmd=list" onmouseup="x()"  class="menu_row divider">
			Community forum <span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/support.htm" onmouseup="x()" class="menu_row">
			Support overview...</a>
	</div>

	<div id="menu_company" class="xmenu hidden" onmouseup="menu_hide_ex(event,'menu_company')" onmouseout="menu_action_mouseout(event,'menu_company')" onmouseover="menu_action_mouseover(event,'menu_company')" style="width:220px">
		<a href="http://netwinsite.com/company.htm" onmouseup="x()" class="menu_row">
			About us<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/surgemail/customers.htm" onmouseup="x()" class="menu_row">
			Customers<span class="menu_extra"></span></a>
		<a href="http://netwinsite.com/support.htm#sales_questions" onmouseup="x()" class="menu_row divider">
			Contact us</a>
	</div>
	<div style="background:url(template/img2/white_small.png);height:8px;font-size:1px;"></div>
</div>
<!-- Back to global.htm -->

<div class="content_outer">


<!-- Back to global.htm -->
<div class="L2C2_column_left">
<!-- Back to global.htm -->
<div style="width:160px;">
  <div id="floating_index" class="floating_index nav-menu _document_index" style="width:160px;">
	<h2 class="menu_top">Help Index</h2>
	<ul class="level-0">

		<li class="group_hidden"><a href="#" onclick="index_toggle(event)">Getting Started</a><ul class="level-1">
			<li id="idx_surgemail.htm"><a href="surgemail.htm" target="_top">SurgeMail in a nutshell</a><ul class="level-2"></ul></li>
			<li id="idx_startingoff.htm"><a href="startingoff.htm" target="_top">Before you install</a><ul></ul></li>
			<li id="idx_install.htm"><a href="install.htm" target="_top">Installation &amp; Upgrading</a><ul></ul></li>
			<li id="idx_migration.htm"><a href="migration.htm" target="_top">Migration to SurgeMail</a><ul></ul></li>
			<li id="idx_updates.htm"><a href="updates.htm" target="_top">Change history</a><ul></ul></li>
			<li id="idx_postinstall.htm"><a href="postinstall.htm" target="_top">Post Installation</a><ul></ul></li>
			<li id="idx_faq.htm"><a href="faq.htm" target="_top">FAQ</a><ul></ul></li>
			<li id="idx_support.htm"><a href="support.htm" target="_top">Customer Support</a><ul></ul></li>
		</ul></li>

		<li class="group_hidden"><a href="#" onclick="index_toggle(event)">Anti Spam / Virus</a><ul class="level-1">
			<li id="idx_protected.htm"><a href="protected.htm#virusscanner">Virus Protection</a></li>
			<li id="idx_spam.htm"><a href="spam.htm">Spam Prevention</a></li>
			<li id="idx_protected.htm"><a href="protected.htm#mfilter">Mail Filtering</a> </li>
			<li id="idx_protected.htm"><a href="protected.htm#friends">Friendly Relations System</a></li>
			<li id="idx_rbl.htm"><a href="rbl.htm">Realtime Blackhole Lists</a></li>
		</ul></li>

		<li class="group_hidden"><a href="#" onclick="index_toggle(event)">Server Management </a><ul class="level-1">
			<li id="idx_status.htm"><a href="status.htm">Server Status</a></li>
			<li id="idx_log.htm"><a href="log.htm">Searching the log files</a></li>
			<li id="idx_report.htm"><a href="report.htm">Report generation</a></li>
			<li id="idx_accounts.htm"><a href="accounts.htm">Managing accounts</a></li>
			<li id="idx_tellmail.htm"><a href="tellmail.htm">Using the tellmail utility.</a></li>
		</ul></li>
		
		<li class="group_hidden"><a href="#" onclick="index_toggle(event)">SurgeMail Settings</a><ul class="level-1">
			<li id="idx_domain.htm"><a href="domain.htm">Domain specific settings</a></li>
			<li id="idx_global.htm"><a href="global.htm">Global settings</a></li>
			<li id="idx_webmail.htm"><a href="webmail.htm">WebMail settings</a></li>
		</ul></li>

		<li class="group_hidden"><a href="#" onclick="index_toggle(event)">Configuration Guides</a><ul class="level-1">
			<li id="idx_authent.htm"><a href="authent.htm">Authentication  Modules</a></li>
			<li id="idx_domains.htm"><a href="domains.htm">Virtual  Domains</a></li>
			<li id="idx_clustering.htm"><a href="clustering.htm">Clustering</a></li>
			<li id="idx_mirror.htm"><a href="mirror.htm">Mirror the server</a></li>
			<li id="idx_scalable.htm"><a href="scalable.htm">Performance &amp; Scalability</a></li>
			<li id="idx_lookandfeel.htm"><a href="lookandfeel.htm">Custom look and feel</a></li>
			<li id="idx_internal_email.htm"><a href="internal_email.htm">Custom internal emails </a></li>
			<li id="idx_language.htm"><a href="language.htm">Language translation</a></li>
			<li id="idx_redirection.htm"><a href="redirection.htm">Mail Redirection</a></li>
			<li id="idx_surgewall.htm"><a href="surgewall.htm">SurgeWall</a></li>
			<li id="idx_sms.htm"><a href="sms.htm">SMS</a></li>
			<li id="idx_lists.htm"><a href="lists.htm">Mailing lists and bulletins</a></li>
			<li id="idx_secure.htm"><a href="secure.htm">Securing the server</a></li>
			<li id="idx_webdav.htm"><a href="webdav.htm">WebDav</a></li>
			<li id="idx_incoming.htm"><a href="incoming.htm">Incoming MX servers</a></li>
			<li id="idx_load_balance.htm"><a href="load_balance.htm">Load balancing</a></li>
			<li id="idx_ndb.htm"><a href="ndb.htm">NDB NetWin folder format</a></li>
			<li id="idx_domainkeys.htm"><a href="domainkeys.htm">DomainKeys Support</a></li>
			<li id="idx_ipv6.htm"><a href="ipv6.htm">IPV6 Support</a></li>
			<li id="idx_amazon-ses.htm"><a href="amazon-ses.htm">Amazon-SES gateway</a></li>
			<li id="idx_examples.htm"><a href="examples.htm">Example configurations</a></li>
		</ul></li>
	</ul>
  </div>
  &nbsp;	<!-- required to render div -->
</div>
<script>window.do_scroll_menu=false</script>
<!-- Back to global.htm -->
</div>

<!-- Back to global.htm -->

<div class="L2C2_column_content">
<!-- Back to global.htm -->
<!-- #BeginEditable "Body" -->

  <script language="JavaScript"> search_details('Search SurgeMail Manual:','http://netwinsite.com/surgemail/help'); </script>
  <script language="JavaScript"> display_crumbs_doc(['Home','Documentation','SurgeMail Help Index','Global Settings'],3); </script>
  <script language="JavaScript"> index_select('idx_global.htm'); </script>

  <h1>Global Settings</h1>

  <p>Note: Most 'matching' settings
    take <b>wild card lists</b> as parameters, for example "fred*" will match
    "freddy" and "Fred@bob". And "1.2.*,2.3.*" will match 1.2.4.4 and 2.3.99.100.
    Many settings will also accept a ! as a &quot;not&quot;, and are processed
    from left to right. eg "!*,127.*,10.*" would first &quot;deny all&quot; then
    try and match on any 127.* or 10.* domains. Settings using ip's will take
    ranges also like 10.0.1-120.5 and also support CIDR notation eg 10.10.1.32/27.<br>
    You can read about CIDR notation here <a href="http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing</a> and there is an online CIDR calculator here <a href="http://www.subnet-calculator.com/cidr.php">http://www.subnet-calculator.com/cidr.php</a>.</p>
  <h3><a NAME="g_access_group"></a>g_access_group
    - Access groups</h3>
  <p>Access rules defining groups of
    IP addresses with certain POP, IMAP and SMTP privileges. When a user is authenticated
    access is checked against group membership defined in the "mailaccess" field
    in the authentication database. See <a href="accounts.htm">accounts</a> for
    more information. </p>
  <p> eg. this could allow you to charge
    webmail users for pop access privileges: <br>
    g_access_group group=paid_user access_pop=* access_imap=* access_smtp=*&nbsp;<br>
    g_access_group group=free_user access_pop=webmail.svr.ip access_imap=webmail.svr.ip
    access_smtp=webmail.svr.ip&nbsp; </p>
  <p>with &quot;Access type&quot; set
    to &quot;free_user&quot; on accounts page or equivalently in nwauth authentication
    database:<br>
    marijn@mydomain.com:{ssha}tVANQo...:created=&quot;1060034937&quot;
    mailaccess=&quot;free_user&quot; ...</p>
  <p><b>To prevent webmail
    access for some users you would do this:</b></p>
  <blockquote>
    <p>g_access_group_default
      &quot;normal&quot;<br>
      g_access_group
      group=&quot;normal&quot; access_pop=&quot;*&quot; access_imap=*&quot; access_smtp=&quot;*&quot;
      <br>
      g_access_group group=&quot;nowebmail&quot; access_pop=&quot;*,!webmail.ip&quot;
      access_imap=&quot;*,!webmail.ip&quot; access_smtp=&quot;*&quot; </p>
    <p>And put the
      users you want to limit in a group called 'nowebmail' e.g.<br>
      <br>
      lookup fred@domain<br>
      +OK fred@domaing config 0 mailaccess=&quot;nowebmail&quot;</p>
  </blockquote>

<p>Syntax: g_access_group group=string access_pop=string access_imap=string access_smtp=string access_incoming=string</p>
<p>See also: <a href="#g_user_alias">g_user_alias</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_access">g_user_access</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
  <h3><a name="g_access_group_default"></a>g_access_group_default
    - Access group defaults</h3>
  <p>Access group defaults for users
    with no access groups set. (must be used in conjunction with g_access_group)</p>

<p>Syntax: g_access_group_default string</p>
<h3><a NAME="g_acctlog_authonly"></a>g_acctlog_authonly - Log sending usage based on authenticated accounts only and ignore "MAIL FROM" address - which may be fake!!</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_acctlog_authonly bool</p>
<h3><a NAME="g_acctlog_noaliases"></a>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)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_acctlog_noaliases bool</p>
<h3><a NAME="g_acctlog_sum_inactive"></a>g_acctlog_sum_inactive - Summarise local accounts that have not logged in yet as not_loggedin_yet@domain.com</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_acctlog_sum_inactive bool</p>
  <h3><a name="g_admin_access"></a>g_admin_access
    - Allow / Restrict domain admin access to features based on <a href="#g_access_group">g_access_group</a></h3>
  <p>g_admin_access group=&quot;wildcard&quot;
    access=&quot;list&quot;</p>
  <p>This setting matches the g_access_group
    the admin is in to the wildcard specified and applies the specified access
    list to that domain admin, giving / restricting thier access to certain features.
    The list may include any of the following:</p>
  <table class="plain_table" width="100%">
    <tr>
      <th width="12%"><b>Value</b>
      <th width="88%"><b>Result</b>
    </tr>
    <tr>
      <td width="12%">alias</td>
      <td width="88%">Access to domain
        users &quot;Alias&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">aspam</td>
      <td width="88%">Access to the
        &quot;ASpam&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">blog</td>
      <td width="88%">Access to the
        &quot;Blogs&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">bulletins</td>
      <td width="88%">Access to the
        &quot;Bulletins&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">centipaid</td>
      <td width="88%">Access to domain
        users &quot;Centipaid&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">enotify</td>
      <td width="88%">Access to domain
        users &quot;Email Notification&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">exceptions</td>
      <td width="88%">Access to domain
        users &quot;Exceptions&quot; page.</td>
    </tr>
    <tr>
      <td width="12%">friends</td>
      <td width="88%">Access to domain
        users &quot;Friends&quot; pages, and system.</td>
    </tr>
    <tr>
      <td width="12%">fwd</td>
      <td width="88%">Access to domain
        users &quot;Forwarding&quot; features, forwarding, auto-responder.</td>
    </tr>
    <tr>
      <td width="12%">fwdonly</td>
      <td width="88%">Access to domain
        users &quot;Forwarding&quot; features, forwarding</td>
    </tr>
    <tr>
      <td width="12%">lists</td>
      <td width="88%">Access to the
        &quot;Lists&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">log</td>
      <td width="88%">Access to domain
        users &quot;Log&quot; page.</td>
    </tr>
    <tr>
      <td width="12%">mailbox</td>
      <td width="88%">Access to domain
        users &quot;Mailbox&quot; page, view mailbox, setup rules.</td>
    </tr>
    <tr>
      <td width="12%">sms</td>
      <td width="88%">Access to domain
        users &quot;Sms&quot; page.</td>
    </tr>
    <tr>
      <td width="12%">spam</td>
      <td width="88%">Access to domain
        users &quot;Spam&quot; page, and SmiteSpam and Aspam processing of messages.</td>
    </tr>
    <tr>
      <td width="12%">spampriv</td>
      <td width="88%">Access to domain
        users &quot;Spam&quot; pages' spam private feature</td>
    </tr>
    <tr>
      <td width="12%">spf</td>
      <td width="88%">Access to domain
        users &quot;Spf&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">usage</td>
      <td width="88%">Access to the
        &quot;Usage&quot; button, which shows a domain users usage.</td>
    </tr>
    <tr>
      <td width="12%">users</td>
      <td width="88%">Access to the
        &quot;Users&quot; page and features.</td>
    </tr>
    <tr>
      <td width="12%">redirect</td>
      <td width="88%">Access to the
        &quot;Redirect&quot; page and settings.</td>
    </tr>
    <tr>
      <td width="12%">redirect_cc</td>
      <td width="88%">Access to the
        &quot;Redirect CC&quot; page and settings.</td>
    </tr>
  </table>
  <p>In addition you can prefix any
    of the above with ! to deny access. There are two other special case values,
    &quot;all&quot; and &quot;none&quot; which mean exactly what they say, access
    to &quot;all&quot; or &quot;none&quot; of the features.</p>
  <p>Example:</p>
  <p>g_admin_access group=&quot;simple&quot;
    access=&quot;all,!users,!reports&quot;</p>
  <p>The above setting gives admins
    in the 'simple' group access to all the features except the users and reports
    features.</p>

<p>Syntax: g_admin_access group=string access=string</p>
  <h3><a name="g_admin_access_default"></a>g_admin_access_default
    - Default features granted to domain admins</h3>
  <p>This setting is a default access
    list for all domain admins on the server, it is specified in the same maner
    as the <a href="#g_admin_access">g_admin_access</a> settings 'access' parameter.
    eg:</p>
  <p>g_user_access_default &quot;all,!users,!reports&quot;</p>

<p>Syntax: g_admin_access_default string</p>
  <h3><a name="g_admin_guesses" id="g_admin_guesses"></a>g_admin_guesses
    - Number of guesses allowed for admin. </h3>
  <p>Syntax: g_admin_guesses &quot;number&quot;</p>
  <p>This sets the number of guesses
    allowed for the admin username/password. Once this has been reached the ip
    is banned.</p>

<p>Syntax: g_admin_guesses int</p>
<p>See also: <a href="#g_admin_ip">g_admin_ip</a>, <a href="#g_admin_localhost">g_admin_localhost</a>, <a href="#g_admin_access">g_admin_access</a>, <a href="#g_admin_access_default">g_admin_access_default</a>, <a href="#g_admin_utoken_expire">g_admin_utoken_expire</a>, <a href="#g_admin_utoken_idle">g_admin_utoken_idle</a></p>
  <h3><a NAME="g_admin_ip"></a>g_admin_ip
    - Admin IP access</h3>
  <p>Mask of valid IP addresses for
    admin users (default *), this is a security setting you can use to restrict
    remote web admin access to trusted IP addresses. One is always allowed to
    use manage SurgeMail using 127.0.0.1 regardless of whether this is explicitly
    specified.</p>
  <p>eg. To restrict to local network
    as per net mask<br>
    g_admin_ip "10.0.0.*,10.1.2.*"&nbsp; </p>

<p>Syntax: g_admin_ip string</p>
<h3><a NAME="g_admin_localhost"></a>g_admin_localhost - Allow localhost web admin without user/pass</h4><p>Allows a localhost connection to access the web admin port without using the administrator username / password. This is good if you keep forgetting the admin password like I do.</p>
<p>Syntax: g_admin_localhost bool</p>
<p>See also: <a href="#g_admin_ip">g_admin_ip</a>, <a href="#g_admin_guesses">g_admin_guesses</a>, <a href="#g_admin_access">g_admin_access</a>, <a href="#g_admin_access_default">g_admin_access_default</a>, <a href="#g_admin_utoken_expire">g_admin_utoken_expire</a>, <a href="#g_admin_utoken_idle">g_admin_utoken_idle</a></p>
<h3><a NAME="g_admin_utoken_expire"></a>g_admin_utoken_expire - Length of time a web admin session is valid for</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_admin_utoken_expire int</p>
<h3><a NAME="g_admin_utoken_idle"></a>g_admin_utoken_idle - Length of time a web admin session may remain idle for</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_admin_utoken_idle int</p>
<h3><a NAME="g_alias_login_disable"></a>g_alias_login_disable - Disable user login as alias</h4><p>Stops the user login to pop or imap as the alias account</p>
<p>Syntax: g_alias_login_disable bool</p>
  <h3><a name="g_allow_bodyless"></a>g_allow_bodyless
    - Allow bodyless email</h3>
  <p>This will allow bodyless email
    to be accepted. These are usually spam.&nbsp; In particular Norton Antivirus
    in autoprotect mode closes the POP link which makes it appear that SurgeMail
    has terminated the connection when a bodyless email is encountered.</p>

<p>Syntax: g_allow_bodyless bool</p>
<h3><a NAME="g_allow_passzip_from"></a>g_allow_passzip_from - A list of addresses to allow unmonitorable archive messages to be sent from</h4><p>These may of course contain viruses as they cannot be scanned, but some people still need to be able to accept such files.</p>
<p>Syntax: g_allow_passzip_from string</p>
<h3><a NAME="g_allow_passzip_to"></a>g_allow_passzip_to - A list of addresses to allow unmonitorable archive messages to be sent to</h4><p>These may of course contain viruses as they cannot be scanned, but some people still need to be able to accept such files.</p>
<p>Syntax: g_allow_passzip_to string</p>
<h3><a NAME="g_allow_user_authent_field_get"></a>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</h4><p>This provides limited access to the user database for applications like webmail and surgeplus.</p>
<p>Syntax: g_allow_user_authent_field_get string</p>
<p>See also: <a href="#g_webmail_limit">g_webmail_limit</a>, <a href="#g_webmail_port">g_webmail_port</a>, <a href="#g_webmail_secure_port">g_webmail_secure_port</a>, <a href="#g_webmail_timeout">g_webmail_timeout</a>, <a href="#g_webmail_useip">g_webmail_useip</a>, <a href="#g_webmail_popmode">g_webmail_popmode</a>, <a href="#g_webmail_url">g_webmail_url</a>, <a href="#g_webmail_urladd">g_webmail_urladd</a>, <a href="#g_webmail_workarea">g_webmail_workarea</a>, <a href="#g_webmail_select_domain">g_webmail_select_domain</a>, <a href="#g_webmail_secret">g_webmail_secret</a></p>
<h3><a NAME="g_allow_user_authent_field_set"></a>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</h4><p>This provides limited access to the user database for applications like webmail and surgeplus.</p>
<p>Syntax: g_allow_user_authent_field_set string</p>
<p>See also: <a href="#g_webmail_limit">g_webmail_limit</a>, <a href="#g_webmail_port">g_webmail_port</a>, <a href="#g_webmail_secure_port">g_webmail_secure_port</a>, <a href="#g_webmail_timeout">g_webmail_timeout</a>, <a href="#g_webmail_useip">g_webmail_useip</a>, <a href="#g_webmail_popmode">g_webmail_popmode</a>, <a href="#g_webmail_url">g_webmail_url</a>, <a href="#g_webmail_urladd">g_webmail_urladd</a>, <a href="#g_webmail_workarea">g_webmail_workarea</a>, <a href="#g_webmail_select_domain">g_webmail_select_domain</a>, <a href="#g_webmail_secret">g_webmail_secret</a></p>
  <h3><a NAME="g_archive"></a>g_archive
    - Archive delivered mail</h3>
  <p>Archive rules allowing all mail
    delivered to be archived to either:</p>
  <p> - <b>Fixed size rotating archive</b>
    - use this if you want to be able to get back a particular message that has
    recently passed thorugh the server but you do not want the mail archives to
    be able to grow too large</p>
  <p>- <b>History archive</b> of a fixed
    (or unlimited) duration that can grow as much as the disk space available.
    Use this if you need to archive say all mail sent to / from a particular customer
    for the last year.</p>
  <p> The archive is stored as a directory
    containing bucket files. This allows you to retrieve messages that have been
    delivered if you need to retrieve a particular message for any reason. To
    retrieve a message this needs to be extracted manually from the archive files
    manually using a text editor or your own script. The maximum bucket size (default
    if 1Mb) of the archive and the maximum individual message size can be set.
    </p>
  <p>Filtering is done based upon wildcard
    destination and source addresses and subject. These fields provide a logical
    AND, with a blanks filed matching the default &quot;*&quot;. A specific email
    may match multiple archive rules, and will be archived in each archive in
    this case. Also note that if a match is part of a larger string the match
    string should have wildcards surrounding it. eg: to match &quot;important
    business&quot; in the subject &quot;Very important business for you&quot;
    you should specify &quot;*important business*&quot;. </p>
  <p>eg. To catch all email delivered
    from domain.com you would specify:<br>
    g_archive to="*" from="*@domain.com"
    subject=&quot;&quot; path="c:\mailarchive" size="10mb" maxitem="10k"&nbsp;</p>
  <p>You can also select whether the
    archiving rule is triggered before or after any filtering that is applied
    such as virus or spam filtering using the early flag. This can be useful to
    capture the original source of viruses or spam for testing purposes.</p>

<p>Syntax: g_archive to=string from=string path=string subject=string size=string maxitem=string keep=string early=bool owner=string</p>
<h3><a NAME="g_archive_bucketsize"></a>g_archive_bucketsize - Size for archive bucket files. Default is 1mb</h4><p>Sets the size of the archive buckets used by the circular archives.  If set too large then editing the buckets manually is awkward.</p>
<p>Syntax: g_archive_bucketsize int</p>
<p>See also: <a href="#g_archive">g_archive</a>, <a href="#g_archive_tcpip">g_archive_tcpip</a>, <a href="#g_archive_tcpip_host">g_archive_tcpip_host</a>, <a href="#g_archive_early">g_archive_early</a>, <a href="#g_archive_on_delete">g_archive_on_delete</a>, <a href="#g_archive_on_delete_dir">g_archive_on_delete_dir</a>, <a href="#g_archive_files">g_archive_files</a></p>
  <h3><a name="g_archive_early"></a>g_archive_early
    - Apply all archive rules before content filtering is applied (obsolete)</h3>
  <p>This will apply the archive rules
    before content filtering is applied. This can be user to capture the source
    message if it is getting stored or bounced unnecessarily by any of the SurgeMail
    filters. The early flag on individual archive rules should be used instead
    of this setting.</p>

<p>Syntax: g_archive_early bool</p>
<h3><a NAME="g_archive_files"></a>g_archive_files - Archive attachments to a directory</h4><p>Each message to the named account will have it's attachments removed and placed in the named directory. The path can contain the symbols $month$ $year$ $day$ $second$.  The 'second' is only within this day.  Together these variables can be used to ensure a unique path is used for each file if the names might conflict. Use g_redirect_cc to archive email going to an existing account because if you set 'to' equal to a real account then the real account will stop receiving messages!</p>
<p>Syntax: g_archive_files path=string to=string files=string</p>
<h3><a NAME="g_archive_on_delete"></a>g_archive_on_delete - Don't delete user files, archive them to g_archive_on_delete_dir</h4><p>When deleting a user, archive the users files in the g_archive_on_delete_dir archive directory.</p>
<p>Syntax: g_archive_on_delete bool</p>
<h3><a NAME="g_archive_on_delete_dir"></a>g_archive_on_delete_dir - Directory to archive user files to on delete</h4><p>Directory to archive deleted users files to. Defaults to 'archive' in the SurgeMail installation folder.</p>
<p>Syntax: g_archive_on_delete_dir string</p>
<h3><a NAME="g_archive_tcpip"></a>g_archive_tcpip - Rules for TCPIP archive process</h4><p>Contact netwin for more details of this mechanism if you wish to use it.</p>
<p>Syntax: g_archive_tcpip to=string from=string path=string dom=string</p>
<h3><a NAME="g_archive_tcpip_host"></a>g_archive_tcpip_host - Host to send archive data too</h4><p>When using an archive server this defines the host that is running the archive server. Contact netwin if you need more info on this feature.</p>
<p>Syntax: g_archive_tcpip_host string</p>
<h3><a NAME="g_aspam_headers"></a>g_aspam_headers - Add aspam information messages to messages.</h4><p>Adds informational aspam headers to all messages.</p>
<p>Syntax: g_aspam_headers bool</p>
<p>See also: <a href="#g_aspam_need_ip">g_aspam_need_ip</a></p>
<h3><a NAME="g_aspam_need_ip"></a>g_aspam_need_ip - Require good matches to match external ip address</h4><p>This prevents poluted bad messages in aspam_good causing spam to bypass the filters, but reduces effectiveness of the notspam address.</p>
<p>Syntax: g_aspam_need_ip bool</p>
<p>See also: <a href="#g_aspam_headers">g_aspam_headers</a></p>
<h3><a NAME="g_assume_created_epoch"></a>g_assume_created_epoch - If user has no 'created' field assume they were created an arbitrarily large time in the past</h4><p>This setting effect the g_disable_smtp_after and g_delete_user_after settings which, by default, ignore users who have not logged in and have no created field.</p>
<p>Syntax: g_assume_created_epoch bool</p>
<h3><a NAME="g_atrn_client"></a>g_atrn_client - Define a rule for fetching email</h4><p>This is the setting for clients to define to fetch mail from an upstream server. Typically this is done on the special port 366, to specify another port use host:port in the host setting. E.g. host="smtp.upstream.com:25"</p>
<p>Syntax: g_atrn_client domain=string user=string pass=string host=string</p>
<p>See also: <a href="#g_atrn_server">g_atrn_server</a>, <a href="#g_atrn_port">g_atrn_port</a></p>
<h3><a NAME="g_atrn_port"></a>g_atrn_port - Port to listen for 'atrn' (On Demand Relay) requests</h4><p>See g_atrn_server for more details, the default is port 366, atrn is not obeyed on port 25</p>
<p>Syntax: g_atrn_port string</p>
<p>See also: <a href="#g_atrn_server">g_atrn_server</a>, <a href="#g_atrn_client">g_atrn_client</a></p>
<h3><a NAME="g_atrn_server"></a>g_atrn_server - On Demand Mail Relay settings to define user/pass for clients to fetch mail</h4><p>This allows a client on a dynamic IP to connect and request mail for a specific domain after authenticating by using the ATRN command. Typically this is done on the special port 366</p>
<p>Syntax: g_atrn_server domain=string user=string pass=string</p>
<p>See also: <a href="#g_atrn_client">g_atrn_client</a>, <a href="#g_atrn_port">g_atrn_port</a></p>
  <h3><a name="g_auth_hide"></a>g_auth_hide
    - Disable SMTP Authentication </h3>
  <p>Per default SMTP authentication
    is enabled. If a user matches this IP range/list they will NOT be shown the
    ESMTP extension for SMTP authentication. This will usually stop the mail client
    from prompting the user for authentication. We STRONGLY recommend you do NOT
    use this feature. It is much better to let users authenticate when sending
    email. </p>

<p>Syntax: g_auth_hide string</p>
<h3><a NAME="g_auth_norelay"></a>g_auth_norelay - Ignore SMTP auth for relaying purposes</h4><p>This means relaying only occurs if g_relay_allow_ip matches</p>
<p>Syntax: g_auth_norelay bool</p>
  <h3><a name="g_auth_skipgateway"></a>g_auth_skipgateway
    - Skip gateway rules if we get a proxy SMTP auth command</h3>
  <p>Skip gateway rules if we get a
    proxy SMTP auth command. This is not for general use. It can be used if you
    are using SurgeMail in front of another mail server with a wild card gateway
    to gateway all domains to a back end mail server. Then an authenticated user
    is a local user trying to send out so the gateway rules are ignored. (this
    is strongly not recommended)</p>

<p>Syntax: g_auth_skipgateway bool</p>
<h3><a NAME="g_authent_allow_badascii"></a>g_authent_allow_badascii - Allow ascii chars outside the range 32 &lt; 127</h4><p>By default ascii characters &lt; 32 and &gt;= 127 are blocked as invalid. If you require these characters set this to TRUE.</p>
<p>Syntax: g_authent_allow_badascii bool</p>
  <h3><a name="g_authent_always"></a>g_authent_always
    - Always lookup user, so virtual domains can exist just in authent module</h3>
  <p>Always lookup user, so virtual
    domains can exist just in authent module. This allows you to support 10,000
    domains on one system without a 'huge' ini file. Be careful to not create/remove
    real domains with the same name as existing domains that only exist in the
    authent database as the 'drop files/inboxes' will move when this occurs and
    existing mail will vanish. </p>

<p>Syntax: g_authent_always bool</p>
<h3><a NAME="g_authent_any"></a>g_authent_any - Restore buggy behaviour of looking up users in domains that don't exist</h4><p>Previously surgemail would lookup a user even if the domain in question did not exist, if you need to restore this odd behaviour then you can use this setting...</p>
<p>Syntax: g_authent_any bool</p>
  <h3><a name="g_authent_cachebad"></a>g_authent_cachebad
    - Cache life of failed authent lookups</h3>
  <p>Set the life in seconds that the
    cached failed lookups can be used, default 60 seconds. Best left alone unless
    your server is being hit by thousands of failed lookups and your authent module
    is slow.</p>

<p>Syntax: g_authent_cachebad int</p>
  <h3><a name="g_authent_cachelife"></a>g_authent_cachelife
    - Cache life of successful authent lookups</h3>
  <p>Set the life in seconds that successful
    cached lookups can be used, default 2 hours. Best left alone.</p>

<p>Syntax: g_authent_cachelife int</p>
  <h3><a name="g_authent_cachesize"></a>g_authent_cachesize
    - Size of the authent cache</h3>
  <p>Set the size of the authent cache,
    default is 500 entries. Generally best left alone.</p>

<p>Syntax: g_authent_cachesize int</p>
  <h3><a name="g_authent_domain"></a>g_authent_domain
    - Authent domain</h3>
  <p>If this is 'true', the virtual
    domain name is appended to the username before it is passed to the authent
    process. This lets the authent process deal with virtual domains. As a general
    rule, this should ALWAYS be true.&nbsp; </p>

<p>Syntax: g_authent_domain bool</p>
<h3><a NAME="g_authent_encrypt_key"></a>g_authent_encrypt_key - Encryption key for ccnumber auth field</h4><p>Not for general use currently, used to partially obscure credit card info when stored in the authent module.</p>
<p>Syntax: g_authent_encrypt_key string</p>
  <h3><a NAME="g_authent_info"></a>g_authent_info
    - Authent info</h3>
  <p>Defines a piece of information
    to store about the user in the user database (phone number, name, address
    etc). Each piece of information is given a name, a field, an access mode,
    a default and a type. The name defines what appears in the web management
    display. The field is what is sent to the authent_process. The access mode
    can be one of the following: user, domadmin, or admin, createonly, none. The
    default is what value is assigned upon creation of a new user. The type can
    be one of: date, readonly, encrypt or any custom string which you want to
    check for or match on the na_details.htm page with a template function like:
    </p>
  <p>An access mode of 'admin' means
    that only the system admin can see the information, 'domadmin' means the sysadmin
    and any domain admin can see the information, 'user' means the user can see
    the information, 'createonly' means the user sets the information at creation
    time but cannot see it after that and 'none' ensures that no-one can see or
    modify the information (used for information that is handled by SurgeMail
    itself, either through the interface or otherwise) </p>
  <pre>e.g.
     <font face="Comic Sans MS"> g_authent_info      name="Phone Number" field="phone" access="user" default=&quot;&quot; type=&quot;&quot;</font></pre><font face="Comic Sans MS">
  <p><font face="Comic Sans MS">See
    <a href="authent.htm#authent_info">here</a> for a complete list of default
    settings. </font></p><font face="Comic Sans MS">

<p>Syntax: g_authent_info name=string field=string access=string default=string type=string</p>
<h3><a NAME="g_authent_info_grp"></a>g_authent_info_grp - Fields to show to users in this group</h4><p>Specifies the authent fields this user group is allowed to see and change. This applies only to the fields visible on the account properties page and the domain admin "Users" page it cannot be used to prevent access to fields which are managed by the web interface i.e. 'fwd'</p>
<p>Syntax: g_authent_info_grp group=string fields=string tag=string</p>
  <h3><a name="g_authent_ip"></a>g_authent_ip
    - Authent Lookup IP numbers via authent modules - enables relaying
  </h3>
  <p>If enabled each connecting IP address
    will be looked up in your user database as x.x.x.x@ip eg: &quot;127.0.0.1@ip&quot;
    and if the user is found then relaying is allowed and if 'send_limit=&quot;nn&quot;'
    is defined then that will set the tarpit send limit for that user.</p>
  <p>For per IP tarpit limits to work
    you need to define the g_tarpit_max and g_tarpit_max_remote settings. And
    g_tarpit_drop to make the limit effective. </p>

<p>Syntax: g_authent_ip bool</p>
<h3><a NAME="g_authent_last_login"></a>g_authent_last_login - Store users last login time in the database</h4><p>This setting will cause the authent field 'last_login' to be updated when a user logs in. The field is set to a timestamp which is 'the number of seconds since midnight January 1, 1970'. This field is updated 'at most' once every 24 hours. Other features i.e. delete_user_after and disable_smtp_after will look for this field.</p>
<p>Syntax: g_authent_last_login bool</p>
  <h3><a name="g_authent_logall"></a>g_authent_logall
    - Turns on logging of authent requests</h3>
  <p>If enabled, authentication requests
    are logged in mail.log as &quot;&lt;day&gt; &lt;time&gt; Authent[&lt;action&gt;
    &lt;info&gt;]&quot;.</p>

<p>Syntax: g_authent_logall bool</p>
  <h3><a name="g_authent_number"></a>g_authent_number
    - Authent number</h3>
  <p>The number of concurrent authent
    processes to run. If you are using a slow external authent module (e.g. sql)
    then it is probably worth running 3-4, there is no need to have more than
    1 when using nwauth.exe. (Default = 1)&nbsp;</p>

<p>Syntax: g_authent_number int</p>
  <h3><a name="g_authent_process"></a>g_authent_process
    - Authent process</h3>
  <p>The command line of a NetWin authentication
    module. You can use one of our standard modules for LDAP, ODBCAuth, MySQL
    etc or write your own. For more information on these modules see the authentication
    section of the <a href="http://netwinsite.com/authent/index.htm" target="_top">manual</a>
    .</p>
  <p>This will typically be something
    like:<br>
    g_authent_process &quot;E:\surgemail\nwauth.exe -path E:\surgemail&quot;
    <br>
    or <br>
    g_authent_process &quot;/usr/local/surgemail/nwauth -path /usr/local/surgemail&quot;<br>
  </p>

<p>Syntax: g_authent_process string</p>
  <h3><a name="g_authent_restart"></a>g_authent_restart
    - Cycle auth modules every 1000 lookups</h3>
  <p>This is useful if there are resource
    allocation issues in the authentication module. Eg OBDCAuth </p>

<p>Syntax: g_authent_restart bool</p>
<h3><a NAME="g_authent_single"></a>g_authent_single - Allow local users with a single quote char in their name</h4><p>This let's users exist who contain the single quote ' character.  It is not supported with some authent modules though, nwauth does allow it.</p>
<p>Syntax: g_authent_single bool</p>
<h3><a NAME="g_authent_spaces"></a>g_authent_spaces - Allow spaces in passwords DO NOT USE</h4><p>Not supported for most authent modules, requires nwauth 4.0r or later, If you have already got users with spaces in their passwords and you turn this setting on, they will no longer be able to login until they reset their passwords. Authent module must support slash encoding, for nwauth add -spaces to command line</p>
<p>Syntax: g_authent_spaces bool</p>
  <h3><a name="g_authent_strip_domain"></a>g_authent_strip_domain
    - Strip domain for authent lookups</h3>
  <p>Use when your database expects
    one 'primary' domain to do lookups without a domain name then SurgeMail will
    strip that domain only from lookups. Typically this is only necessary with
    old DMail authent modules.</p>

<p>Syntax: g_authent_strip_domain string</p>
  <h3><a name="g_authent_timeout"></a>g_authent_timeout
    - Timeout for authent response</h3>
  <p>Timeout for authent response, default
    60 seconds.</p>

<p>Syntax: g_authent_timeout int</p>
<h3><a NAME="g_autologin_file"></a>g_autologin_file - File to use to share auto login information on NFS based cluster</h4><p>This allows webmail to autologin when using an nfs based cluster and a load sharing device.</p>
<p>Syntax: g_autologin_file string</p>
<h3><a NAME="g_autologin_imap_disable"></a>g_autologin_imap_disable - Disable IMAP based autologins</h4><p>IMAP autologins allow autologin to surgeweb.</p>
<p>Syntax: g_autologin_imap_disable bool</p>
  <h3><a name="g_autologin_pop"></a>g_autologin_pop
    - Enables WebMail Autologin using POP when on another server</h3>
  <p>Webmail needs the ability to automatically
    login to SurgeMail to changes passwords etc. This setting will do this via
    an extension to the pop protocol allowing WebMail to autologin whilst running
    on another server. (Normally this is done using a temporary file)</p>

<p>Syntax: g_autologin_pop bool</p>
  <h3><a name="g_bad_login_allow"></a>g_bad_login_allow
    - Number of consecutive bad logins for a user before blocking that user</h3>
  <p>Number of consecutive bad logins
    for a user before blocking that user.</p>

<p>Syntax: g_bad_login_allow int</p>
  <h3><a name="g_bad_login_ip_allow"></a>g_bad_login_ip_allow
    - Number of bad logins from an IP before blocking that IP</h3>
  <p>Number of bad logins from a single
    IP before blocking that IP.</p>

<p>Syntax: g_bad_login_ip_allow int</p>
<h3><a NAME="g_bad_login_ip_ignore"></a>g_bad_login_ip_ignore - IP address(es) to ignore bad logins from</h4><p>Use for webmail system or other local gateway to stop bad login counter from locking out all users.</p>
<p>Syntax: g_bad_login_ip_ignore string</p>
<p>See also: <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_badfrom_noip">g_badfrom_noip</a>, <a href="#g_badfrom_noip_temp">g_badfrom_noip_temp</a>, <a href="#g_badfrom_check">g_badfrom_check</a>, <a href="#g_badfrom_stamp">g_badfrom_stamp</a>, <a href="#g_badfrom_badmx">g_badfrom_badmx</a>, <a href="#g_badfrom_from">g_badfrom_from</a>, <a href="#g_badfrom_whitelist">g_badfrom_whitelist</a></p>
  <h3><a name="g_bad_login_mins"></a>g_bad_login_mins
    - Minutes to block login for, if consecutive bad ones received</h3>
  <p>Minutes to block login for, if
    consecutive g_badlogin_allow or g_badlogin_ip_allow bad logins received=.</p>

<p>Syntax: g_bad_login_mins int</p>
  <h3><a name="g_badfrom_badmx"></a>g_badfrom_badmx
    - Drop message if this MX</h3>
  <p>If mx host is one of these addresses
    then drop the message, it's definitely spam (e.g. 127.*).</p>

<p>Syntax: g_badfrom_badmx string</p>
  <h3><a name="g_badfrom_check"></a>g_badfrom_check
    - Check if 'from' envelope can be delivered to</h3>
  <p>If this is set to &quot;true&quot;
    then SurgeMail will connect back to the envelope 'from' address and check
    that the address is valid, a cache is used to improve performance, if it cannot
    connect then the message is bounced as probable spam. It's nicer to use the
    following setting &quot;g_badfrom_stamp&quot; as well, then if SurgeMail cannot
    connect back or the user is invalid then a header is added to indicate this,
    and our SmiteSpam rules will use this to increase the spam weighting.<br>
    <br>
    You can use g_spam_allow to exempt an IP from this check as well as g_badfrom_whitelist
    for a domain. Please note that by default SurgeMail uses a blank mail from
    to do its check.<br>
    MAIL FROM: &lt;&gt;<br>
    Some servers might reject this, though they shouldn't because its a standard
    bounce, however if they do you can use <a href="g_badfrom_from">g_badfrom_from</a>
    to set a mail from address to be used for this check. </p>

<p>Syntax: g_badfrom_check bool</p>
  <h3><a name="g_badfrom_from"></a>g_badfrom_from
    - Mail from account for g_badfrom_check</h3>
  <p>From to use when doing the g_badfrom_check
    check, not normally needed, if set must be set to valid account.</p>

<p>Syntax: g_badfrom_from string</p>
  <h3><a name="g_badfrom_noip"></a>g_badfrom_noip
    - Check envelope from domain exists and is a valid IP number</h3>
  <p>Check envelope from domain exists
    and is a valid ip number, if not bounce message.</p>

<p>Syntax: g_badfrom_noip bool</p>
<h3><a NAME="g_badfrom_noip_temp"></a>g_badfrom_noip_temp - Makes g_badfrom_noip return a temporary error instead of a 501 error</h4><p>Use g_verify_mx_skip to bypass/whitelist ip addresses from this check</p>
<p>Syntax: g_badfrom_noip_temp bool</p>
  <h3><a name="g_badfrom_stamp"></a>g_badfrom_stamp
    - If 'g_badfrom_check' is bad then stamp a header on the message</h3>
  <p>g_badfrom_check must also be set
    to true. If this is set to &quot;true&quot; then SurgeMail will connect back
    to the envelope 'from' address and check that the address is valid, a cache
    is used to improve performance, if it cannot connect then a header is added
    to indicate this, and our SmiteSpam rules will use this to increase the spam
    weighting.</p>

<p>Syntax: g_badfrom_stamp bool</p>
  <h3><a name="g_badfrom_whitelist"></a>g_badfrom_whitelist
    - Whitelist of domains to skip from checks</h3>
  <p>Whitelist of &quot;from&quot; address
    domains to skip g_badfrom_* checks. </p>
  <p>eg.<br>
    g_badfrom_whitelist "specialdomain.com" </p>

<p>Syntax: g_badfrom_whitelist string</p>
  <h3><a name="g_ban_blackhole"></a>g_ban_blackhole
    - Leave connected but reject all recipients without looking them up</h3>
  <p>Leave connected but reject all
    recipients without looking them up. This is good of dealing with high volume
    spammers without wasting resources doing user lookups.&nbsp;</p>

<p>Syntax: g_ban_blackhole bool</p>
  <h3><a NAME="g_ban_from"></a>g_ban_from
    - Ban any matching MAIL FROM: envelope</h3>
  <p>Same as 'ban_helo' but applies
    to the from (return address) part of the mail envelope. This is NOT the same
    as the from/sender header in the message itself!!! This equates to the 'Return-path:'
    header that the mail server adds.&nbsp; </p>

<p>Syntax: g_ban_from string</p>
  <h3><a NAME="g_ban_helo"></a>g_ban_helo
    - Ban any machine that gives a matching 'helo' string</h3>
  <p>This is a simple spam protection
    system to block known spam/problem users based on the 'helo' name they send
    to your system. This name is recorded in the 'received' header along with
    the IP address. This name is very easy to 'fake' so is not a high security
    level of protection, but it is simple for stopping stupid robots etc, that
    have gone insane. </p>
  <p>Example: *junkmail.com&nbsp;
  </p>

<p>Syntax: g_ban_helo string</p>
  <h3><a name="g_ban_rcpt"></a>g_ban_rcpt
    - Ban any matching RCPT TO: envelope</h3>
  <p>Same as 'ban_helo' but applies
    to the recipient part of the envelope (destination users) this is NOT the
    same as the 'To:' header in the message itself!!! This can sometimes be used
    to block really simple spamming programs that always send to the same invalid
    users.&nbsp; </p>

<p>Syntax: g_ban_rcpt string</p>
<h3><a NAME="g_bank_debug"></a>g_bank_debug - Log request to bank server</h4><p>Use when trying to debug the g_bank_url post/response</p>
<p>Syntax: g_bank_debug bool</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bank_group"></a>g_bank_group - Create price groups with descriptions</h4><p>See g_bank_url for details</p>
<p>Syntax: g_bank_group group=string price=string desc=string</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_debug">g_bank_debug</a></p>
<h3><a NAME="g_bank_log"></a>g_bank_log - Log lines matching this in response.</h4><p>See g_bank_url for details</p>
<p>Syntax: g_bank_log string</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_debug">g_bank_debug</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bank_ok"></a>g_bank_ok - Find this in response, if found then charge was successful</h4><p>See g_bank_url for details</p>
<p>Syntax: g_bank_ok string</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_debug">g_bank_debug</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bank_pass"></a>g_bank_pass - Password for authenticated web request to banks system</h4><p>See g_bank_url for details</p>
<p>Syntax: g_bank_pass string</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_debug">g_bank_debug</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bank_reason"></a>g_bank_reason - This line is returned to user if it is found</h4><p>See g_bank_url for details</p>
<p>Syntax: g_bank_reason string</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_debug">g_bank_debug</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bank_url"></a>g_bank_url - URL to charge a credit card (experimental)</h4><p>This allows automated monthly charging of users</p>
<p>Syntax: g_bank_url string</p>
<p>See also: <a href="#g_bank_user">g_bank_user</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_debug">g_bank_debug</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bank_user"></a>g_bank_user - Username for authenticated web request to banks system</h4><p>See g_bank_url for details</p>
<p>Syntax: g_bank_user string</p>
<p>See also: <a href="#g_bank_url">g_bank_url</a>, <a href="#g_bank_pass">g_bank_pass</a>, <a href="#g_bank_ok">g_bank_ok</a>, <a href="#g_bank_reason">g_bank_reason</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_bank_debug">g_bank_debug</a>, <a href="#g_bank_group">g_bank_group</a></p>
<h3><a NAME="g_bind_byfromip"></a>g_bind_byfromip - Bind outgoing SMTP connections to the specified IP based on the sender IP</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_bind_byfromip fromip=string bindip=string</p>
  <h3><a name="g_bind_from"></a>g_bind_from
    - Bind outgoing SMTP connections based on 'from' envelope</h3>
  <p>Bind outgoing SMTP connections
    based on the IP of the virtual domain in 'from' envelope. This is only useful
    if you are using IP based virtual domains.&nbsp; </p>
  <p></p>


<p>Syntax: g_bind_from bool</p>
<h3><a NAME="g_bind_incoming"></a>g_bind_incoming - Bind outgoing SMTP connections based on incoming ip address</h4><p>So if the incomnig mail came in on interface address 1.2.3.4 then that same address is used to send the email</p>
<p>Syntax: g_bind_incoming bool</p>
  <h3><a name="g_bind_out"></a>g_bind_out
    - Bind outgoing smtp connections to IP</h3>
  <p>Bind outgoing smtp connections
    to this IP number.&nbsp; </p>

<p>Syntax: g_bind_out string</p>
  <h3><a name="g_black_above"></a>g_black_above
    - Level for spam detection for g_black_count</h3>
  <p>Level for spam detection for blacklisting
    IP number e.g. 7.&nbsp; </p>

<p>Syntax: g_black_above int</p>
  <h3><a name="g_black_count"></a>g_black_count
    - Blacklist sender IP based on spam sent</h3>
  <p>Number of spam in a row before
    IP blacklisted for 30 minutes eg: 30 (default = disabled)</p>

<p>Syntax: g_black_count int</p>
<h3><a NAME="g_black_isspam"></a>g_black_isspam - Blacklist ip address for any spam training event</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_black_isspam bool</p>
  <h3><a name="g_black_to"></a>g_black_to
    - Blacklist sender IP based on catch addresses</h3>
  <p>Blacklist senders IP address for
    30 minutes if they deliver to these spam catch email addresses. </p>
  <p>eg. g_black_to &quot;smith@mydomain.com,catcher@myotherdomain.com&quot;
  </p>

<p>Syntax: g_black_to string</p>
<h3><a NAME="g_black_white"></a>g_black_white - Whitelist to prevent blacklisting, e.g. 1.2.3.*,mail*.aol.com</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_black_white string</p>
  <h3><a name="g_block_files"></a>g_block_files
    - Block certain attachments</h3>
  <p>Allow you to block any mail with
    certain files attached.&nbsp; </p>
  <p> g_block_files &quot;*.exe,*.cmd,*.com&quot;
  </p>

<p>Syntax: g_block_files string</p>
<p>See also: <a href="#g_block_wild">g_block_wild</a>, <a href="#g_block_skip">g_block_skip</a>, <a href="#g_block_longok">g_block_longok</a>, <a href="#g_debug_block">g_debug_block</a></p>
<h3><a NAME="g_block_longok"></a>g_block_longok - If true allow long file names (more than 180 char)</h4><p>By default files names over this length are ALWAYS blocked if g_block_files is used, in rare situations these are not just viruses attempting to get around the filter.</p>
<p>Syntax: g_block_longok bool</p>
<p>See also: <a href="#g_block_wild">g_block_wild</a>, <a href="#g_block_files">g_block_files</a>, <a href="#g_block_skip">g_block_skip</a>, <a href="#g_debug_block">g_debug_block</a></p>
<h3><a NAME="g_block_skip"></a>g_block_skip - From or To address to bypass g_block_files</h4><p>Some users will need to send various attachments, these users are excempt to the g_block_files rule</p>
<p>Syntax: g_block_skip string</p>
<p>See also: <a href="#g_block_wild">g_block_wild</a>, <a href="#g_block_files">g_block_files</a>, <a href="#g_block_longok">g_block_longok</a>, <a href="#g_debug_block">g_debug_block</a></p>
  <h3><a name="g_block_wild"></a>g_block_wild
    - Block wildcards in usernames</h3>
  <p>Block the '*' wildcard character
    in usernames.</p>

<p>Syntax: g_block_wild bool</p>
<h3><a NAME="g_blogs_allow_links"></a>g_blogs_allow_links - Allow users to post comments that contain urls</h4><p>Due to widespread abuse of blogs this is not recommended.</p>
<p>Syntax: g_blogs_allow_links bool</p>
<h3><a NAME="g_blogs_cleanup_links"></a>g_blogs_cleanup_links - Delete existing posts that contain urls</h4><p>This setting will help cleanup existing spam postings to your users blogs.</p>
<p>Syntax: g_blogs_cleanup_links bool</p>
<h3><a NAME="g_blogs_comment_rev"></a>g_blogs_comment_rev - Show blog comments newest first</h4><p>Helps if there are lots of comments, this is a global setting not per blog..</p>
<p>Syntax: g_blogs_comment_rev bool</p>
<h3><a NAME="g_blogs_default_template"></a>g_blogs_default_template - Default template set that is used by newly created blogs</h4><p>This setting can have a value of the name of any directory in the SurgeMail blogtpl directory</p>
<p>Syntax: g_blogs_default_template string</p>
<h3><a NAME="g_blogs_domonly"></a>g_blogs_domonly - Only list blogs in a users domain</h4><p>By default all blogs in all domains are listed/shown to the user. This setting causes it to only list blogs in the users domain.</p>
<p>Syntax: g_blogs_domonly bool</p>
<h3><a NAME="g_blogs_enable"></a>g_blogs_enable - Surgemail blogs</h4><p>Allow users to create blogs</p>
<p>Syntax: g_blogs_enable bool</p>
<h3><a NAME="g_blogs_image_optional"></a>g_blogs_image_optional - Allow users to specify if image verification is required for comments</h4><p>By default image verification is now required, this prevents spammers from abusing the many 'test' blogs set up by your users.</p>
<p>Syntax: g_blogs_image_optional bool</p>
<h3><a NAME="g_blogs_max_per_user"></a>g_blogs_max_per_user - Maximum number of blogs per user</h4><p>Maximum number of blogs per user, default is 5</p>
<p>Syntax: g_blogs_max_per_user int</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="#g_user_blogs">g_user_blogs</a></p>
<h3><a NAME="g_blogs_maximum_image_size"></a>g_blogs_maximum_image_size - Default maximum image size</h4><p>Images larger than this (in largest dimension) that are posted to blogs are scaled down, default is 390, per blog setting can overide this.</p>
<p>Syntax: g_blogs_maximum_image_size int</p>
<h3><a NAME="g_blogs_maximum_image_width"></a>g_blogs_maximum_image_width - Default maximum image width</h4><p>Images larger than this that are posted to blogs are scaled down, default is 390, per blog setting can overide this.</p>
<p>Syntax: g_blogs_maximum_image_width int</p>
<h3><a NAME="g_blogs_maximum_items_in_top_page"></a>g_blogs_maximum_items_in_top_page - Maximum number of items on the top blog page</h4><p>Maximum number of post bodies to appear on a blog top page, default is 10</p>
<p>Syntax: g_blogs_maximum_items_in_top_page int</p>
<h3><a NAME="g_blogs_no_suffix"></a>g_blogs_no_suffix - Shortens URL, url_blogs must be defined for each domain</h4><p>This shortens http://a.com/blog/juggling to http:/a.com/juggling, but does require that you define a specific name for the blogs in the domain based url_blogs setting</p>
<p>Syntax: g_blogs_no_suffix bool</p>
<h3><a NAME="g_blogs_not_global"></a>g_blogs_not_global - Only allows access to a blog onthe domain it is defined on</h4><p>Only allows access to a blog on the domain it is defined on, this is not recommended. (probably want to use g_blogs_not_unique, g_blogs_domonly too)</p>
<p>Syntax: g_blogs_not_global bool</p>
<h3><a NAME="g_blogs_not_unique"></a>g_blogs_not_unique - Allow the same blog name in multiple domains</h4><p>If set you can create different blogs with the same name in different virtual domains, this is not recommended.</p>
<p>Syntax: g_blogs_not_unique bool</p>
<h3><a NAME="g_blogs_ping"></a>g_blogs_ping - Sites to ping on each post</h4><p>Host and path to ping on each blog post. eg:  host=rpc.weblog.com path=/RPC2</p>
<p>Syntax: g_blogs_ping host=string path=string</p>
<h3><a NAME="g_blogs_sub_domain_prefix"></a>g_blogs_sub_domain_prefix - Prefix to use instead of blogs. for blog subdomains. use ! to have no prefix.</h4><p>Experimental feature do not use</p>
<p>Syntax: g_blogs_sub_domain_prefix string</p>
<h3><a NAME="g_blogs_use_sub_domains"></a>g_blogs_use_sub_domains - Make blogs accessible at http://blog_name.domain/</h4><p>If you're DNS entry supports it, turn on this setting to make blogs accessible at http://blog_name.blogs.domain/ instead of http://domain/blogs/blog_name</p>
<p>Syntax: g_blogs_use_sub_domains bool</p>
<h3><a NAME="g_body_filter"></a>g_body_filter - Enable user email body filtering</h4><p>Allows the user to configure filters which filter the body of incoming messages</p>
<p>Syntax: g_body_filter bool</p>
  <h3><a NAME="g_bomb_max"></a>g_bomb_max
    - Max messages to a single address per hour</h3>
  <p>Simple system to prevent intentional
    or more likely, accidental mail loops or mail bombs where thousands of Emails
    are sent to a single user. A setting in the range of 100-1000 is generally
    good depending on your sensitivity to incorrectly blocking real mail.&nbsp;
    We suggest 1000 is a good setting if you are unsure. </p>
  <p>This counts the messages from a
    single IP address to a single recipient. If a single IP sends more than this
    many messages to any single recipient then they will be tarpitted (slowed
    down and rejected). </p>
  <p>Use spam_allow ip.address.list
    to over-ride the limit for known local systems that might exceed this limit
    (unlikely anything will). </p>

<p>Syntax: g_bomb_max int</p>
  <h3><a name="g_bomb_max_from"></a>g_bomb_max_from
    - Max msgs from a single email address/hour</h3>
  <p>Max msgs from a single email address/hour.</p>

<p>Syntax: g_bomb_max_from int</p>
<h3><a NAME="g_bounce_bind"></a>g_bounce_bind - Use a specific ip address for outgoing bounces</h4><p>Some RBL sites blacklist machines for sending bounces, which is probably a good thing. But even with spf running your server may occasionally send a bounce to a forged address, and so you can use an alternate ip address for these bounces to avoid blacklisting your main mail server address.  First you must assign the ip address to your network interface etc</p>
<p>Syntax: g_bounce_bind string</p>
  <h3><a name="g_bounce_disable"></a>g_bounce_disable
    - Bounce Disable</h3>
  <p>Disable all bounces. This is particularly
    useful when under spam attack. This is for outgoing bounces it stops SurgeMail
    generating bounces it won't affect incomming bounces from other servers.</p>
  <p>example:<br>
    g_bounce_disable &quot;true&quot; </p>

<p>Syntax: g_bounce_disable bool</p>
  <h3><a name="g_bounce_limit"></a>g_bounce_limit
    - Max size of bounce messages</h3>
  <p>Max size in bytes of message to
    send back as bounce message is truncated if necessary.</p>

<p>Syntax: g_bounce_limit int</p>
<h3><a NAME="g_bounce_nodrop"></a>g_bounce_nodrop - Enables locally generated bounces for non local users</h4><p>This setting makes bounces occur normally, the reason bounces are normally dropped for non local users is that they are almost always spam bouncing off another server due to forwarding settings, and as such sending a bounce email will get your server black listed, so we decided it was best to drop them by default since they are rarely useful. Turn this setting on at your own risk :-). Instead use g_bounce_to to list domains that it is safe to bounce to.</p>
<p>Syntax: g_bounce_nodrop bool</p>
<h3><a NAME="g_bounce_redirect"></a>g_bounce_redirect - Send all bounces to a local address</h4><p>This can be used to avoid 'back scatter' which can get your server listed in various black listed sites.  In general your server should not generate bounces so if you get lots you may find changing config settings can stop them. Note this only redirects bounces to non local recipients, so your users sending outgoing mail will still get their own bounce messages. </p>
<p>Syntax: g_bounce_redirect string</p>
<h3><a NAME="g_bounce_reject"></a>g_bounce_reject - Reject bounces by ip address from known dumb mail servers</h4><p>Some mail servers (exchange) will accept email, then bounce it, this is now considered a 'crime' and will get your server black listed, so if you have surgemail running as a gateway for such servers you can tell it to reject any bounce that server is foolish enough to send you.</p>
<p>Syntax: g_bounce_reject string</p>
<h3><a NAME="g_bounce_some_stop"></a>g_bounce_some_stop - Disables locally generated bounces for partial message failure</h4><p>This can decrease  back scatter, but it has other bad effects, it can result in duplicate messasges arriving</p>
<p>Syntax: g_bounce_some_stop bool</p>
<h3><a NAME="g_bounce_suggest"></a>g_bounce_suggest - Send bounces to postmaster if spf cannot be verified</h4><p>This may help stop black listing for backscatter while still alerting the sending domain admin that one of their users emails to your server bounced, You can specify a template file suggest.eml if you don't like the default message suggesting the postmaster add spf records for their domain</p>
<p>Syntax: g_bounce_suggest bool</p>
<h3><a NAME="g_bounce_to"></a>g_bounce_to - Domains to treat as local and send bounces to</h4><p>This setting makes bounces occur normally, the reason bounces are normally dropped for non local users is that they are almost always spam bouncing off another server due to forwarding settings, and as such sending a bounce email will get your server black listed, so we decided it was best to drop them by default since they are rarely useful. Turn this setting on at your own risk :-). Instead use g_bounce_to to list domains that it is safe to bounce to. e.g. *@a.com,*@b.com</p>
<p>Syntax: g_bounce_to string</p>
<h3><a NAME="g_breakin_white"></a>g_breakin_white - Email addresses that can send from multipe ips</h4><p>When a hacker guesses a password on your system they will often send outgoing spam to your server from multiple ip addresses, Surgemail detects this and emails the administrator when it occurs, use this setting to enable specific users who need to do this (this is very unusual though)</p>
<p>Syntax: g_breakin_white string</p>
<h3><a NAME="g_bull_rule"></a>g_bull_rule - Post bulletins to this domain</h4><p>Senders must be authenticated user that matches the sender, domain can be blank to send to all domains, the to field is the address you will send posts to, typically something like: bulletins@your.domain.name</p>
<p>Syntax: g_bull_rule to=string domain=string sender=string</p>
  <h3><a name="g_centipaid"></a>g_centipaid
    - see <a href="centipaid.htm">CentiPaid.htm</a></h3>
  <p>Authentication server and port
    for CentiPaid.</p>

<p>Syntax: g_centipaid string</p>
<h3><a NAME="g_cid_skip_to"></a>g_cid_skip_to - Skip CID score, good for lawyers etc</h4><p>Some users will trigger CID matches due to the nature of their business (accountants/lawyers) for these people you may want to list them here. CID is content matching, usually scams which often use legal language.</p>
<p>Syntax: g_cid_skip_to string</p>
<p>See also: <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_spam_allow">g_spam_allow</a>, <a href="#g_spam_allow_disable">g_spam_allow_disable</a>, <a href="#g_spam_allow_rbl">g_spam_allow_rbl</a>, <a href="#g_spam_allow_msg">g_spam_allow_msg</a>, <a href="#g_spam_block_msg">g_spam_block_msg</a>, <a href="#g_spam_allow_known">g_spam_allow_known</a>, <a href="#g_spam_allow_recent">g_spam_allow_recent</a>, <a href="#g_spam_autotrain">g_spam_autotrain</a>, <a href="#g_spam_block">g_spam_block</a>, <a href="#g_spam_block_gateway">g_spam_block_gateway</a>, <a href="#g_spam_check_auth">g_spam_check_auth</a>, <a href="#g_spam_content_disable">g_spam_content_disable</a>, <a href="#g_spam_body">g_spam_body</a>, <a href="#g_spam_body_url">g_spam_body_url</a>, <a href="#g_spam_body_more">g_spam_body_more</a>, <a href="#g_spam_folders">g_spam_folders</a>, <a href="#g_spam_folders_show">g_spam_folders_show</a>, <a href="#g_spam_flag">g_spam_flag</a>, <a href="#g_spam_from_blacklist">g_spam_from_blacklist</a>, <a href="#g_spam_grey">g_spam_grey</a>, <a href="#g_spam_grey_classc">g_spam_grey_classc</a>, <a href="#g_spam_grey_dflt">g_spam_grey_dflt</a>, <a href="#g_spam_grey_dflt_bad">g_spam_grey_dflt_bad</a>, <a href="#g_spam_grey_verify">g_spam_grey_verify</a>, <a href="#g_spam_grey_size">g_spam_grey_size</a>, <a href="#g_spam_grey_bounce">g_spam_grey_bounce</a>, <a href="#g_spam_grey_window">g_spam_grey_window</a>, <a href="#g_spam_grey_nofive">g_spam_grey_nofive</a>, <a href="#g_spam_grey_nseen">g_spam_grey_nseen</a>, <a href="#g_spam_grey_nohard">g_spam_grey_nohard</a>, <a href="#g_spam_lang">g_spam_lang</a>, <a href="#g_spam_probe">g_spam_probe</a>, <a href="#g_spam_probe_unknown">g_spam_probe_unknown</a>, <a href="#g_spam_probe_more">g_spam_probe_more</a>, <a href="#g_spam_probe_whois">g_spam_probe_whois</a>, <a href="#g_spam_subject">g_spam_subject</a>, <a href="#g_spam_subject_dom">g_spam_subject_dom</a>, <a href="#g_spam_subject_gateway">g_spam_subject_gateway</a>, <a href="#g_spam_subject_word">g_spam_subject_word</a>, <a href="#g_spam_userconfig">g_spam_userconfig</a>, <a href="#g_spam_user_max">g_spam_user_max</a>, <a href="#g_spam_from_max">g_spam_from_max</a>, <a href="#g_spam_user_skip">g_spam_user_skip</a>, <a href="#g_spam_bounce">g_spam_bounce</a>, <a href="#g_spam_bounce_text">g_spam_bounce_text</a>, <a href="#g_spam_bounce_all">g_spam_bounce_all</a>, <a href="#g_spam_bounce_trusted">g_spam_bounce_trusted</a>, <a href="#g_spam_cmd">g_spam_cmd</a>, <a href="#g_spam_cmd_if">g_spam_cmd_if</a>, <a href="#g_spam_cmd_skip">g_spam_cmd_skip</a>, <a href="#g_spam_cmd_reject">g_spam_cmd_reject</a>, <a href="#g_spam_vanish">g_spam_vanish</a>, <a href="#g_spam_vanish_all">g_spam_vanish_all</a>, <a href="#g_spam_info_hide">g_spam_info_hide</a>, <a href="#g_spam_info">g_spam_info</a>, <a href="#g_spam_internal">g_spam_internal</a>, <a href="#g_spam_noupdate">g_spam_noupdate</a>, <a href="#g_spam_notrain">g_spam_notrain</a>, <a href="#g_spam_isspam_kind">g_spam_isspam_kind</a>, <a href="#g_spam_isspam_ignore">g_spam_isspam_ignore</a>, <a href="#g_spam_aspam">g_spam_aspam</a>, <a href="#g_spam_poly">g_spam_poly</a>, <a href="#g_spam_poly_disable">g_spam_poly_disable</a>, <a href="#g_spam_private">g_spam_private</a>, <a href="#g_spam_alias_any">g_spam_alias_any</a>, <a href="#g_spam_url">g_spam_url</a>, <a href="#g_spam_catcher">g_spam_catcher</a>, <a href="#g_spam_char">g_spam_char</a>, <a href="#g_spam_notspam">g_spam_notspam</a>, <a href="#g_spam_hold_keep">g_spam_hold_keep</a>, <a href="#g_spam_hold_hide">g_spam_hold_hide</a>, <a href="#g_spam_header_trust_ip">g_spam_header_trust_ip</a>, <a href="#g_spam_share">g_spam_share</a>, <a href="#g_spam_status_hour">g_spam_status_hour</a>, <a href="#g_spam_phishing">g_spam_phishing</a></p>
<h3><a NAME="g_comment"></a>g_comment - Management notes and comments about the server</h4><p>This is a dummy setting that lets you store information in the ini file that will survive setting changes from the web admin tool.</p>
<p>Syntax: g_comment date=string name=string comment=string</p>
  <h3><a name="g_con_perip"></a>g_con_perip
    - Connections per IP</h3>
  <p>Maximum number of connections allowed
    per IP address. Primarily this is used to prevent simple denial of service
    attacks where one user could otherwise use up all the channels your system
    can support and then do nothing with them.&nbsp; </p>

<p>Syntax: g_con_perip int</p>
  <h3><a name="g_con_perip_except"></a>g_con_perip_except
    - Connections per IP exception</h3>
  <p>IP list of exception addresses
    to g_con_perip.&nbsp; </p>

<p>Syntax: g_con_perip_except string</p>
  <h3><a name="g_con_persubnet"></a>g_con_persubnet
    - Maximum concurrent connections per subnet</h3>
  <p>Maximum number of concurrent connections
    per subnet. This limits concurrent connections from a sub net, great for automatically
    stopping professional spammers who use multiple addresses. A typical setting
    might be 20. Subnet is /24. <br>
  </p>

<p>Syntax: g_con_persubnet int</p>
  <h3><a name="g_convert_percent"></a>g_convert_percent
    - Convert % signs top @ in recipient addresses</h3>
  <p>Some Spam tests send mail user%spamdomain.com@localdomain.com
    to see if a server is an open relay. If a default address is set up for the
    local domain this will be delivered to this local address and the test assumes
    the mail server is an open relay. This setting prevents this.&nbsp;
  </p>

<p>Syntax: g_convert_percent bool</p>
<h3><a NAME="g_country_ip"></a>g_country_ip - Tag messages with country of origin</h4><p>Downloads a ip to country database and then adds a header based on that to each message to show where it came from. This file IpToCountry.csv should appear in your surgemail home directory after enabling this setting (restart surgemail too), if the file doesn't appear you can download it via http://netwinsite.com/surgemail/IpToCountry.csv </p>
<p>Syntax: g_country_ip bool</p>
<p>See also: <a href="domain.htm#spam_strip">spam_strip</a>, <a href="domain.htm#spam_block">spam_block</a>, <a href="domain.htm#spam_noblock">spam_noblock</a>, <a href="#g_aspam_headers">g_aspam_headers</a>, <a href="#g_aspam_need_ip">g_aspam_need_ip</a>, <a href="#g_black_isspam">g_black_isspam</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_report_spam">g_report_spam</a>, <a href="#g_report_notspam">g_report_notspam</a>, <a href="#g_spam_allow">g_spam_allow</a>, <a href="#g_spam_allow_disable">g_spam_allow_disable</a>, <a href="#g_spam_allow_rbl">g_spam_allow_rbl</a>, <a href="#g_spam_allow_msg">g_spam_allow_msg</a>, <a href="#g_spam_block_msg">g_spam_block_msg</a>, <a href="#g_spam_allow_known">g_spam_allow_known</a>, <a href="#g_spam_allow_recent">g_spam_allow_recent</a>, <a href="#g_spam_autotrain">g_spam_autotrain</a>, <a href="#g_spam_block">g_spam_block</a>, <a href="#g_spam_block_gateway">g_spam_block_gateway</a>, <a href="#g_spam_check_auth">g_spam_check_auth</a>, <a href="#g_spam_content_disable">g_spam_content_disable</a>, <a href="#g_spam_body">g_spam_body</a>, <a href="#g_spam_body_url">g_spam_body_url</a>, <a href="#g_spam_body_more">g_spam_body_more</a>, <a href="#g_spam_folders">g_spam_folders</a>, <a href="#g_spam_folders_show">g_spam_folders_show</a>, <a href="#g_spam_flag">g_spam_flag</a>, <a href="#g_spam_from_blacklist">g_spam_from_blacklist</a>, <a href="#g_spam_grey">g_spam_grey</a>, <a href="#g_spam_grey_classc">g_spam_grey_classc</a>, <a href="#g_spam_grey_dflt">g_spam_grey_dflt</a>, <a href="#g_spam_grey_dflt_bad">g_spam_grey_dflt_bad</a>, <a href="#g_spam_grey_verify">g_spam_grey_verify</a>, <a href="#g_spam_grey_size">g_spam_grey_size</a>, <a href="#g_spam_grey_bounce">g_spam_grey_bounce</a>, <a href="#g_spam_grey_window">g_spam_grey_window</a>, <a href="#g_spam_grey_nofive">g_spam_grey_nofive</a>, <a href="#g_spam_grey_nseen">g_spam_grey_nseen</a>, <a href="#g_spam_grey_nohard">g_spam_grey_nohard</a>, <a href="#g_spam_lang">g_spam_lang</a>, <a href="#g_spam_probe">g_spam_probe</a>, <a href="#g_spam_probe_unknown">g_spam_probe_unknown</a>, <a href="#g_spam_probe_more">g_spam_probe_more</a>, <a href="#g_spam_probe_whois">g_spam_probe_whois</a>, <a href="#g_spam_subject">g_spam_subject</a>, <a href="#g_spam_subject_dom">g_spam_subject_dom</a>, <a href="#g_spam_subject_gateway">g_spam_subject_gateway</a>, <a href="#g_spam_subject_word">g_spam_subject_word</a>, <a href="#g_spam_userconfig">g_spam_userconfig</a>, <a href="#g_spam_user_max">g_spam_user_max</a>, <a href="#g_spam_from_max">g_spam_from_max</a>, <a href="#g_spam_user_skip">g_spam_user_skip</a>, <a href="#g_spam_bounce">g_spam_bounce</a>, <a href="#g_spam_bounce_text">g_spam_bounce_text</a>, <a href="#g_spam_bounce_all">g_spam_bounce_all</a>, <a href="#g_spam_bounce_trusted">g_spam_bounce_trusted</a>, <a href="#g_spam_cmd">g_spam_cmd</a>, <a href="#g_spam_cmd_if">g_spam_cmd_if</a>, <a href="#g_spam_cmd_skip">g_spam_cmd_skip</a>, <a href="#g_spam_cmd_reject">g_spam_cmd_reject</a>, <a href="#g_spam_vanish">g_spam_vanish</a>, <a href="#g_spam_vanish_all">g_spam_vanish_all</a>, <a href="#g_spam_info_hide">g_spam_info_hide</a>, <a href="#g_spam_info">g_spam_info</a>, <a href="#g_spam_internal">g_spam_internal</a>, <a href="#g_spam_noupdate">g_spam_noupdate</a>, <a href="#g_spam_notrain">g_spam_notrain</a>, <a href="#g_spam_isspam_kind">g_spam_isspam_kind</a>, <a href="#g_spam_isspam_ignore">g_spam_isspam_ignore</a>, <a href="#g_spam_aspam">g_spam_aspam</a>, <a href="#g_spam_poly">g_spam_poly</a>, <a href="#g_spam_poly_disable">g_spam_poly_disable</a>, <a href="#g_spam_private">g_spam_private</a>, <a href="#g_spam_alias_any">g_spam_alias_any</a>, <a href="#g_spam_url">g_spam_url</a>, <a href="#g_spam_catcher">g_spam_catcher</a>, <a href="#g_spam_char">g_spam_char</a>, <a href="#g_spam_notspam">g_spam_notspam</a>, <a href="#g_spam_hold_keep">g_spam_hold_keep</a>, <a href="#g_spam_hold_hide">g_spam_hold_hide</a>, <a href="#g_spam_header_trust_ip">g_spam_header_trust_ip</a>, <a href="#g_spam_share">g_spam_share</a>, <a href="#g_spam_status_hour">g_spam_status_hour</a>, <a href="#g_spam_phishing">g_spam_phishing</a>, <a href="#g_spamdetect_always">g_spamdetect_always</a></p>
  <h3><a name="g_create_allow"></a>g_create_allow
    - List of characters allowed in usernames/passwords</h3>
  <p>Defaults to A-Za-z0-9\-_. meaning
    usernames/password may contain letters, numbers, -, _ and . and nothing else.
    </p>

<p>Syntax: g_create_allow string</p>
  <h3><a name="g_create_allow_pass"></a>g_create_allow_pass
    - List of characters allowed in passwords</h3>
  <p>Settting overriding g_create_allow
    just for passwords.</p>

<p>Syntax: g_create_allow_pass string</p>
<h3><a NAME="g_create_apply"></a>g_create_apply - List of user groups to apply create_* settings for.</h4><p>This setting allows you to apply create_* settings to domain admin accounts. Specify g_access_group names and domain admins in these groups will have create_* settings applied to them when adding users in the domain admin interface.</p>
<p>Syntax: g_create_apply string</p>
  <h3><a name="g_create_badnames"></a>g_create_badnames
    - List of illegal usernames</h3>
  <p>Comma separated list of illegal
    usernames, may contain wild cards, if username contains part of a non-wild
    card or matches a wildcard it is disallowed.</p>

<p>Syntax: g_create_badnames string</p>
<h3><a NAME="g_create_cleanup"></a>g_create_cleanup - Cleanup existing data before adding a user</h4><p>This causes a delete to be actioned for a user before/as they are created. This ensures the new user does not end up with any files, on any mailing lists, with any aliases etc from a previous user of the same name/address. If you delete users from the authent database directly i.e. not using the surgemail web admin or calling 'tellmail delete_user' then this setting will cleanup the users files when their address is re-used.</p>
<p>Syntax: g_create_cleanup bool</p>
  <h3><a name="g_create_dictionary"></a>g_create_dictionary
    - File containing dictionary words to compare passwords to</h3>
  <p>Text file containing one word per
    line, passwords are compared to all words longer than 4 characters in this
    file, if a username or password contains a word in this file it is not allowed.
    Only takes effect if g_create_strict is checked.</p>

<p>Syntax: g_create_dictionary string</p>
<h3><a NAME="g_create_pass_length"></a>g_create_pass_length - Limit the length of user passwords</h4><p>This is applied during user self creation and when users change passwords. Set admin to true to restrict the domain and global admin also.</p>
<p>Syntax: g_create_pass_length min=int max=int admin=bool</p>
<h3><a NAME="g_create_record_ip"></a>g_create_record_ip - Causes surgemail to store ipnum in the authent database</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_create_record_ip bool</p>
  <h3><a name="g_create_strict"></a>g_create_strict
    - Whether to apply strict rules to usernames/passwords</h3>
  <p>Checking this causes surgemail
    to check passwords do not contain words longer than 4 characters from g_create_dictionary
    as well as requiring the password to be 6+ characters, and usernames/passwords
    to contain more than 1 character.</p>

<p>Syntax: g_create_strict bool</p>
<h3><a NAME="g_create_strict_admin"></a>g_create_strict_admin - Enforce strict rules for admins too, set g_create_strict AS WELL!! </h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_create_strict_admin bool</p>
<h3><a NAME="g_create_user_length"></a>g_create_user_length - Limit the length of usernames</h4><p>This is applied during user self creation. Set admin to true to restrict the domain and global admin also.</p>
<p>Syntax: g_create_user_length min=int max=int admin=bool</p>
<h3><a NAME="g_dbabble_links"></a>g_dbabble_links - Add web links to DBabble from other web interfaces (and vice versa)</h4><p>This causes links to appear in the DBabble interface to switch to using WebMail (and SurgePlus if you have the g_surgeplus_links setting on).</p>
<p>Syntax: g_dbabble_links bool</p>
<p>See also: <a href="#g_dbabble_smtp_port">g_dbabble_smtp_port</a>, <a href="#g_dbabble_smtp_prefix">g_dbabble_smtp_prefix</a></p>
<h3><a NAME="g_dbabble_smtp_port"></a>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)</h4><p>This setting specifies the port that DBabble listens on. DBabble looks at surgemail.ini and if it sees this setting, overrides it's own setting with this value. When you save changes to this setting from within the SurgeMail DBabble admin interface, SurgeMail automatically sets appropriate values for the g_redirect_iflocal and g_gateway settings.</p>
<p>Syntax: g_dbabble_smtp_port int</p>
<p>See also: <a href="#g_dbabble_smtp_prefix">g_dbabble_smtp_prefix</a>, <a href="#g_dbabble_links">g_dbabble_links</a></p>
<h3><a NAME="g_dbabble_smtp_prefix"></a>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)</h4><p>This setting is used in conjunction with the dbabble_smtp_port setting to forward all mail with the specified prefix on to DBabble.</p>
<p>Syntax: g_dbabble_smtp_prefix string</p>
<p>See also: <a href="#g_dbabble_smtp_port">g_dbabble_smtp_port</a>, <a href="#g_dbabble_links">g_dbabble_links</a></p>
<h3><a NAME="g_debug_crt"></a>g_debug_crt - Some CRT debugging on windows, do not use</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_debug_crt bool</p>
<h3><a NAME="g_debug_free"></a>g_debug_free - Check free memory isn't corrupted - slows performance slightly</h4><p>This is for tracking a particular bug, not for general use</p>
<p>Syntax: g_debug_free bool</p>
<h3><a NAME="g_debug_ini"></a>g_debug_ini - Debugging, don't use this</h4><p>This is a temp setting used for testing</p>
<p>Syntax: g_debug_ini bool</p>
<h3><a NAME="g_debug_vanished"></a>g_debug_vanished - Name of file to check for, if file vanishes, crash</h4><p>This is for tracking a particular bug, not for general use</p>
<p>Syntax: g_debug_vanished string</p>
<h3><a NAME="g_delete_exclude"></a>g_delete_exclude - Field and value that excludes an account from g_delete_user_after</h4><p>If the authent response includes this field/value pair then the user account will not expire</p>
<p>Syntax: g_delete_exclude field=string value=string</p>
<p>Example: field="noexpire" value="true"</p>
<p>See also: <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_authent_always">g_authent_always</a>, <a href="#g_authent_any">g_authent_any</a>, <a href="#g_authent_allow_badascii">g_authent_allow_badascii</a>, <a href="#g_authent_prefix_sep">g_authent_prefix_sep</a>, <a href="#g_authent_process">g_authent_process</a>, <a href="#g_authent_cachelife">g_authent_cachelife</a>, <a href="#g_authent_cachebad">g_authent_cachebad</a>, <a href="#g_authent_cachesize">g_authent_cachesize</a>, <a href="#g_authent_domain">g_authent_domain</a>, <a href="#g_authent_encrypt_key">g_authent_encrypt_key</a>, <a href="#g_authent_number">g_authent_number</a>, <a href="#g_authent_info">g_authent_info</a>, <a href="#g_authent_info_grp">g_authent_info_grp</a>, <a href="#g_authent_ip">g_authent_ip</a>, <a href="#g_authent_path_broken">g_authent_path_broken</a>, <a href="#g_authent_single">g_authent_single</a>, <a href="#g_authent_spaces">g_authent_spaces</a>, <a href="#g_authent_strip_domain">g_authent_strip_domain</a>, <a href="#g_authent_restart">g_authent_restart</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_fwdfile">g_authent_fwdfile</a>, <a href="#g_authent_timeout">g_authent_timeout</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_auth_hide">g_auth_hide</a>, <a href="#g_auth_norelay">g_auth_norelay</a>, <a href="#g_auth_skipgateway">g_auth_skipgateway</a></p>
  <h3><a name="g_delete_user_after"></a>g_delete_user_after
    - Number of days an account can remain unread before it is deleted</h3>
  <p>DO NOT USE THIS SETTING IN A MIRROR/CLUSTER
    SETUP</p>
  <p>Number of days an account can remain
    unread before it is deleted. This setting cannot be used on an authent_domain
    FALSE domain unless it has a <a href="#prefix">prefix</a> setting.</p>
  

<p>Syntax: g_delete_user_after int</p>
<h3><a name="g_delete_user_mode"></a>g_delete_user_mode - What to do when an account 
  is unread </h3>
  <p>DO NOT USE THIS SETTING IN A MIRROR/CLUSTER
    SETUP</p>
  
<p>You can set this to &quot;file&quot; or &quot;suspend&quot;. &quot;file&quot; 
  causes accounts to be written to the users_delete.rec file, which you can action 
  by running &quot;tellmail delete_user FILE&quot; or &quot;tellmail delete_user 
  FILE users_delete.rec&quot; (optionally specify the file). &quot;suspend&quot; 
  causes accounts to be suspend, it does this by setting the field and value specified 
  in the <a href="#g_delete_user_suspend">g_delete_user_suspend</a> setting. </p>
<p>If this setting is blank the default is to use 'file' mode, accounts are NEVER 
  deleted automatically except in the very oldest versions of surgemail (before 
  version 3)</p>

<p>Syntax: g_delete_user_mode string</p>
  <h3><a name="g_delete_user_suspend"></a>g_delete_user_suspend
    - If suspending an unread account set this field/value</h3>
  <p>DO NOT USE THIS SETTING IN A MIRROR/CLUSTER
    SETUP</p>
  <p>Set the field and value to use
    when suspending an account due to <a href="#g_delete_user_after">g_delete_user_after</a>
    and the <a href="#g_delete_user_mode">g_delete_user_mode</a> &quot;suspend&quot;
    settings. </p>

<p>Syntax: g_delete_user_suspend field=string value=string</p>
  <h3><a name="g_deny"></a>g_deny -
    Deny users from some IP ranges</h3>
  <p>Block known spammers etc by IP
    address. You can use wild cards and 'not' signs, e.g. "!*,127.*,10.*"&nbsp;
  </p>

<p>Syntax: g_deny string</p>
  <h3><a name="g_deny_msg"></a>g_deny_msg
    - Deny message</h3>
  <p>Message to give to users who are
    disconnected due to the above 'deny' setting.&nbsp; </p>

<p>Syntax: g_deny_msg string</p>
  <h3><a name="g_deny_smtp"></a>g_deny_smtp
    - Deny SMTP based on IP address</h3>
  <p>Block users from some IP ranges
    connecting to SMTP only.&nbsp; </p>

<p>Syntax: g_deny_smtp string</p>
<h3><a NAME="g_disable_exclude"></a>g_disable_exclude - Field and value that excludes an account from g_disable_smtp_after</h4><p>If the authent response includes this field/value pair then the user account will not be disabled from receiving messages</p>
<p>Syntax: g_disable_exclude field=string value=string</p>
<p>Example: field="noexpire" value="true"</p>
<p>See also: <a href="#g_disable_smtp_after">g_disable_smtp_after</a></p>
<h3><a NAME="g_disable_skip"></a>g_disable_skip - Ip address of senders to accept email from even if user account is disabled due to g_disable_smtp_after</h4><p>Useful to ensure delivery for important company notices</p>
<p>Syntax: g_disable_skip string</p>
  <h3><a name="g_disable_smtp_after"></a>g_disable_smtp_after
    - Number of days an account can remain unread before delivery is disabled</h3>
  <p>DO NOT USE THIS SETTING IN A MIRROR/CLUSTER
    SETUP</p>
  <p>Number of days an account can remain
    unread before delivery is disabled.&nbsp; </p>

<p>Syntax: g_disable_smtp_after int</p>
  <h3><a name="g_disable_surgeplus"></a>g_disable_surgeplus
    - Disable SurgePlus Calendar and File Sharing client </h3>
  <p> Disable users from logging in
    using the SurgePlus Calendar and File Sharing client. See <a href="surgeplus.htm">SurgePlus</a>
     </p>

<p>Syntax: g_disable_surgeplus bool</p>
<p>See also: <a href="domain.htm#old_xfile">old_xfile</a>, <a href="domain.htm#xfile_url">xfile_url</a>, <a href="domain.htm#disable_surgeplus">disable_surgeplus</a>, <a href="domain.htm#surgeplus_pop_server_name">surgeplus_pop_server_name</a>, <a href="domain.htm#surgeplus_smtp_server_name">surgeplus_smtp_server_name</a>, <a href="#g_xfile_allow">g_xfile_allow</a>, <a href="#g_surgeplus_links">g_surgeplus_links</a>, <a href="#g_disable_surgeplus_updates">g_disable_surgeplus_updates</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a>, <a href="#g_surgeplus_port">g_surgeplus_port</a>, <a href="#g_surgeplus_secure_port">g_surgeplus_secure_port</a>, <a href="#g_surgeplus_web_port">g_surgeplus_web_port</a>, <a href="#g_surgeplus_web_url">g_surgeplus_web_url</a>, <a href="#g_surgeplus_hide_client_downloads">g_surgeplus_hide_client_downloads</a>, <a href="#g_surgeplus_pop_server_name">g_surgeplus_pop_server_name</a>, <a href="#g_surgeplus_smtp_server_name">g_surgeplus_smtp_server_name</a>, <a href="#g_surgeplus_delay_tell_upgrade">g_surgeplus_delay_tell_upgrade</a>, <a href="#g_surgeplus_delay_tell_upgrade_exempt">g_surgeplus_delay_tell_upgrade_exempt</a>, <a href="#g_surgeplus_online">g_surgeplus_online</a></p>
  <h3><a name="g_disable_surgeplus_updates"></a>g_disable_surgeplus_updates
    - Disable automated downloading of new versions of SurgePlus client from netwinsite.com
    </h3>
  <p> New versions of the SurgePlus
    client are automatically downloaded from netwinsite.com and made available
    for download form your server by your users. See <a href="surgeplus.htm">SurgePlus</a>
     </p>

<p>Syntax: g_disable_surgeplus_updates bool</p>
<p>See also: <a href="domain.htm#disable_surgeplus">disable_surgeplus</a>, <a href="#g_disable_surgeplus">g_disable_surgeplus</a>, <a href="#g_surgeplus_delay_tell_upgrade">g_surgeplus_delay_tell_upgrade</a>, <a href="#g_surgeplus_delay_tell_upgrade_exempt">g_surgeplus_delay_tell_upgrade_exempt</a></p>
<h3><a NAME="g_diskio_abort"></a>g_diskio_abort - Shutdown if diskIO failure on queue files</h4><p>Intended to make server die rather than to pretend to keep running when a major disk fault has occurred</p>
<p>Syntax: g_diskio_abort bool</p>
<h3><a NAME="g_dlist_nolocal"></a>g_dlist_nolocal - Remove add local button from mailing lists</h4><p>Prevents address havesting etc by users - strongly recommended on public servers, not necessary on small or private servers</p>
<p>Syntax: g_dlist_nolocal bool</p>
  <h3><a name="g_dlist_nostart"></a>g_dlist_nostart
    - Disable dlist</h3>
  <p>If set disable (do not attempt
    to start) dlist for DMail compatibility mode..&nbsp; </p>

<p>Syntax: g_dlist_nostart bool</p>
  <h3><a name="g_dlist_path"></a>g_dlist_path
    - Path for dlist</h3>
  <p>DList Path normally defaults to
    $g_home/dlist.</p>

<p>Syntax: g_dlist_path string</p>
<h3><a NAME="g_dns_cache_size"></a>g_dns_cache_size - Set size of forward dns cache, default 7000</h4><p>Best not to change this normally</p>
<p>Syntax: g_dns_cache_size int</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
  <h3><a name="g_dns_host"></a>g_dns_host
    - DNS host(s) for MX lookups</h3>
  <p>This setting can normally be left
    blank as the mail server will find your system DNS settings. However, you
    can specify one or more DNS servers for the mail server to use instead to
    lookup names.&nbsp; </p>

  <p>DNS lookups are cached to disk
    so SurgeMail will generally continue to work even if your dns server is temporarily
    unavailable.</p>
  <p>Test your dns server with this
    command. If working it should return two ip addresses for that domain.</p>
  <pre> 	tellmail dns_test &quot;netwinsite.com&quot;</pre>
  <p>Prior to SurgeMail 2.0h dns lookups
    were done using tcp instead of udp, they are now down with UDP unless the
    response exceeds UDP packet size (as per RFC).</p>
  <p><b>NOTE: All dns servers listed
    in this setting must be fully recursive, a non recursive dns server will create
    many dns lookup failures!</b></p>


<p>Syntax: g_dns_host string</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_match_msg"></a>g_dns_match_msg - Message for stamp or bounce if forward and reverse lookup don't match</h4><p>The message given to the user when the forwar/reverse dns lookup doesn't match</p>
<p>Syntax: g_dns_match_msg string</p>
<p>Example: "Sorry your ip address doesn't translate into a name that translates into your ip address"</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
  <h3><a name="g_dns_nlookup"></a>g_dns_nlookup
    - Concurrent MX lookups</h3>
  <p>Concurrent DNS lookups to send
    to DNS server (Default=20) (not used after version 2.0h)</p>

<p>Syntax: g_dns_nlookup int</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_nocache"></a>g_dns_nocache - Disables DNS cache for spf lookups (20 minute life)</h4><p>This setting disables the small cache used for SPF lookups to improve performance.</p>
<p>Syntax: g_dns_nocache bool</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_noptr"></a>g_dns_noptr - Set to reject or retry, for ip addresses with no reverse dns entry (rdns)</h4><p>If the ip number of a connecting user has no associated name in the reverse dns database then the connection is rejected or told to retry later.</p>
<p>Syntax: g_dns_noptr string</p>
<p>Example: "retry"</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_noptr_msg"></a>g_dns_noptr_msg - Message for stamp or bounce if DNS lookup fails on ip address</h4><p>See short description.</p>
<p>Syntax: g_dns_noptr_msg string</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_noptr_skip"></a>g_dns_noptr_skip - Skip RDNS for these ip addresses</h4><p>This is an over-ride for local addresses which you trust.</p>
<p>Syntax: g_dns_noptr_skip string</p>
<p>Example: "retry"</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
  <h3><a name="g_dns_paranoid"></a>g_dns_paranoid
    - Compare sender forward and reverse dns lookup and see if they match</h3>
  <p>Does a forward DNS lookup on the
    sender's domain and matches this with a reverse lookup of the senders IP address.
    If these do not match the message is either bounced or stamped with the header
    &quot;X-DNS-Paranoid: &lt;explanation&gt;&quot;. Valid values for this field
    are &quot;STAMP&quot;,&quot;RETRY&quot; and &quot;REJECT&quot;.</p>
  <p>STAMP = Add the X-DNS-Paranoid header if it fails</p>
  <p>RETRY = Bounce the message with a 450 error. (so if the failure was temporary
    the sending server will retry)</p>
  <p>REJECT = Bounce the message with a 550 error</p>
  <p>Set g_dns_lookup_msg or g_dns_match_msg to define the reject/stamp strings
    respectively.</p>
  <h3>g_dns_require - Require reverse
    DNS names match</h3>

  <p>Require MAIL FROM header to match
    the reverse dns lookup based of the sender based on the sender's IP.</p>
  <p>eg. from=*@hotmail.com hosts=*hotmail.com
    </p>


<p>Syntax: g_dns_paranoid string</p>
<p>See also: <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_require"></a>g_dns_require - Require MAIL FROM header matches senders ip reverse dns</h4><p>This setting predates SPF which does the same sort of thing on a grander scale, no longer needed.</p>
<p>Syntax: g_dns_require from=string hosts=string</p>
<p>Example: from=*@hotmail.com hosts=*hotmail.com</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_system"></a>g_dns_system - Use system code to do reverse lookups</h4><p>If all channels hang in a state 'lookup' then turn this off so it will use the surgemail code for reverse dns lookups. This setting used to be g_dns_lookup and had the opposite meaning, we reversed it because the system dns code was faulty so often</p>
<p>Syntax: g_dns_system bool</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_dns_translate"></a>g_dns_translate - If mx response is x.x.x.x translate to y.y.y.y:port</h4><p>Useful for translating ip numbers inside a local intranet and doing other fancy routing of various sorts.</p>
<p>Syntax: g_dns_translate from=string to=string</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_domadmin_utoken_expire"></a>g_domadmin_utoken_expire - Length of time a domain admin login token is valid for in seconds</h4><p>Default unit is seconds. You can specify units e.g. 3 minutes, 10 hours etc... </p>
<p>Syntax: g_domadmin_utoken_expire int</p>
<h3><a NAME="g_domadmin_utoken_idle"></a>g_domadmin_utoken_idle - Length of time a domain admin login token may remain idle for</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_domadmin_utoken_idle int</p>
  <h3><a name="g_domain_default"></a>g_domain_default
    - Default domain when POP/IMAP user does not specify one</h3>
  <p>This is probably not what you think
    it is, generally the 'first' domain in surgemail.ini is used in this situation,
    but in some instances, when using domuser.dat for example to translate users
    back to virtual domains, you will want the default domain to be a 'generic'
    made up domain that doesn't really exist. </p>
  <p>For example lets say you have users
    fred@a.com, bob@b.com, then in domusers.dat you have</p>
  <p>fred@a.com fred@a.com<br>
    bob@b.com bob@b.com<br>
    bob@xxx bob@b.com<br>
    fred@xxx fred@a.com</p>
  <p>And the result is that users who
    login to pop as bob or fred, will be correctly mapped to the correct virtual
    domain user even though the actual domain is different in those two cases.</p>
  <p>Clear as mud I expect?</p>

<p>Syntax: g_domain_default string</p>
  <h3><a name="g_domain_list_max"></a>g_domain_list_max
    - Maximum number of domains to list at once</h3>
  <p>Maximum number of domains to list
    at once in the admin user interface.&nbsp;</p>

<p>Syntax: g_domain_list_max int</p>
  <h3><a name="g_domain_separator"></a>g_domain_separator
    - Separator characters for virtual POP</h3>
  <p>For POP logins where your virtual
    domain is NOT distinguished by IP address users can login with 'user@domain'
    or user/domain.name etc and the mail server will pickup the domain name correctly.
    By default only 'user@domain.name' is accepted unless this setting is used
    which can be useful for brain dead mail clients which don't allow the user
    to specify 'user@domain.name' as the username eg:</p>
  <p>g_domain_separator &quot;/&quot;</p>

<p>Syntax: g_domain_separator string</p>
<h3><a NAME="g_domainkeys_check"></a>g_domainkeys_check - Check incoming DomainKeys signatures (beta may be unstable)</h4><p>See domainkeys.htm</p>
<p>Syntax: g_domainkeys_check bool</p>
<h3><a NAME="g_domainkeys_headers"></a>g_domainkeys_headers - List which headers to sign</h4><p>This will help get the message through gateways without breaking the signature, try a single header, e.g. from</p>
<p>Syntax: g_domainkeys_headers string</p>
<h3><a NAME="g_domainkeys_only"></a>g_domainkeys_only - Domains to sign for outgoing email</h4><p>Normally all local domains are signed, but if this setting exists then it is used instead so you must list local domains as well as non local ones you want to sign messages for. G_domainkeys_sign must also be set to true! </p>
<p>Syntax: g_domainkeys_only string</p>
<h3><a NAME="g_domainkeys_selector"></a>g_domainkeys_selector - Policy name for your server (used creating dns entry for domainkeys)</h4><p>This defines the dns entry name for your policy record and public key entry in your dns.  See domainkeys.htm for details</p>
<p>Syntax: g_domainkeys_selector string</p>
<h3><a NAME="g_domainkeys_sign"></a>g_domainkeys_sign - Sign outgoing messages (create a key first using web admin)</h4><p>To turn off domainkeys for some domains see the per domain setting, domainkeys_disable. See domainkeys.htm for more info.</p>
<p>Syntax: g_domainkeys_sign bool</p>
  <h3><a name="g_domuser_file"></a>g_domuser_file
    - Domain users to thousands of virtual domains easily</h3>
  <p>Specifies a file which contains
    lines that translate an email address to the username that should be looked
    up in the database. This file can contain a domain name not previously specified
    in surgemail.ini allowing you to create unique sub-domain addresses. eg:</p>
  <p>g_domuser_file &quot;c:\surgemail\domuser.dat&quot;</p>
  <p>Example entries...</p>
  <p>*@domain.com postmaster@domain.com<br>
    userA@domain.com userB@domain.com<br>
    firstname@lastname.domain.com firstname@lastname.domain.com</p>

<p>Syntax: g_domuser_file string</p>
  <h3><a name="g_dotlock_minutes"></a>g_dotlock_minutes
    - NFS lock waits</h3>
  <p>Minutes to wait for nfs lock file,
    default 20 minutes.</p>

<p>Syntax: g_dotlock_minutes int</p>
  <h3><a name="g_dotstuff_fix"></a>g_dotstuff_fix
    - Convert the way mail is stored on disk from dotstuffed to non dot stuffed
    (beta) </h3>
  <p>In the dotstuffed format any attachments
    that have content (in encoded format) starting with a . get corrupted, as
    all single '.' characters at the start of a line are converted to '..'. This
    is only very seldomly an issue as encoded text doesn't usually have . characters.
    This feature can only be enabled and still need furhter production level testing
    to make sure there are no side effects... so if you play with it consider
    yourself adequately warned :-)</p>

<p>Syntax: g_dotstuff_fix bool</p>
<h3><a NAME="g_download"></a>g_download - Fetch an http file and do an ini reload</h4><p>Can be used with g_include to have settings fetched from a central location, the file is fetched once an hour.</p>
<p>Syntax: g_download url=string user=string pass=string local=string</p>
  <h3><a name="g_drop_use_len"></a>g_drop_use_len
    - Use the content-len header for drop file processing </h3>
  <p>For use on Solaris when using sendmail
    for incoming mail delivery.</p>

<p>Syntax: g_drop_use_len bool</p>
<h3><a NAME="g_dsn_enable"></a>g_dsn_enable - Enable DSN (Delivery Status Notification) esmtp extension.</h4><p>Not recommended. Delivery Status Notification is used by spammers to find addresses to spam to.</p>
<p>Syntax: g_dsn_enable bool</p>
<p>See also: <a href="#g_dsn_nofinal">g_dsn_nofinal</a></p>
<h3><a NAME="g_dsn_nofinal"></a>g_dsn_nofinal - Try not to show real final recepients but just original recipients</h4><p>This setting helps hide internal addresses in bounce messages (after forwarding etc). Not recommended.</p>
<p>Syntax: g_dsn_nofinal bool</p>
<p>See also: <a href="#g_dsn_enable">g_dsn_enable</a></p>
<h3><a NAME="g_ehlo_simple"></a>g_ehlo_simple - Ip addresses to give simple ehlo respone to</h4><p>This is a debugging setting, do not use.</p>
<p>Syntax: g_ehlo_simple string</p>
<h3><a NAME="g_encrypt_expire"></a>g_encrypt_expire - Days to keep encrypted messages, default 60</h4><p>When a message is sent via encryption it is deleted after this many days</p>
<p>Syntax: g_encrypt_expire int</p>
<h3><a NAME="g_encrypt_inline"></a>g_encrypt_inline - Use INLINE method by default</h4><p>Sets the default encryption method when a rule does not apply</p>
<p>Syntax: g_encrypt_inline bool</p>
<h3><a NAME="g_encrypt_max"></a>g_encrypt_max - Max encrypted per day server wide</h4><p>Server wide limit to prevent abuse (or accidental over use)</p>
<p>Syntax: g_encrypt_max int</p>
<h3><a NAME="g_encrypt_path"></a>g_encrypt_path - Path to encrypted files, this is not supported when mirroring!</h4><p>DO NOT USE</p>
<p>Syntax: g_encrypt_path string</p>
<h3><a NAME="g_encrypt_pw_host"></a>g_encrypt_pw_host - Central host for encryption password storage</h4><p>DO NOT USE</p>
<p>Syntax: g_encrypt_pw_host string</p>
<h3><a NAME="g_encrypt_pw_key"></a>g_encrypt_pw_key - Central host password key</h4><p>DO NOT USE</p>
<p>Syntax: g_encrypt_pw_key string</p>
<h3><a NAME="g_encrypt_reply_plain"></a>g_encrypt_reply_plain - Send plain message for local replies</h4><p>By default a reply to a local user is also encrypted this makes it not encrypt the reply as user should be reading the message via SSL so the data is secure anyway.</p>
<p>Syntax: g_encrypt_reply_plain bool</p>
<h3><a NAME="g_encrypt_ssl_force"></a>g_encrypt_ssl_force - Require ssl on incoming encrypted messages</h4><p>When a message is going to be encrypted this setting ensures it is sent from the user to the server via SSL</p>
<p>Syntax: g_encrypt_ssl_force bool</p>
<h3><a NAME="g_encrypt_ssl_noforce"></a>g_encrypt_ssl_noforce - Exceptions, e.g. surgeweb or localhost</h4><p>When a message is going to be encrypted this setting ensures it is sent from the user to the server via SSL</p>
<p>Syntax: g_encrypt_ssl_noforce string</p>
<h3><a NAME="g_encrypt_surgeweb_show"></a>g_encrypt_surgeweb_show - Show SurgeVault in SurgeWeb</h4><p>Enables the display of surgevault encryption in the surgeweb interface (can be modified using encrypt_hide on surgeweb customisation page)</p>
<p>Syntax: g_encrypt_surgeweb_show bool</p>
<h3><a NAME="g_enotify_from"></a>g_enotify_from - From address to use in email notification messages</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_enotify_from string</p>
<h3><a NAME="g_eof_fix_off"></a>g_eof_fix_off - Turns off auto stripping of control+Z</h4><p>These characters can break some mail clients and should not appear in normal emails</p>
<p>Syntax: g_eof_fix_off bool</p>
<h3><a NAME="g_error_xlate"></a>g_error_xlate - Change error messages</h4><p>If wild card string matches smtp response code, then replace with 'to' response code, use %1 to replace the first wild card match etc...</p>
<p>Syntax: g_error_xlate was=string to=string</p>
<h3><a NAME="g_expire_every"></a>g_expire_every - Only expire spool once every 'n' days</h4><p>Reduce load spent expiring old messages.</p>
<p>Syntax: g_expire_every int</p>
<p>See also: <a href="domain.htm#expire_age">expire_age</a>, <a href="domain.htm#expire_size">expire_size</a>, <a href="domain.htm#expire_rule">expire_rule</a>, <a href="#g_encrypt_expire">g_encrypt_expire</a>, <a href="#g_expire_trash">g_expire_trash</a>, <a href="#g_expire_silent">g_expire_silent</a>, <a href="#g_expire_warning">g_expire_warning</a>, <a href="#g_user_utoken_expire">g_user_utoken_expire</a>, <a href="#g_admin_utoken_expire">g_admin_utoken_expire</a>, <a href="#g_domadmin_utoken_expire">g_domadmin_utoken_expire</a></p>
<h3><a NAME="g_expire_silent"></a>g_expire_silent - Don't send users emails telling them what was expired.</h4><p>Some users get upset when they find messages have expired, this setting makes the expiration silent so the users don't even notice. I think this is a bit nuts myself but some admins prefer it</p>
<p>Syntax: g_expire_silent bool</p>
<p>See also: <a href="domain.htm#expire_age">expire_age</a>, <a href="domain.htm#expire_size">expire_size</a>, <a href="domain.htm#expire_rule">expire_rule</a>, <a href="#g_encrypt_expire">g_encrypt_expire</a>, <a href="#g_expire_trash">g_expire_trash</a>, <a href="#g_expire_every">g_expire_every</a>, <a href="#g_expire_warning">g_expire_warning</a>, <a href="#g_user_utoken_expire">g_user_utoken_expire</a>, <a href="#g_admin_utoken_expire">g_admin_utoken_expire</a>, <a href="#g_domadmin_utoken_expire">g_domadmin_utoken_expire</a></p>
<h3><a NAME="g_expire_trash"></a>g_expire_trash - Expire any messages found in trash folders</h4><p>Expires any messages more than 7 days old found in the 'trash' folder.</p>
<p>Syntax: g_expire_trash bool</p>
<p>See also: <a href="domain.htm#expire_age">expire_age</a>, <a href="domain.htm#expire_size">expire_size</a>, <a href="domain.htm#expire_rule">expire_rule</a>, <a href="#g_encrypt_expire">g_encrypt_expire</a>, <a href="#g_expire_silent">g_expire_silent</a>, <a href="#g_expire_every">g_expire_every</a>, <a href="#g_expire_warning">g_expire_warning</a>, <a href="#g_user_utoken_expire">g_user_utoken_expire</a>, <a href="#g_admin_utoken_expire">g_admin_utoken_expire</a>, <a href="#g_domadmin_utoken_expire">g_domadmin_utoken_expire</a></p>
<h3><a NAME="g_expire_warning"></a>g_expire_warning - Give warning 'n' days before deleting each file </h4><p>This will help warn users before a file is actually deleted.</p>
<p>Syntax: g_expire_warning int</p>
<p>See also: <a href="domain.htm#expire_age">expire_age</a>, <a href="domain.htm#expire_size">expire_size</a>, <a href="domain.htm#expire_rule">expire_rule</a>, <a href="#g_encrypt_expire">g_encrypt_expire</a>, <a href="#g_expire_trash">g_expire_trash</a>, <a href="#g_expire_silent">g_expire_silent</a>, <a href="#g_expire_every">g_expire_every</a>, <a href="#g_user_utoken_expire">g_user_utoken_expire</a>, <a href="#g_admin_utoken_expire">g_admin_utoken_expire</a>, <a href="#g_domadmin_utoken_expire">g_domadmin_utoken_expire</a></p>
<h3><a NAME="g_external_ip_disable"></a>g_external_ip_disable - Do not add X-External-IP header</h4><p>Please note you may wish to remove x_originating_ip true from webmail.ini as well</p>
<p>Syntax: g_external_ip_disable bool</p>
  <h3><a NAME="g_fallback"></a>g_fallback
  - Fallback address</h3>
  <p>Default address for all local domains.
    If a local delivery is not to any valid user Emails will be delivered to this
    address. There is also a per domain default.&nbsp; </p>
  <p>We want to stress that this is a dangerous setting, you use at your own peril.<br>
    Spammers will turn up to your server and test sending to accounts, they will
    just run through a dictionary of names, with a fallback setting you will be
    telling the spammer that all these accounts exist. The spammer will then deliver
    spam to these addresses in volumes that can cripple a server almost. </p>

<p>Syntax: g_fallback string</p>
<h3><a NAME="g_fallback_relay_if_exists"></a>g_fallback_relay_if_exists - Use FALLBACK_RELAY if not logged in but user exists (OLD_POPHOST_CREATEUSER_DISABLE)</h4><p>This can be used to relay users where you have a user database that can be checked on the front end system directly (odbcauth, tcpauth, etc)</p>
<p>Syntax: g_fallback_relay_if_exists bool</p>
<p>See also: <a href="domain.htm#surgewall">surgewall</a>, <a href="domain.htm#surgewall_auth">surgewall_auth</a>, <a href="domain.htm#surgewall_local_too">surgewall_local_too</a>, <a href="domain.htm#surgewall_options">surgewall_options</a>, <a href="domain.htm#surgewall_capa_local">surgewall_capa_local</a>, <a href="#g_surgewall_split">g_surgewall_split</a></p>
  <h3><a name="g_filter_max"></a>g_filter_max
    - Max size of messages to send through the filter pipe</h3>
  <p> Messages over this size (in bytes)
    are skipped. default = no limit</p>

<p>Syntax: g_filter_max int</p>
  <h3><a name="g_filter_n"></a>g_filter_n
    - Number of filters to run simultaneously</h3>

  <p> Default is 20, when this limit
    is reached the incoming thread waits a few seconds then skips the filter
    if necessary, this is intended to prevent a log jam/melt down effect.</p>

<p>Syntax: g_filter_n int</p>
  <h3><a NAME="g_filter_pipe"></a>g_filter_pipe
    - Filter pipe allowing external message processing</h3>
  <p> This allows external applications
    to filter and modify incoming messages. Example: Integration with Spam Assassin
    (on UNIX) could be achieved as follows:</p>
  <p> g_filter_pipe "/usr/local/bin/spamassassin
    -P" </p>
  <p>it expects a normal unix 'filter' so, read the message on 'stdin' and write
    the identical (or modified) message to 'stdout'.</p>

  <p>The input will be 'crlf' terminated and so should the output file.</p>
  <p>That's all you can do with this mechanism, if you want to bounce the message
    or flag it as spam you 'add' a header and then use something in surgemail
    to detect and act on the header you've added (mfilter)</p>


<p>Syntax: g_filter_pipe string</p>
<h3><a NAME="g_filter_pipe_noauth"></a>g_filter_pipe_noauth - Skip for auth users</h4><p>Skip for authenticated users</p>
<p>Syntax: g_filter_pipe_noauth bool</p>
<h3><a NAME="g_filter_pipe_skip"></a>g_filter_pipe_skip - Skip filter if ip matches this</h4><p>Set this for local servers that don't need filtering, e.g. mailing list servers, local trusted robots.</p>
<p>Syntax: g_filter_pipe_skip string</p>
  <h3><a name="g_filter_timeout"></a>g_filter_timeout
    - Filter pipe timeout</h3>

  <p> Filter timeout (g_filter_pipe)
    in seconds, default is 360.</p>

<p>Syntax: g_filter_timeout int</p>
<h3><a NAME="g_fix_crcrlf"></a>g_fix_crcrlf - Fix email messages containing crcrlf for line termination</h4><p>This is best not used, it's best to fix the faulty email application, results are not gauranteed.</p>
<p>Syntax: g_fix_crcrlf bool</p>
<h3><a NAME="g_fix_imap_lf"></a>g_fix_imap_lf - During IMAP import fix email messages containing lf</h4><p>This is best not used, it's best to fix the faulty email server, results are not gauranteed.</p>
<p>Syntax: g_fix_imap_lf bool</p>
  <h3><a name="g_footer_file"></a>g_footer_file
    - Footer file</h3>
  <p>Footer file which is appended to
    all plain text mail messages. </p>

<p>Syntax: g_footer_file string</p>
  <h3><a name="g_footer_html"></a>g_footer_html
    - Footer file (HTML mail)</h3>
  <p>Footer file which is appended to
    all HTML mail messages.</p>

<p>Syntax: g_footer_html string</p>
<h3><a NAME="g_footer_notfound"></a>g_footer_notfound - Only add footer if footer is not in message already</h4><p>This works by examining the message contents to try and find part of the footer.</p>
<p>Syntax: g_footer_notfound bool</p>
  <h3><a name="g_footer_send"></a>g_footer_send
    - Footer file (outbound only)</h3>
  <p>Plain text footer file which is
    appended to all outbound mail messages only.</p>

<p>Syntax: g_footer_send string</p>
  <h3><a name="g_footer_sendonly"></a>g_footer_sendonly
    - Enable outbound footer</h3>
  <p>Add g_footer_send to all messages
    when sending to non local users.</p>


<p>Syntax: g_footer_sendonly bool</p>
<h3><a NAME="g_footer_skip"></a>g_footer_skip - Skip footers for these users</h4><p>This skips the footer for matching users (e.g. cell phones etc)</p>
<p>Syntax: g_footer_skip string</p>
<h3><a NAME="g_footer_trusted"></a>g_footer_trusted - Only add footers if sender is trusted</h4><p>This prevents the footer from being added for a message that pretends to come from your domain.</p>
<p>Syntax: g_footer_trusted bool</p>
<h3><a NAME="g_forward_attach"></a>g_forward_attach - When late forwarding send as attachment to these domains</h4><p>Useful with hotmail.com, aol.com etc so that forwarded messages are not mistaken for spam</p>
<p>Syntax: g_forward_attach string</p>
  <h3><a name="g_forward_illegal"></a>g_forward_illegal - Prevents users setting forward rules to certain addresses</h3>
  <p>Syntax: g_forward_illegal to=&quot;address&quot; apply=&quot;user type &quot;</p>
  <p>This setting allows you to specify some addresses as being illegal for certain users. This stops users setting up forwarding rules to these addresses. They can still send mail to these addresses manually with their email client. These rules _ONLY_ apply to non local domains. </p>
  <p>Some examples:</p>
  <p>If you want to stop your users setting up forward rules that redirect to aol.com.<br>
    g_forward_illegal to=&quot;*@aol.com&quot; apply=&quot;user&quot;</p>
  <p>If you want to stop your users setting a forward to all domains except aol.com<br>
  g_forward_illegal to=&quot;*,!*@aol.com&quot; apply=&quot;user&quot;</p>
  <p>Stop domain admins sending to aol.com <br>
  g_forward_illegal to=&quot;*@aol.com&quot; apply=&quot;domadmin&quot;</p>
  <p>Stop admins sending to netwinsite.com <br>
    g_forward_illegal to=&quot;*@netwinsite.com&quot; apply=&quot;admin&quot;</p>

<p>Syntax: g_forward_illegal to=string apply=string</p>
<h3><a NAME="g_forward_oops"></a>g_forward_oops - Internal testing setting, not for general use sorry</h4><p>Testing setting, please do not use.</p>
<p>Syntax: g_forward_oops string</p>
<h3><a NAME="g_friends_add_trusted"></a>g_friends_add_trusted - Add to friends list when if sender is trusted</h4><p>This is useful if senders are not using smtp auth but you still want friends to be added, typically used with surgewall...</p>
<p>Syntax: g_friends_add_trusted bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_allow_spf"></a>g_friends_allow_spf - Allow all email through as if it was a friend during temporary allow</h4><p>The user click on a button to disable friends for a few hours, during this time all messages will get  treated as a friend and thus bypass SPF too.</p>
<p>Syntax: g_friends_allow_spf bool</p>
<h3><a NAME="g_friends_always"></a>g_friends_always - Always use friends list.</h4><p>This enables the "Add all outgoing email addresses to list" feature and always checks incoming messages against the friends list so that SurgeMail can correctly tag or filter it.</p>
<p>Syntax: g_friends_always bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_at_rcpt"></a>g_friends_at_rcpt - Whether to check users friends list at rcpt stage</h4><p>This setting is automatically added/removed by the web admin when global friends defaults are configured. It allows us to check friends at rcpt stage without paying a disk access cost for non-friends users.</p>
<p>Syntax: g_friends_at_rcpt bool</p>
<h3><a NAME="g_friends_bounce_rej"></a>g_friends_bounce_rej - Reject blank return path as friends failures</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_friends_bounce_rej bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_bounce_second"></a>g_friends_bounce_second - Bounce the next time the user sends a message if waiting for confirm still</h4><p>This can make it clearer that email is not getting through to the destination</p>
<p>Syntax: g_friends_bounce_second bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_byweb"></a>g_friends_byweb - Perform confirmation of pending via the web.</h4><p>This gives a confirmation url to the sender in the friends confirmation message and disables confirmation by replying. The url gives a page with a verification image, the sender types the number seen and releases their message.</p>
<p>Syntax: g_friends_byweb bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_check_spf"></a>g_friends_check_spf - Disable friends bounces if SPF headers missing/failed to avoid backscatter.</h4><p>If the incoming message may be forged it will bounce messages using an smtp error code to deny delivery but it will allow any real sender to bypass this.  This settings is good if spamcop block your domain for sending friends challenges as it cuts down on the number of such messages. This avoids backscatter</p>
<p>Syntax: g_friends_check_spf bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_confirm_debug"></a>g_friends_confirm_debug - Log sucessful friends confirmation responses</h4><p>This enables us to examine suspect replies to friends confirmations for indications that they were sent by spammers or mail robots.</p>
<p>Syntax: g_friends_confirm_debug bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
  <h3><a name="g_friends_confirm_subject"></a>g_friends_confirm_subject
    - String to use as the subject of a friends confirmation email</h3>
  <p>String to use as the subject of
    a friends confirmation email. Defaults to: <i>&quot;Please reply to 
    message and allow delivery&quot;</i>. This value <b>must </b>contain the text
    , this text is replaced by the unique message id that allows SurgeMail
    to find the message to release eg. confirm(1150419513.1880_1180.domain). It
    is also advisable to place the  near the start of the string as
    some clients will truncate long subjects and any truncation of the 
    value will result in failure to release the message.</p>

<p>Syntax: g_friends_confirm_subject string</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_default_autoadd"></a>g_friends_default_autoadd - Default auto addition when sending (recommended)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_friends_default_autoadd bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_default_mode"></a>g_friends_default_mode - Default friends mode (Recommended 'list')</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_friends_default_mode string</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
  <h3><a name="g_friends_ignore"></a>g_friends_ignore
    - List of addresses considered friends for all users on the system</h3>
  <p>List of addresses considered friends
    for all users on the system eg: the system manager email address </p>

<p>Syntax: g_friends_ignore string</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_ignore_trusted"></a>g_friends_ignore_trusted - If from trusted ip still apply friends</h4><p>Useful when you have a gateway that is sending to surgemail</p>
<p>Syntax: g_friends_ignore_trusted bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
  <h3><a name="g_friends_latest_headers"></a>g_friends_latest_headers
    - Friends system re-read message headers</h3>
  <p>Causes friends to re-read message
    headers, allowing rules based on headers added during delivery</p>

<p>Syntax: g_friends_latest_headers bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
  <h3><a name="g_friends_name"></a>g_friends_name
    - What to call the friends system</h3>
  <p>This specifies what to call the
    friends system when referring to it on web pages and in email to our users,
    you can call it whatever you like</p>

<p>Syntax: g_friends_name string</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_old_status_email"></a>g_friends_old_status_email - Use older status email & processing</h4><p>Use status.eml instead of status_html.eml</p>
<p>Syntax: g_friends_old_status_email bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
  <h3><a NAME="g_friends_only"></a>g_friends_only
    - Friends system</h3>
  <p> An anti-spam feature which screens
    incoming mail to ensure it comes from a human. For incoming mail from unknown
    addresses a message is sent to this person requesting them to reply to confirm
    they are human and the original message will be delivered. <a href="friends.htm">See
    this page for more details.</a>  </p>

<p>Syntax: g_friends_only bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
  <h3><a name="g_friends_pending_keep"></a>g_friends_pending_keep
    - Time to keep friend pending messages</h3>
  <p>How long to store users friends
    pending messages before deleting them (days)</p>

<p>Syntax: g_friends_pending_keep int</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_pending_name"></a>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' </h4><p>This shouldn't be changed unless this feature has not been used before as it will confuse your users. Any matching folder the user has of the same name will become invisible.  So at least make it something other than simply Spam!!</p>
<p>Syntax: g_friends_pending_name string</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_pending_vanish"></a>g_friends_pending_vanish - Enable auto-vanish of pending messages on confirmation bounce</h4><p>When a bounce for a confirmation message is received we vanish it, this setting will also delete the original message.</p>
<p>Syntax: g_friends_pending_vanish bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_release_wash"></a>g_friends_release_wash - Clean any subject marking (ie stars) when releasing/allowing</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_friends_release_wash bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_rotate"></a>g_friends_rotate - Rotate user level log file, default 30k</h4><p>Set log size, the log is also rotated when a friends report email is sent (if configured)</p>
<p>Syntax: g_friends_rotate int</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_short"></a>g_friends_short - In friends web release addresses use a shortened url</h4><p>This can help prevent urls being wraped by dumb email clients, this feature requires an updated template file na_rel_link.htm with the 'f' hidden input field,e.g. input type="hidden" name="f" value=""</p>
<p>Syntax: g_friends_short bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_silent"></a>g_friends_silent - Disable friends responses to users</h4><p>This setting is to simply disable the confirm emails, not generally recommended as this makes friends a bit pointless.</p>
<p>Syntax: g_friends_silent bool</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_skip_ip">g_friends_skip_ip</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_skip_ip"></a>g_friends_skip_ip - List of ip addresses considered friends for all users on the system</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_friends_skip_ip string</p>
<p>See also: <a href="domain.htm#friends_at_rcpt">friends_at_rcpt</a>, <a href="domain.htm#friends_pending_name">friends_pending_name</a>, <a href="#g_friends_only">g_friends_only</a>, <a href="#g_friends_bounce_rej">g_friends_bounce_rej</a>, <a href="#g_friends_name">g_friends_name</a>, <a href="#g_friends_pending_name">g_friends_pending_name</a>, <a href="#g_friends_silent">g_friends_silent</a>, <a href="#g_friends_ignore">g_friends_ignore</a>, <a href="#g_friends_confirm_subject">g_friends_confirm_subject</a>, <a href="#g_friends_default_mode">g_friends_default_mode</a>, <a href="#g_friends_default_autoadd">g_friends_default_autoadd</a>, <a href="#g_friends_latest_headers">g_friends_latest_headers</a>, <a href="#g_friends_pending_keep">g_friends_pending_keep</a>, <a href="#g_friends_pending_vanish">g_friends_pending_vanish</a>, <a href="#g_friends_at_rcpt">g_friends_at_rcpt</a>, <a href="#g_friends_allow_spf">g_friends_allow_spf</a>, <a href="#g_friends_spf_fail_bounce">g_friends_spf_fail_bounce</a>, <a href="#g_friends_check_spf">g_friends_check_spf</a>, <a href="#g_friends_byweb">g_friends_byweb</a>, <a href="#g_friends_always">g_friends_always</a>, <a href="#g_friends_add_trusted">g_friends_add_trusted</a>, <a href="#g_friends_confirm_debug">g_friends_confirm_debug</a>, <a href="#g_friends_rotate">g_friends_rotate</a>, <a href="#g_friends_short">g_friends_short</a>, <a href="#g_friends_ignore_trusted">g_friends_ignore_trusted</a>, <a href="#g_friends_url">g_friends_url</a>, <a href="#g_friends_bounce_second">g_friends_bounce_second</a>, <a href="#g_friends_old_status_email">g_friends_old_status_email</a>, <a href="#g_friends_spam_score">g_friends_spam_score</a>, <a href="#g_friends_release_wash">g_friends_release_wash</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a></p>
<h3><a NAME="g_friends_spam_score"></a>g_friends_spam_score - Default spam score for friends spam scoring (surgeweb defaults likely=4 or almost_certain=10)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_friends_spam_score int</p>
<h3><a NAME="g_friends_spf_fail_bounce"></a>g_friends_spf_fail_bounce - Bounce SPF failures, do not send friends confirmations (Not recommended)</h4><p>The default behaviour is to only send confirmations if SPF checks pass, if they fail friends checking is skipped, no confirmation request is sent and the email is not blocked by friends.</p>
<p>Syntax: g_friends_spf_fail_bounce bool</p>
<h3><a NAME="g_friends_url"></a>g_friends_url - Specify full url for friends release http://domain.name:port </h4><p>Normally the default will work.</p>
<p>Syntax: g_friends_url string</p>
  <h3><a name="g_from_allow"></a>g_from_allow
    - From header allow</h3>
  <p>From headers to allow bypassing
    the g_from* checks. e.g. &quot;*@x.y.com,*@b.com,fred@bb.com&quot;</p>

<p>Syntax: g_from_allow string</p>
<h3><a NAME="g_from_allow_ip"></a>g_from_allow_ip - IP addresses to bypass local from check</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_from_allow_ip string</p>
<h3><a NAME="g_from_allow_to"></a>g_from_allow_to - destination user to bypass local from check</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_from_allow_to string</p>
<h3><a NAME="g_from_bl"></a>g_from_bl - Domain Based Blacklist Zones, lookups FROM domain in dns</h4><p>The 'from' domain is checked against the specified RBL which must be a special 'FROM' based rbl which lists spammers by from address. Most spammers fake from addresses so this is a fairly marginally useful method.</p>
<p>Syntax: g_from_bl name=string stamp=string</p>
<p>See also: <a href="#g_honeypot_rbl">g_honeypot_rbl</a>, <a href="#g_myrbl_testing">g_myrbl_testing</a>, <a href="#g_myrbl_to">g_myrbl_to</a>, <a href="#g_myrbl_store">g_myrbl_store</a>, <a href="#g_spam_allow_rbl">g_spam_allow_rbl</a>, <a href="#g_surbl">g_surbl</a>, <a href="#g_surbl_reject">g_surbl_reject</a>, <a href="#g_surbl_whois">g_surbl_whois</a>, <a href="#g_surbl_skip">g_surbl_skip</a>, <a href="#g_surbl_skip_ip">g_surbl_skip_ip</a></p>
  <h3><a name="g_from_bounce"></a>g_from_bounce
    - Bounce if from is probably faked</h3>
  <p>Bounce if from address is probably
    faked. </p>
  <p>This check is activated for any
    mail with a local domain in the from address but not using SMTP authentcation,
    relay allow IP address or spam allow IP address.</p>

<p>Syntax: g_from_bounce bool</p>
  <h3><a name="g_from_check"></a>g_from_check
    - Check from matches valid local domain</h3>
  <p>Check from domains match valid
    local domains if user is authenticated, or g_from_allow.</p>
  Should be used with g_from_bounce &quot;true&quot; which basically forces them to authenticate and then makes this setting work properly.

<p>Syntax: g_from_check bool</p>
<h3><a NAME="g_from_domain"></a>g_from_domain - Default domain for from envelope</h4><p>Fixes the 'from' envelope if the email client failed to specify a domain name, this doesn't fix the from header currently but we may change that in future!</p>
<p>Syntax: g_from_domain string</p>
  <h3><a name="g_from_exact"></a>g_from_exact
    - Check from matches authenticated user</h3>

  <p>Check from matches authenticated
  user. If user is not authenticated the setting is skipped.</p>
  <p>Should be used with g_from_bounce &quot;true&quot; which basically forces them to authenticate and then makes this setting work properly. <br>
    </p>


<p>Syntax: g_from_exact bool</p>
  <h3><a name="g_from_header"></a>g_from_header
    - From header used in delivery bounces</h3>
  <p>From header used in delivery bounces.</p>

<p>Syntax: g_from_header string</p>
<h3><a NAME="g_from_must_exist"></a>g_from_must_exist - Require local from addresses to exist or reject mail</h4><p>Can be useful in blocking dumb spam robots</p>
<p>Syntax: g_from_must_exist bool</p>
<h3><a NAME="g_from_noforge"></a>g_from_noforge - If envelope or from is local domain then the other must be too</h4><p>This can prevent many common forms of forgery, this will bounce some real email, so probably better to use the noforgeme setting instead. One of the settings to prevent forgery</p>
<p>Syntax: g_from_noforge bool</p>
<h3><a NAME="g_from_noforge_some"></a>g_from_noforge_some - If from matches this then from/envelope must match</h4><p>Prevent forgeries of important local addresses, e.g. *support*</p>
<p>Syntax: g_from_noforge_some string</p>
<h3><a NAME="g_from_noforgeme"></a>g_from_noforgeme - If to==from then from and env from must match</h4><p>This can prevent many common forms of forgery, this is safer than the noforge setting above, and generally almost as effective.  One of the settings to prevent forgery</p>
<p>Syntax: g_from_noforgeme bool</p>
<h3><a NAME="g_from_relay"></a>g_from_relay - If not authenticated and g_relay_allow_ip matched then block if not local domain or whitelisted</h4><p>This one helps prevent a local virus sending out spam. It basically says non authenticated users who can relay due to a g_relay_allow_ip rule must send from one of your domains or use smtp authentication or be in a white list. Note this test is performed on the message envelope not the body. We recommend insisting on smtp authentication to reduce your risk of this type of problem.</p>
<p>Syntax: g_from_relay bool</p>
<h3><a NAME="g_from_relay_white"></a>g_from_relay_white - White list of domains for g_from_relay setting</h4><p>This is domains that can be used as a 'from' address for non authenticated users, in addition to local domains</p>
<p>Syntax: g_from_relay_white string</p>
<h3><a NAME="g_from_rewrite"></a>g_from_rewrite - Rewrite from envelope for outgoing email, e.g. *@this.domain -&gt; %1@another.domain</h4><p>This lets you change the 'from' address from an internal domain name to a valid public domain name. The change is performed on the From envelope (return path), not the from header. And the  chanage does not affect the return path written in local deliveries, only outgoing email. Mfilter rules can be used to rewrite the actual message headers.</p>
<p>Syntax: g_from_rewrite was=string to=string</p>
<h3><a NAME="g_from_rewrite_header"></a>g_from_rewrite_header - Rewrite the from header as well</h4><p>Replaces the From: header in the mesage with the new address.</p>
<p>Syntax: g_from_rewrite_header bool</p>
  <h3><a name="g_from_stamp"></a>g_from_stamp
    - Stamp if from is probably faked</h3>
  <p>Stamp message with &quot;X-Verify-Failed:&quot;
    header if from address is probably faked. </p>
  <p>eg: X-Verify-Failed: &lt;user@mydomain.com&gt;
    From mydomain.com is local but user not authenticated or from g_relay_allow_ip<br>
  </p>
  <p>This check is activated based on
    the same conditions as g_from_bounce.</p>

<p>Syntax: g_from_stamp bool</p>
  <h3><a name="g_from_timeout"></a>g_from_timeout
    - Timeout on g_badfrom_* checks</h3>
  <p>Timeout in seconds of g_badfrom_*
    checks. Default = 60 seconds. If this timeout is reached the g_badfrom check
    will be classed as having failed.</p>

<p>Syntax: g_from_timeout int</p>
<h3><a NAME="g_from_valid"></a>g_from_valid - Require an @ and dotted domain in all return addresses</h4><p>This forces the sender to either give 'no' reply address or a valid one with an @ and a dotted domain</p>
<p>Syntax: g_from_valid bool</p>
  <h3><a name="g_gateway"></a>g_gateway
    - Gateway messages to a particular domain (Or smarthost)</h3>
  <p>Used to gateway messages to another
    local mail server.&nbsp; Typically this other server is inside a fire wall
    so it's local IP address is not known by the DNS server.&nbsp; You specify
    the domain and IP address to send messages to&nbsp;and this server is treated
    as 'local' rather than remote in terms of open relay restrictions. eg: nonauthenticated
    users are able to send in mail. Open
    relay restrictions do not apply to messages sent to this domain because they
    are considered as if they were local users and not 'relaying'.&nbsp; </p>
  <p>This setting has the fields domain(required),
    to(required), user(optional), pass(optional), relay=true/false(optional),check=true/false
    (optional) </p>
  <p>Normally &quot;domain&quot; and
    &quot;to&quot; are the only fields that need to be filled in. eg. To relay
    mail from anyone to user accounts in the domain somedomain.com to the host
    1.2.3.4.<br>
    g_gateway domain="somedomain.com&quot; to=&quot;1.2.3.4&quot;</p>
  <p><b>user=&quot;username&quot; pass=&quot;password&quot;</b></p>
  <p>If SMTP authentication is required
    on the destination server the user and pass fields need to be completed.</p>
  <b>check=true</b>
  <p>The check=true setting tells surgemail to actually connect to the server
    and check that recipients exist before accepting an incoming email for that
    user, this is STRONGLY recommended, as it stops the server having to bounce
    thousands of messages when spammers send to invalid addresses on your server.
    If SurgeMail cannot connect it will assume the user does exist so nothing
    is bounced except when the connection is successful.</p>
  <p><b>Classic smarthost setting</b></p>
  <p>This is where you want to send all outgoing email to another server, that
    may require authentication, note that we don't use relay=&quot;true&quot;
    as that would make the server an open relay.</p>
  <p>g_gateway domain=&quot;*&quot; to=&quot;isp.mail.server&quot; user=&quot;user@isp.server&quot;
    pass=&quot;xxx&quot;</p>
  <p><b>relay=&quot;true&quot;</b> (warning, usually not needed or wise, this
    can make your server into an open relay for spammers to abuse!)</p>

  <p>As a safety measure to prevent accidental
  openrelays, SurgeMail will not relay for non authenticated users or trusted users (users that are allowed to relay due to relaying settings eg g_relay_allow_ip) if the domain
  is &quot;*&quot;. This can be overridden by placing &quot;true&quot; in the
  &quot;relay&quot; field. eg: To relay all mail for all users to host 1.2.3.4: <br>
  <br>
  g_gateway domain="*&quot; to=&quot;1.2.3.4&quot;
    relay=&quot;false&quot;


  <p>It is possible to use domain=&quot;c:\domains.txt&quot; where domains.txt
    is a file listing the domains to be gatewayed, this should only be done for
    one gateway rule, and is only worth doing if you have thousands of domains
  to gateway.</p>

  <p><b>local=&quot;true&quot;</b> </p>
  <p>Requires that the destination addresses exist in the local account database.</p>
  <h3>Gateway after user lookup</h3>
  <p>When gatewaying to a domain which accepts all email regardless of address
    (e.g. exchange) you are best to define the users in your local user database,
    this is the only way to prevent nasty bounces and get rid of all the spam
    cleanly.</p>
  <p>1) remove the gateway setting for the domain<br>
    2) add a virtual domain<br>
    3) In the virtual domain add surgewall settings, e.g. in this example I'm
    gatewaying the domain 'netwin.co.nz' to a<br>
    backend server called 'backend.netwin.co.nz&quot;</p>

  <blockquote>
    <p>vdomain address=&quot;&quot; name=&quot;netwin.co.nz&quot; <br>
      ...<br>
      surgewall &quot;backend.netwin.co.nz&quot; <br>
      surgewall_options strip_domain=&quot;&quot; proxy_failover=&quot;&quot;
      auth_local=&quot;TRUE&quot; pop=&quot;&quot; smtp=&quot;&quot; imap=&quot;&quot;
      usercgi=&quot;&quot; </p>
    <p>&nbsp;</p>
  </blockquote>

  <p>You can find more gateway examples
    in our FAQ here <a href="faq.htm#gateway">http://www.netwinsite.com/surgemail/help/faq.htm#gateway</a></p>

<p>Syntax: g_gateway domain=string to=string user=string pass=string relay=string check=bool sms=bool local=bool</p>
<h3><a NAME="g_gateway_allow"></a>g_gateway_allow - Known hosts that act as incoming SMTP or surgewall servers for us</h4><p>Some spam prevention mechanisms which use the ip address of the incoming system must be disabled for incoming SMTP servers/surgewall/firewall boxes so that stupid limits don't block all the incoming messages from your backup mx server etc.  Settings this affects: g_tarpit_max, g_tarpit_max_remote, g_con_perip, RBL checks, </p>
<p>Syntax: g_gateway_allow string</p>
<p>See also: <a href="#g_smtp_auth_debug">g_smtp_auth_debug</a>, <a href="#g_smtp_delay_stamp">g_smtp_delay_stamp</a>, <a href="#g_smtp_welcome_delay">g_smtp_welcome_delay</a></p>
  <h3><a name="g_gateway_always"></a>g_gateway_always
    - Always send to gateway even if local domain exists</h3>
  <p>Always send to gateway even if
    local domain exists. Not sure why you would want to use this setting other
    than to temporarily send mail on to another server whilst keeping the local
    domain and accounts intact and untouced.</p>

<p>Syntax: g_gateway_always bool</p>
  <h3><a name="g_gateway_auth"></a>g_gateway_auth
    - Send SMTP auth requests to another host</h3>
  <p>Send SMTP auth requests to another
    host.</p>

<p>Syntax: g_gateway_auth string</p>
<h3><a NAME="g_gateway_data"></a>g_gateway_data - Gateway at the data stage</h4><p>To allow bounces to be handled cleanly gateway messages before responding to the data comman so bounces can go direct without being generated and creating back scatter.</p>
<p>Syntax: g_gateway_data bool</p>
<h3><a NAME="g_gateway_from"></a>g_gateway_from - Pass 'from' header thru during gatewawy check</h4><p>In some cases to verify an email address the correct 'from' must be passed through, normally this is a bad idea as it will cause spf failures, but it is sometimes necessary</p>
<p>Syntax: g_gateway_from bool</p>
<p>See also: <a href="domain.htm#disable_smtp_after">disable_smtp_after</a>, <a href="domain.htm#old_smtphost">old_smtphost</a>, <a href="domain.htm#old_smtphost_skip">old_smtphost_skip</a>, <a href="domain.htm#smtp_auth_off">smtp_auth_off</a>, <a href="domain.htm#smtp_welcome">smtp_welcome</a>, <a href="domain.htm#smtp_welcome_name">smtp_welcome_name</a>, <a href="domain.htm#smtp_from_ip">smtp_from_ip</a>, <a href="domain.htm#surgeweb_backend_smtp">surgeweb_backend_smtp</a>, <a href="domain.htm#surgeplus_smtp_server_name">surgeplus_smtp_server_name</a>, <a href="#g_disable_smtp_after">g_disable_smtp_after</a>, <a href="#g_dbabble_smtp_port">g_dbabble_smtp_port</a>, <a href="#g_dbabble_smtp_prefix">g_dbabble_smtp_prefix</a>, <a href="#g_deny_smtp">g_deny_smtp</a>, <a href="#g_safe_smtp">g_safe_smtp</a>, <a href="#g_manager_smtp">g_manager_smtp</a>, <a href="#g_smtp_auth_debug">g_smtp_auth_debug</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a>, <a href="#g_smtp_delay_stamp">g_smtp_delay_stamp</a>, <a href="#g_smtp_welcome_delay">g_smtp_welcome_delay</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_smtp_max">g_smtp_max</a>, <a href="#g_smtp_warning">g_smtp_warning</a>, <a href="#g_smtp_max_reason">g_smtp_max_reason</a>, <a href="#g_smtp_max_nolimit">g_smtp_max_nolimit</a>, <a href="#g_smtp_maxbad">g_smtp_maxbad</a>, <a href="#g_smtp_port">g_smtp_port</a>, <a href="#g_smtp_portauth">g_smtp_portauth</a>, <a href="#g_smtp_portforce">g_smtp_portforce</a>, <a href="#g_smtp_secure_port">g_smtp_secure_port</a>, <a href="#g_smtp_vrfy_msg">g_smtp_vrfy_msg</a>, <a href="#g_smtp_etrn_auth">g_smtp_etrn_auth</a>, <a href="#g_smtp_help_disable">g_smtp_help_disable</a>, <a href="#g_smtp_cram_enable">g_smtp_cram_enable</a>, <a href="#g_smtp_no_brackets">g_smtp_no_brackets</a>, <a href="#g_smtp_big">g_smtp_big</a>, <a href="#g_smtp_fast_bounce">g_smtp_fast_bounce</a>, <a href="#g_smtp_fix_nohead">g_smtp_fix_nohead</a>, <a href="#g_smtp_thread">g_smtp_thread</a>, <a href="#g_smtp_auth_off">g_smtp_auth_off</a>, <a href="#g_smtp_auth_ip">g_smtp_auth_ip</a>, <a href="#g_smtp_noauth">g_smtp_noauth</a>, <a href="#g_smtp_noauthm">g_smtp_noauthm</a>, <a href="#g_smtp_noauth_msg">g_smtp_noauth_msg</a>, <a href="#g_verify_smtp">g_verify_smtp</a>, <a href="#g_surgeplus_smtp_server_name">g_surgeplus_smtp_server_name</a></p>
<h3><a NAME="g_gateway_helo"></a>g_gateway_helo - Header that must exist in incoming bounces (g_send_helo) or bounces are dropped</h4><p>An incoming filter can discard the majority of incoming bounces by using this setting to figure out if a bounce is valid without having to do a user lookup first!  Usually this would be the setting g_send_helo from your 'outgoing' mail server, this setting can be a list of host names.</p>
<p>Syntax: g_gateway_helo string</p>
<p>See also: <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_ban_helo">g_ban_helo</a>, <a href="#g_helo_optional">g_helo_optional</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_verify_helo">g_verify_helo</a></p>
  <h3><a name="g_gateway_ifnot"></a>g_gateway_ifnot - Send mail to gateway in
    preference to local delivery unless IP matches</h3>
  The use of g_gateway_ifnot will deliver mail to the g_gateway rule in preference
  to local delivery unless the IP number matches. This would typically be used
  to pass mail through an external SMTP server for certain or all domains for
  scanning purposes etc.

<p>Syntax: g_gateway_ifnot string</p>
<h3><a NAME="g_gateway_ignorewild_ip"></a>g_gateway_ignorewild_ip - Ignore * gateway rules if from ip matches (allows outbound email scanning using gateway * to external scanner) </h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_gateway_ignorewild_ip string</p>
<h3><a NAME="g_gateway_mx"></a>g_gateway_mx - If specified IP address is found in mx record for destination then allow relay (not recommended)</h4><p>This can be useful if you have thousands  of servers using your machine for mx backup and you want to allow them simply because the mx records exist, it's much better to use g_gateway or g_relay settings instead as this saves lookups and makes the results entirely more predictable :-)</p>
<p>Syntax: g_gateway_mx string</p>
<p>See also: <a href="domain.htm#disable_smtp_after">disable_smtp_after</a>, <a href="domain.htm#old_smtphost">old_smtphost</a>, <a href="domain.htm#old_smtphost_skip">old_smtphost_skip</a>, <a href="domain.htm#smtp_auth_off">smtp_auth_off</a>, <a href="domain.htm#smtp_welcome">smtp_welcome</a>, <a href="domain.htm#smtp_welcome_name">smtp_welcome_name</a>, <a href="domain.htm#smtp_from_ip">smtp_from_ip</a>, <a href="domain.htm#surgeweb_backend_smtp">surgeweb_backend_smtp</a>, <a href="domain.htm#surgeplus_smtp_server_name">surgeplus_smtp_server_name</a>, <a href="#g_disable_smtp_after">g_disable_smtp_after</a>, <a href="#g_dbabble_smtp_port">g_dbabble_smtp_port</a>, <a href="#g_dbabble_smtp_prefix">g_dbabble_smtp_prefix</a>, <a href="#g_deny_smtp">g_deny_smtp</a>, <a href="#g_safe_smtp">g_safe_smtp</a>, <a href="#g_manager_smtp">g_manager_smtp</a>, <a href="#g_smtp_auth_debug">g_smtp_auth_debug</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a>, <a href="#g_smtp_delay_stamp">g_smtp_delay_stamp</a>, <a href="#g_smtp_welcome_delay">g_smtp_welcome_delay</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_smtp_max">g_smtp_max</a>, <a href="#g_smtp_warning">g_smtp_warning</a>, <a href="#g_smtp_max_reason">g_smtp_max_reason</a>, <a href="#g_smtp_max_nolimit">g_smtp_max_nolimit</a>, <a href="#g_smtp_maxbad">g_smtp_maxbad</a>, <a href="#g_smtp_port">g_smtp_port</a>, <a href="#g_smtp_portauth">g_smtp_portauth</a>, <a href="#g_smtp_portforce">g_smtp_portforce</a>, <a href="#g_smtp_secure_port">g_smtp_secure_port</a>, <a href="#g_smtp_vrfy_msg">g_smtp_vrfy_msg</a>, <a href="#g_smtp_etrn_auth">g_smtp_etrn_auth</a>, <a href="#g_smtp_help_disable">g_smtp_help_disable</a>, <a href="#g_smtp_cram_enable">g_smtp_cram_enable</a>, <a href="#g_smtp_no_brackets">g_smtp_no_brackets</a>, <a href="#g_smtp_big">g_smtp_big</a>, <a href="#g_smtp_fast_bounce">g_smtp_fast_bounce</a>, <a href="#g_smtp_fix_nohead">g_smtp_fix_nohead</a>, <a href="#g_smtp_thread">g_smtp_thread</a>, <a href="#g_smtp_auth_off">g_smtp_auth_off</a>, <a href="#g_smtp_auth_ip">g_smtp_auth_ip</a>, <a href="#g_smtp_noauth">g_smtp_noauth</a>, <a href="#g_smtp_noauthm">g_smtp_noauthm</a>, <a href="#g_smtp_noauth_msg">g_smtp_noauth_msg</a>, <a href="#g_verify_smtp">g_verify_smtp</a>, <a href="#g_surgeplus_smtp_server_name">g_surgeplus_smtp_server_name</a></p>
<h3><a NAME="g_gateway_orcpt"></a>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</h4><p>This writes a header X-Rcpt-Original: ..., when forwarding a message to another server, good for tracking problems. This may disclose multiple hidden recipients, it should not be used normally</p>
<p>Syntax: g_gateway_orcpt bool</p>
  <h3><a name="g_group_field"></a>g_group_field
    - Group Field from authentication database</h3>
  <p>Based upon a match on an arbitrary
    field in the authentication database a user can be defined as being part of
    an access_group. All fields (field, value, group) are required. eg: To add
    the user to the access_group &quot;paid_user&quot; if the field &quot;mystatus&quot;
    has the value &quot;fullaccess&quot;:</p>
  <p>g_group_field field=&quot;mystatus&quot;
    value=&quot;fullaccess&quot; group=&quot;paid_user&quot;</p>

<p>Syntax: g_group_field field=string value=string group=string</p>
<h3><a NAME="g_hack_detect_disable"></a>g_hack_detect_disable - Stop admin emails when users login with a weak password</h4><p>Useful if you must have weak passwords for some reason</p>
<p>Syntax: g_hack_detect_disable bool</p>
<h3><a NAME="g_hacker_max"></a>g_hacker_max - Login guesses for one ip address before we lockout the ip address</h4><p>Stops hackers from guessing passwords every day until they find one</p>
<p>Syntax: g_hacker_max int</p>
<h3><a NAME="g_hacker_poison"></a>g_hacker_poison - Poison accounts that instantly blacklist ip address</h4><p>If user tries to login with this account then their ip address is blocked from further logins</p>
<p>Syntax: g_hacker_poison string</p>
<h3><a NAME="g_hacker_whitelist"></a>g_hacker_whitelist - Ip addresses to avoid guessing issues</h4><p>Whitelist for gateways or other systems that you expect multiple failed logins from (e.g. webmail host)</p>
<p>Syntax: g_hacker_whitelist string</p>
  <h3><a name="g_header_out"></a>g_header_out
    - Header to add to outgoing posts</h3>
  <p>Mail header to add to outgoing
    mailing list posts.</p>

<p>Syntax: g_header_out string</p>
<h3><a NAME="g_header_strip"></a>g_header_strip - Strip listed headers from incoming messages</h4><p>Useful for stripping headers that you don't trust or don't want for some reason</p>
<p>Syntax: g_header_strip string</p>
  <h3><a name="g_helo_optional"></a>g_helo_optional
    - Make the SMTP Helo optional</h3>
  <p>Helo is optional for SMTP protocol
    (not recommended).</p>

<p>Syntax: g_helo_optional bool</p>
  <h3><a NAME="g_home"></a>g_home -
    Root directory of the mail server</h3>
  <p>This setting controls where the
    mail server runs including the many sub directories it creates below this
    directory for work files and log files for each domain. Not something you
    should generally change.&nbsp; </p>

<p>Syntax: g_home string</p>
<h3><a NAME="g_honeypot_key"></a>g_honeypot_key - Key for HTTP RBL service www.projecthoneypot.org - not recommended</h4><p>Do not share your key you can get a key for free from this web site.  By defining this setting you will enable honeypot lookups, which in turn will block web imap pop and smtp authentication connections from listed sites, it does not block normal incoming email, but does reduce the permitted guess count to '1'. You can whitelist an ip address using g_spam_allow or g_hacker_whitelist,  this setting will tend to cause false positives which will stop users logging in, we don't recommend you use this setting currently.</p>
<p>Syntax: g_honeypot_key string</p>
<h3><a NAME="g_honeypot_rbl"></a>g_honeypot_rbl - RBL name to lookup, typically dnsbl.httpbl.org</h4><p>This is the name of the rbl database we are going to query</p>
<p>Syntax: g_honeypot_rbl string</p>
  <h3><a name="g_http_proxy"></a>g_http_proxy
    - Proxy web server for fetching files via HTTP</h3>
  <p>Proxy web server for fetching files
    if direct access fails. (mainly for updates to the spam prevention rules from
    netwinsite.com and for downloading the latest version of the SurgePlus Windows
    client to make available to your users.)&nbsp; </p>

<p>Syntax: g_http_proxy string</p>
<h3><a NAME="g_imap_acl"></a>g_imap_acl - Enable ACL (shared folders) in imap</h4><p>This setting allows folders to be shared between users.  See the domain setting 'imap_public'. Requires surgemail 3.9d or later! For this to work you will need an imap client that supports ACL's to create and map shared folders (.e.g. thunderbird)</p>
<p>Syntax: g_imap_acl bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_blacklist"></a>g_imap_blacklist - Test if imap users are in rbl's and email admin</h4><p>This lets you find any of your users who's ip address has been blacklisted, at most it will email once a day, any additional entries are logged in mail.err log file (search for 'blacklist')</p>
<p>Syntax: g_imap_blacklist bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_capa"></a>g_imap_capa - Where to get the CAPABILITY value from</h4><p>When you have suffix based domains and you're using SurgeWall the CAPABILITY request comes before the domain of the user is known. As such SurgeMail cannot determine whether to send the real servers CAPABILITY or it's own. This setting will choose the default behaviour, valid values are: Local, <ip>. By default SurgeMail defaults to the behaviour of the primary domain, if it's surgewall then it obtains the real server capability. "Local" defaults to SurgeMails own capability, and <ip> defaults to the real server capability.</p>
<p>Syntax: g_imap_capa string</p>
<h3><a NAME="g_imap_capa_strip"></a>g_imap_capa_strip - Capability values to hide</h4><p>In some situations you might not want to advertise server capabilities, for example SURGEMAIL and XFLDDATA when they cause problems with SurgeWall operations. Or perhaps the IDLE capability. Specifying the capability strings to hide here will cause SurgeMail to stop advertising those capabilies.</p>
<p>Syntax: g_imap_capa_strip string</p>
<h3><a NAME="g_imap_cram_enable"></a>g_imap_cram_enable - Enable CRAM-MD5 authentication (requires nwauth 4.0h or greater)</h4><p>Please note that CRAM-MD5 does have security implications, specifically it means that the local users password must be stored in a semi reversable state in the authent database.  Also you must be using the new version of the NWAuth module.</p>
<p>Syntax: g_imap_cram_enable bool</p>
<p>See also: <a href="domain.htm#smtp_auth_off">smtp_auth_off</a>, <a href="domain.htm#surgewall_auth">surgewall_auth</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_allow_user_authent_field_get">g_allow_user_authent_field_get</a>, <a href="#g_allow_user_authent_field_set">g_allow_user_authent_field_set</a>, <a href="#g_authent_always">g_authent_always</a>, <a href="#g_authent_any">g_authent_any</a>, <a href="#g_authent_allow_badascii">g_authent_allow_badascii</a>, <a href="#g_authent_prefix_sep">g_authent_prefix_sep</a>, <a href="#g_authent_process">g_authent_process</a>, <a href="#g_authent_cachelife">g_authent_cachelife</a>, <a href="#g_authent_cachebad">g_authent_cachebad</a>, <a href="#g_authent_cachesize">g_authent_cachesize</a>, <a href="#g_authent_domain">g_authent_domain</a>, <a href="#g_authent_encrypt_key">g_authent_encrypt_key</a>, <a href="#g_authent_number">g_authent_number</a>, <a href="#g_authent_info">g_authent_info</a>, <a href="#g_authent_info_grp">g_authent_info_grp</a>, <a href="#g_authent_ip">g_authent_ip</a>, <a href="#g_authent_path_broken">g_authent_path_broken</a>, <a href="#g_authent_single">g_authent_single</a>, <a href="#g_authent_spaces">g_authent_spaces</a>, <a href="#g_authent_strip_domain">g_authent_strip_domain</a>, <a href="#g_authent_restart">g_authent_restart</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_fwdfile">g_authent_fwdfile</a>, <a href="#g_authent_timeout">g_authent_timeout</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_auth_hide">g_auth_hide</a>, <a href="#g_auth_norelay">g_auth_norelay</a>, <a href="#g_auth_skipgateway">g_auth_skipgateway</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_filter_pipe_noauth">g_filter_pipe_noauth</a>, <a href="#g_gateway_auth">g_gateway_auth</a>, <a href="#g_smite_skip_auth">g_smite_skip_auth</a>, <a href="#g_smtp_auth_debug">g_smtp_auth_debug</a>, <a href="#g_smtp_portauth">g_smtp_portauth</a>, <a href="#g_smtp_etrn_auth">g_smtp_etrn_auth</a>, <a href="#g_smtp_auth_off">g_smtp_auth_off</a>, <a href="#g_smtp_auth_ip">g_smtp_auth_ip</a>, <a href="#g_smtp_noauth">g_smtp_noauth</a>, <a href="#g_smtp_noauthm">g_smtp_noauthm</a>, <a href="#g_smtp_noauth_msg">g_smtp_noauth_msg</a>, <a href="#g_spam_check_auth">g_spam_check_auth</a>, <a href="#g_xauthuser_hide">g_xauthuser_hide</a></p>
<h3><a NAME="g_imap_delay"></a>g_imap_delay - Glob data into bigger packets, never use this</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_imap_delay bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_friends"></a>g_imap_friends - Make the friends_pendign folder visible in imap</h4><p>Setting to map the friends_pending folder into an imap folder. There is no corresponding setting for the 'held' folder as we believe people should always use the friends mechanism as it is a superset of the held folder in functionality</p>
<p>Syntax: g_imap_friends bool</p>
<h3><a NAME="g_imap_idle_nsf"></a>g_imap_idle_nsf - The number of seconds before a complete directory rescan. To be use on NSF network drives</h4><p>Number of seconds for IMAP IDLE to do directory rescan</p>
<p>Syntax: g_imap_idle_nsf int</p>
<h3><a NAME="g_imap_log_body"></a>g_imap_log_body - Log imap fetch body commands to msg*.rec log files</h4><p>This only logs when a body or body part is read via imap</p>
<p>Syntax: g_imap_log_body bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_log_copy"></a>g_imap_log_copy - Log imap copy commands to msg*.rec log files</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_imap_log_copy bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
  <h3><a name="g_imap_log_flush"></a>g_imap_log_flush
    - IMAP log flush</h3>
  <p>Flush IMAP log on every write (for
    debugging).</p>

<p>Syntax: g_imap_log_flush bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_log_header"></a>g_imap_log_header - Log imap fetch header commands to msg*.rec log files (not usually needed)</h4><p>This logs rather a lot so may create excessive logging. Probably the log body setting is more wise.</p>
<p>Syntax: g_imap_log_header bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
  <h3><a name="g_imap_log_protocol"></a>g_imap_log_protocol
    - Log IMAP protocol</h3>
  <p>Log IMAP protocol and other IMAP
    information to the mail.log file. </p>

<p>Syntax: g_imap_log_protocol bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_max_messages"></a>g_imap_max_messages - The number of messages in a single imap folder, default 200000</h4><p>This setting helps limit impact when a user has a large folder, it will fail to load a folder larger than this and report errors in the log, it does not prevent the folder from having messages added to it, and it does not inform the user that the problem has occurred, this setting is primarily to limit impact of a crazy user :-)</p>
<p>Syntax: g_imap_max_messages int</p>
  <h3><a name="g_imap_no_internal_date"></a>g_imap_no_internal_date
    - Disable the internal date output on IMAP commands</h3>
  <p>The RFC implementation of internal
    dateis broken wiht MS outlook. SurgeMail has been modified to conform to the
    outlook inplementation of internal date making this setting redundant..
  </p>

<p>Syntax: g_imap_no_internal_date bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_old"></a>g_imap_old - Revert to old imap module</h4><p>Replace normal imap with old imap module, not recommended/supported</p>
<p>Syntax: g_imap_old bool</p>
<h3><a NAME="g_imap_old_ip"></a>g_imap_old_ip - Revert to old imap module for some ip's</h4><p>Replace normal imap with old imap module, not recommended/supported</p>
<p>Syntax: g_imap_old_ip string</p>
<h3><a NAME="g_imap_pop_burst"></a>g_imap_pop_burst - Always burst using imap code</h4><p>Prevents redownloading messages if file indicating user is using imap is lost.  Generally this setting is not needed and should not be used. Turning it on/off will result in users getting duplicate messagese if they are using POP and have leave on server  ticked</p>
<p>Syntax: g_imap_pop_burst bool</p>
  <h3><a name="g_imap_port"></a>g_imap_port
    - IMAP Port (default 143)</h3>
  <p>Specifies the PORT to listen for
    IMAP connections on. IMAP is an alternative to POP protocol where the messages
    and folders all exist on the server. This is ideal when sharing a mail account
    between several users or when using Email from more than one computer.&nbsp;
    Use the keyword 'disabled' to disable
    this part of the surgemail service. </p>

<p>Syntax: g_imap_port int</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_search_noattach"></a>g_imap_search_noattach - Skip non text attachments when searching</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_imap_search_noattach bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
  <h3><a name="g_imap_secure_port"></a>g_imap_secure_port
    - IMAP Port (default 993)</h3>
  <p>Specifies the PORT to listen for
    dedicated SSL IMAP connections.
  </p>

  <p></p>
  <p></p>

<p>Syntax: g_imap_secure_port int</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_size_fetch"></a>g_imap_size_fetch - If true, will display message sizes on fetch command. (ie * 123 EXISTS)</h4><p>Displays message size in IMAP responses</p>
<p>Syntax: g_imap_size_fetch bool</p>
<h3><a NAME="g_imap_spam_train"></a>g_imap_spam_train - Train if moving message to 'spam' folder, or from 'spam' folder to inbox</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_imap_spam_train bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_imap_testing"></a>g_imap_testing - Test imap module instead of normal one (not functional)</h4><p>Replace normal imap with a test one, this is not functional, do not use this setting.</p>
<p>Syntax: g_imap_testing bool</p>
<h3><a NAME="g_imap_timeout"></a>g_imap_timeout - Time, in minutes for imap timeout, RFC required default is 30</h4><p>You may in some cases wish to reduce this below the RFC required default if your server is under very heavy load. Results may be unexpected when breaking RFC behavior!</p>
<p>Syntax: g_imap_timeout int</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
  <h3><a name="g_imap_timezone"></a>g_imap_timezone
    - Timezone to display - for testing purposes only</h3>
  <p>as per title :-) </p>

<p>Syntax: g_imap_timezone string</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
  <h3><a name="g_imap_uidl_nofix"></a>g_imap_uidl_nofix
    - Disable UIDL auto repair of duplicate entries</h3>
  <p>If true disable auto repair of
    identical UIDL entries.</p>
  <p></p>
  <p></p>

<p>Syntax: g_imap_uidl_nofix bool</p>
<h3><a NAME="g_imap_user_flags"></a>g_imap_user_flags - This setting may confuse some email clients (mac) use with cautioun</h4><p>This may confused some email clients if multiple clients are used on a single account as the user flags can conflict</p>
<p>Syntax: g_imap_user_flags bool</p>
<h3><a NAME="g_include"></a>g_include - Include another ini file global settings only</h4><p>Unlike the include command this setting will allow editing of the ini file in web admin, but settings included via this setting will not appear in the admin interface</p>
<p>Syntax: g_include string</p>
<h3><a NAME="g_iplimit"></a>g_iplimit - Untrusted local ip addresses e.g. web servers, special sending limits applied.</h4><p>These limit settings let you control untrusted sources which may get viruses or cgi scripts that open them up to abuse. By throttling the remote addreses limit this will prevent any significant abuse.  Authenticated sessions are 'not' limited!.</p>
<p>Syntax: g_iplimit string</p>
<h3><a NAME="g_iplimit_islocal"></a>g_iplimit_islocal - Add domains to list of domains considered local for limit counting</h4><p>See explanation of g_iplimit</p>
<p>Syntax: g_iplimit_islocal string</p>
<h3><a NAME="g_iplimit_local"></a>g_iplimit_local - Max sends from untrusted ip to local domains per 30 minutes.</h4><p>See explanation of g_iplimit</p>
<p>Syntax: g_iplimit_local int</p>
<h3><a NAME="g_iplimit_remote"></a>g_iplimit_remote - Max sends from untrusted ip to remote domains per 30 minutes.</h4><p>See explanation of g_iplimit</p>
<p>Syntax: g_iplimit_remote int</p>
<h3><a NAME="g_iplimit_whitelist"></a>g_iplimit_whitelist - List of 'from' addresses that should bypass limits</h4><p>This lets you bypass the iplimit restrictions for a known trusted user/form that needs to send a lot of local/remote emails</p>
<p>Syntax: g_iplimit_whitelist string</p>
<h3><a NAME="g_ipv6_enable"></a>g_ipv6_enable - Enable IPV6 networking (beta testing only)</h4><p>Enable IPV6 networking - this feature only exists on some platforms. And is not yet fully implemented. We strongly advise you DO NOT use this on a live mail server but rather use it in your ipv6 test environment.</p>
<p>Syntax: g_ipv6_enable bool</p>
<p>See also: <a href="domain.htm#dmail_skip_imap">dmail_skip_imap</a>, <a href="domain.htm#imap_public">imap_public</a>, <a href="domain.htm#old_imaphost">old_imaphost</a>, <a href="domain.htm#old_imaphost_always">old_imaphost_always</a>, <a href="domain.htm#old_imaphost_createuser_disable">old_imaphost_createuser_disable</a>, <a href="domain.htm#old_imaphost_nodomain">old_imaphost_nodomain</a>, <a href="domain.htm#old_imaphost_nodelete">old_imaphost_nodelete</a>, <a href="domain.htm#old_imaphost_prefix">old_imaphost_prefix</a>, <a href="domain.htm#old_imaphost_file">old_imaphost_file</a>, <a href="domain.htm#old_imaphost_user">old_imaphost_user</a>, <a href="domain.htm#old_imaphost_pass">old_imaphost_pass</a>, <a href="domain.htm#old_imaphost_lowercase">old_imaphost_lowercase</a>, <a href="domain.htm#old_imaphost_skip">old_imaphost_skip</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_fix_imap_lf">g_fix_imap_lf</a>, <a href="#g_imap_acl">g_imap_acl</a>, <a href="#g_imap_blacklist">g_imap_blacklist</a>, <a href="#g_imap_cram_enable">g_imap_cram_enable</a>, <a href="#g_imap_capa">g_imap_capa</a>, <a href="#g_imap_capa_strip">g_imap_capa_strip</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_imap_port">g_imap_port</a>, <a href="#g_imap_delay">g_imap_delay</a>, <a href="#g_imap_secure_port">g_imap_secure_port</a>, <a href="#g_imap_search_noattach">g_imap_search_noattach</a>, <a href="#g_imap_spam_train">g_imap_spam_train</a>, <a href="#g_imap_no_internal_date">g_imap_no_internal_date</a>, <a href="#g_imap_timezone">g_imap_timezone</a>, <a href="#g_imap_timeout">g_imap_timeout</a>, <a href="#g_imap_uidl_nofix">g_imap_uidl_nofix</a>, <a href="#g_imap_size_fetch">g_imap_size_fetch</a>, <a href="#g_imap_idle_nsf">g_imap_idle_nsf</a>, <a href="#g_imap_testing">g_imap_testing</a>, <a href="#g_imap_old">g_imap_old</a>, <a href="#g_imap_old_ip">g_imap_old_ip</a>, <a href="#g_imap_pop_burst">g_imap_pop_burst</a>, <a href="#g_imap_friends">g_imap_friends</a>, <a href="#g_imap_user_flags">g_imap_user_flags</a>, <a href="#g_imap_max_messages">g_imap_max_messages</a>, <a href="#g_safe_imap">g_safe_imap</a>, <a href="#g_old_imap_headbody">g_old_imap_headbody</a>, <a href="#g_ssl_allow_imap">g_ssl_allow_imap</a>, <a href="#g_ssl_require_imap">g_ssl_require_imap</a></p>
<h3><a NAME="g_keepalive"></a>g_keepalive - Attempts to use keepalive for the web sessions (experimental & faulty currently)</h4><p>Don't use this yet, we are still working on it.</p>
<p>Syntax: g_keepalive bool</p>
<p>See also: <a href="domain.htm#webmail_url">webmail_url</a>, <a href="domain.htm#webmail_urladd">webmail_urladd</a>, <a href="domain.htm#webmail_workarea">webmail_workarea</a>, <a href="domain.htm#webmail_host">webmail_host</a>, <a href="domain.htm#web_url_path">web_url_path</a>, <a href="#g_key_manual">g_key_manual</a>, <a href="#g_key_nowarning">g_key_nowarning</a>, <a href="#g_webdav_enable">g_webdav_enable</a>, <a href="#g_webdav_group">g_webdav_group</a>, <a href="#g_webdav_public">g_webdav_public</a>, <a href="#g_webdav_path">g_webdav_path</a>, <a href="#g_webmail_limit">g_webmail_limit</a>, <a href="#g_webmail_port">g_webmail_port</a>, <a href="#g_webmail_secure_port">g_webmail_secure_port</a>, <a href="#g_webmail_timeout">g_webmail_timeout</a>, <a href="#g_webmail_useip">g_webmail_useip</a>, <a href="#g_webmail_popmode">g_webmail_popmode</a>, <a href="#g_webmail_url">g_webmail_url</a>, <a href="#g_webmail_urladd">g_webmail_urladd</a>, <a href="#g_webmail_workarea">g_webmail_workarea</a>, <a href="#g_webmail_select_domain">g_webmail_select_domain</a>, <a href="#g_webmail_secret">g_webmail_secret</a>, <a href="#g_web_hide_source_names">g_web_hide_source_names</a>, <a href="#g_web_force_doctype_first_disable">g_web_force_doctype_first_disable</a>, <a href="#g_web_url_path">g_web_url_path</a>, <a href="#g_web_title">g_web_title</a></p>
<h3><a NAME="g_key_manual"></a>g_key_manual - Try and activate automatically when the key expires</h4><p>When you purchase updates you must activate to get the expire date reset in surgemail, if this setting is not turned on then surgemail will try and do this automatically for you.</p>
<p>Syntax: g_key_manual bool</p>
<p>See also: <a href="domain.htm#webmail_url">webmail_url</a>, <a href="domain.htm#webmail_urladd">webmail_urladd</a>, <a href="domain.htm#webmail_workarea">webmail_workarea</a>, <a href="domain.htm#webmail_host">webmail_host</a>, <a href="domain.htm#web_url_path">web_url_path</a>, <a href="#g_keepalive">g_keepalive</a>, <a href="#g_key_nowarning">g_key_nowarning</a>, <a href="#g_webdav_enable">g_webdav_enable</a>, <a href="#g_webdav_group">g_webdav_group</a>, <a href="#g_webdav_public">g_webdav_public</a>, <a href="#g_webdav_path">g_webdav_path</a>, <a href="#g_webmail_limit">g_webmail_limit</a>, <a href="#g_webmail_port">g_webmail_port</a>, <a href="#g_webmail_secure_port">g_webmail_secure_port</a>, <a href="#g_webmail_timeout">g_webmail_timeout</a>, <a href="#g_webmail_useip">g_webmail_useip</a>, <a href="#g_webmail_popmode">g_webmail_popmode</a>, <a href="#g_webmail_url">g_webmail_url</a>, <a href="#g_webmail_urladd">g_webmail_urladd</a>, <a href="#g_webmail_workarea">g_webmail_workarea</a>, <a href="#g_webmail_select_domain">g_webmail_select_domain</a>, <a href="#g_webmail_secret">g_webmail_secret</a>, <a href="#g_web_hide_source_names">g_web_hide_source_names</a>, <a href="#g_web_force_doctype_first_disable">g_web_force_doctype_first_disable</a>, <a href="#g_web_url_path">g_web_url_path</a>, <a href="#g_web_title">g_web_title</a></p>
<h3><a NAME="g_key_nowarning"></a>g_key_nowarning - Disable reminders to update your license</h4><p>Disables the email reminding you to pay for updates for virus and spam filter and new versions etc...</p>
<p>Syntax: g_key_nowarning bool</p>
<p>See also: <a href="domain.htm#webmail_url">webmail_url</a>, <a href="domain.htm#webmail_urladd">webmail_urladd</a>, <a href="domain.htm#webmail_workarea">webmail_workarea</a>, <a href="domain.htm#webmail_host">webmail_host</a>, <a href="domain.htm#web_url_path">web_url_path</a>, <a href="#g_keepalive">g_keepalive</a>, <a href="#g_key_manual">g_key_manual</a>, <a href="#g_webdav_enable">g_webdav_enable</a>, <a href="#g_webdav_group">g_webdav_group</a>, <a href="#g_webdav_public">g_webdav_public</a>, <a href="#g_webdav_path">g_webdav_path</a>, <a href="#g_webmail_limit">g_webmail_limit</a>, <a href="#g_webmail_port">g_webmail_port</a>, <a href="#g_webmail_secure_port">g_webmail_secure_port</a>, <a href="#g_webmail_timeout">g_webmail_timeout</a>, <a href="#g_webmail_useip">g_webmail_useip</a>, <a href="#g_webmail_popmode">g_webmail_popmode</a>, <a href="#g_webmail_url">g_webmail_url</a>, <a href="#g_webmail_urladd">g_webmail_urladd</a>, <a href="#g_webmail_workarea">g_webmail_workarea</a>, <a href="#g_webmail_select_domain">g_webmail_select_domain</a>, <a href="#g_webmail_secret">g_webmail_secret</a>, <a href="#g_web_hide_source_names">g_web_hide_source_names</a>, <a href="#g_web_force_doctype_first_disable">g_web_force_doctype_first_disable</a>, <a href="#g_web_url_path">g_web_url_path</a>, <a href="#g_web_title">g_web_title</a></p>
<h3><a NAME="g_language_default"></a>g_language_default - Default language for user web interface</h4><p>If the user has not yet selected a language then this language is used as a default. If the language specified here does not exist in the language files, or nothing is specified here then English is used as the default language.</p>
<p>Syntax: g_language_default string</p>
  <h3><a name="g_last_login"></a>g_last_login
    - Create last_login.time files</h3>
  <p>If true then when users login via
    pop or imap or webmail the file last_login.time is created/touched, this can
    then be used by local scripts to determine which user directories are not
    in active use. </p>


<p>Syntax: g_last_login bool</p>
<h3><a NAME="g_last_login_days"></a>g_last_login_days - If last login is more than this many days then reject email - do not use on mirrors</h4><p>This can be used on a shared disk cluster to establish which users are inactive. On a normal mirror or stand alone system you should use DISABLE_SMTP_AFTER</p>
<p>Syntax: g_last_login_days int</p>
<h3><a NAME="g_late_forward"></a>g_late_forward - Apply all users forwarding rules after friends, spam, and filtering</h4><p>By default users forwarding rules are applied before friends, spam and user filter rules. By default users can tick and option on their forwarding page to perform 'late' forwarding, that is forwarding that occurs after friends, spam and filtering. This option overrides the user option and causes all user forwarding rules to be applied after friends, spam and filtering.</p>
<p>Syntax: g_late_forward bool</p>
<h3><a NAME="g_ldap_forward"></a>g_ldap_forward - Remote ldap server to forward requests to (only for testing do not use)</h4><p>Forwards all ldap requests to another host, primarily intended for testing, use at your own risk.</p>
<p>Syntax: g_ldap_forward string</p>
<p>See also: <a href="domain.htm#ldap_disable">ldap_disable</a>, <a href="domain.htm#ldap_anydomain">ldap_anydomain</a>, <a href="#g_ldap_port">g_ldap_port</a>, <a href="#g_ldap_outlook_browse_max">g_ldap_outlook_browse_max</a></p>
<h3><a NAME="g_ldap_outlook_browse_max"></a>g_ldap_outlook_browse_max - Basic outlook ldap address browsing, max items (KEEP THIS SMALL eg <50): default=0 (disabled) </h4><p>numeric maximum items to return default=0 (ie disabled)</p>
<p>Syntax: g_ldap_outlook_browse_max int</p>
<p>See also: <a href="domain.htm#ldap_disable">ldap_disable</a>, <a href="domain.htm#ldap_anydomain">ldap_anydomain</a>, <a href="#g_ldap_port">g_ldap_port</a>, <a href="#g_ldap_forward">g_ldap_forward</a></p>
  <h3><a name="g_ldap_port"></a>g_ldap_port
    - LDAP Port (normally 389)</h3>
  <p>If specified this enables the mini
    ldap server inside surgemail which allows users with email clients that can
    do 'ldap' directory lookups to search for other users on the system. Obviously
    this should NEVER BE turned on for a public mail server, it is only appropriate
    with private mail servers where all users who can access the system are trusted.</p>
  <p>There are additional 'domain' settings
    ldap_anydomain, which lets users search for users outside their own domain
    name. And ldap_disable which can disable ldap for specific domains.</p>
  <p></p>
  <p></p>

<p>Syntax: g_ldap_port int</p>
<p>See also: <a href="domain.htm#ldap_disable">ldap_disable</a>, <a href="domain.htm#ldap_anydomain">ldap_anydomain</a>, <a href="#g_ldap_forward">g_ldap_forward</a>, <a href="#g_ldap_outlook_browse_max">g_ldap_outlook_browse_max</a></p>
<h3><a NAME="g_lf_fix_off"></a>g_lf_fix_off - If input contains naked 'lf' characters then reject with error instead of stripping as usual</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_lf_fix_off bool</p>
  <h3><a name="g_local_skipgateway"></a>g_local_skipgateway
    - Skip gateway rule for local messages</h3>
  <p>If true skip gateway rule for local
    messages (bounces etc).&nbsp; </p>

<p>Syntax: g_local_skipgateway bool</p>
<h3><a NAME="g_log_bounce_disable"></a>g_log_bounce_disable - Stop bounce reject entries filling up log (typically from spam bounces)</h4><p>Disables useless logging in msg*.rec files, only recommended for busy servers</p>
<p>Syntax: g_log_bounce_disable bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_date"></a>g_log_date - Log full date in log files</h4><p>Makes log lines more complete</p>
<p>Syntax: g_log_date bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_date_msg"></a>g_log_date_msg - Log full date in msg log files (g_log_date required too)</h4><p>Makes log lines more complete with the full date</p>
<p>Syntax: g_log_date_msg bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_disable"></a>g_log_disable - Disable most logging - not recommended</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_log_disable bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_dns"></a>g_log_dns - Log dns responses in gory detail</h4><p>Useful when debugging unexpected DNS results, search for 'dns' in mail.log to find the results.</p>
<p>Syntax: g_log_dns bool</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_log_dropped_disable"></a>g_log_dropped_disable - Don't log if no 'data' command sent</h4><p>Disables useless logging in msg*.rec files, only recommended for busy servers</p>
<p>Syntax: g_log_dropped_disable bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="  <h3><a NAME="g_log_flush"></a>g_log_flush
    - Flushing log - flush on every write</h3>
  <p>This makes the server flush log
    data after every write to the file. This affects performance but can sometimes
    be the only way to track down an unusual fault eg: if the server dies the
    log is completely up to date and shows the last thing the server did before
    dying.&nbsp; </p>

<p>Syntax: g_log_flush bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
  <h3><a name="g_log_fwd"></a>g_log_fwd
    - Log fwd/redirection rules associated in msg.rec</h3>
  <p>Log fwd/redirection rules associated
    with g_log_rcpt in msg.rec files.&nbsp; </p>

<p>Syntax: g_log_fwd bool</p>
  <h3><a name="g_log_level"></a>g_log_level
    - Set logging level</h3>
  <p>Set the logging level. This is
    primarily intended for finding faults with the server. Info level logging
    is the default. Alternatives are 'error' and 'debug'&nbsp; </p>

<p>Syntax: g_log_level string</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
  <h3><a name="g_log_norcpt"></a>g_log_norcpt
    - Don't log individual recipients in msg.rec files</h3>
  <p>Log individual recipients in msg.rec
    files</p>

<p>Syntax: g_log_norcpt bool</p>
  <h3><a name="g_log_path"></a>g_log_path
    - Path for log files</h3>
  <p>Sets the path for all SurgeMails
    generated logfiles. (except the delivery record logs) </p>

<p>Syntax: g_log_path string</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
  <h3><a name="g_log_pid"></a>g_log_pid
    - Log pid</h3>
  <p>Log PID along with thread-id in
    the UNIXlog files. </p>

<p>Syntax: g_log_pid bool</p>
  <h3><a name="g_log_reject_disable"></a>g_log_reject_disable
    - Disable the logging of rejected mail</h3>
  <p>SurgeMail will normally log failed
    deliveries due to MFilter / SmiteSpam / etc in the delivery logs. This setting
    will restrict this logging to accepted mail only.</p>

<p>Syntax: g_log_reject_disable bool</p>
  <h3><a name="g_log_size"></a>g_log_size
    - Size of the mail.log files before they are rotated</h3>
  <p>The mail.log files are a fixed
    size rotating log of what is happening inside SurgeMail. Dependant on the
    load of your server this may contain a few days worth of activity or a few
    minutes worth. This setting allows you to change the default 2MB before rotation
    size.</p>
  <p></p>

<p>Syntax: g_log_size int</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_slow"></a>g_log_slow - Do slower logging system</h4><p>Forces logging to disk even if it may slow things down. Not recommended.</p>
<p>Syntax: g_log_slow bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_start_norotate"></a>g_log_start_norotate - Don't rotate log on startup</h4><p>By default the mail.log is rotated to mail2.log... on startup.</p>
<p>Syntax: g_log_start_norotate bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_syslog"></a>g_log_syslog - Send 'msg.rec' entries to syslog</h4><p>This is useful to 'merge' log information on a single host, on unix you specify the destination in your syslog configuration rather than specifying a host.  On windows you can specify the remote host as you may not have a local syslog daemon</p>
<p>Syntax: g_log_syslog bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_syslog_debug"></a>g_log_syslog_debug - Send 'mail.log' entries to syslog as 'mail.debug' data</h4><p>This data is probably not worth sending to syslog, it's really debugging information of no long term value and too much to store.</p>
<p>Syntax: g_log_syslog_debug bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_syslog_host"></a>g_log_syslog_host - Specify host to send syslog entries to (windows only)</h4><p>On windows this lets you tell surgemail where the syslog deamon is, on unix you can do this in your syslog config file.</p>
<p>Syntax: g_log_syslog_host string</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_syslog_only"></a>g_log_syslog_only - Disable writing to msg.rec</h4><p>This prevents the local logs from being written</p>
<p>Syntax: g_log_syslog_only bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
  <h3><a name="g_log_tcp_read"></a>

<p>Syntax: g_log_tcp_read string</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
    <a name="g_log_tcp_write"></a>g_log_tcp_read,g_log_tcp_write - Log actual
    data for a specific IP </h3>
  <p>These settings let you 'trace'
    the data going 'to' and or 'from' a specific IP address (or list, or wild
    card) Lets say you have a client on a specific address that has a problem
    where the fault could be server/client or network related. To track it down
    add this to surgemail.ini</p>
  <blockquote>
    <p><font face="Courier New, Courier, mono">g_log_tcp_read &quot;2.3.4.5&quot;<br>
      g_log_tcp_write &quot;2.3.4.5&quot;</font></p>
  </blockquote><font face="Courier New, Courier, mono">
  <p>Then try whatever is 'failing'
    and examine 'mail.log' to see what was read/written to that client.</p>

<p>Syntax: g_log_tcp_write string</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_log_thid"></a>g_log_thid - Log thread id in .rec files</h4><p>Logs the thread id in the msg*.rec files, this is good for some types of debugging.</p>
<p>Syntax: g_log_thid bool</p>
<p>See also: <a href="domain.htm#redirect">redirect</a>, <a href="domain.htm#redirect_max">redirect_max</a>, <a href="domain.htm#redirect_cc">redirect_cc</a>, <a href="domain.htm#redirect_hash">redirect_hash</a>, <a href="#g_create_record_ip">g_create_record_ip</a>, <a href="#g_bounce_redirect">g_bounce_redirect</a>, <a href="#g_orbs_rec">g_orbs_rec</a>, <a href="#g_received_name">g_received_name</a>, <a href="#g_received_names">g_received_names</a>, <a href="#g_received_skip">g_received_skip</a>, <a href="#g_received_skip_all">g_received_skip_all</a>, <a href="#g_received_skip_spf">g_received_skip_spf</a>, <a href="#g_recent_bypass">g_recent_bypass</a>, <a href="#g_record_days">g_record_days</a>, <a href="#g_record_hash">g_record_hash</a>, <a href="#g_record_path">g_record_path</a>, <a href="#g_redirect">g_redirect</a>, <a href="#g_redirect_cc">g_redirect_cc</a>, <a href="#g_redirect_from">g_redirect_from</a>, <a href="#g_redirect_from_cc">g_redirect_from_cc</a>, <a href="#g_redirect_hide">g_redirect_hide</a>, <a href="#g_redirect_iflocal">g_redirect_iflocal</a>, <a href="#g_redirect_ignore_errors">g_redirect_ignore_errors</a>, <a href="#g_redirect_noautocreate_rules">g_redirect_noautocreate_rules</a>, <a href="#g_spam_allow_recent">g_spam_allow_recent</a>, <a href="#g_user_receive_rule">g_user_receive_rule</a>, <a href="#g_virus_recent_skip">g_virus_recent_skip</a></p>
<h3><a NAME="g_log_user"></a>g_log_user - Log pop/imap/smtp protocol for specified user</h4><p>Creates a file for each user that matches this list, user_user@domain.log</p>
<p>Syntax: g_log_user string</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
  <h3><a name="g_lookup_names"></a>g_lookup_names
    - Lookup names for connecting IP addresses</h3>
  <p>This is one of those things that
    you very likely do not want to turn on. It makes the mail server lookup the
    IP name of any connecting user, however lookups can take 30-90 seconds so
    it can negatively impact apparent performance. Most of the access rules in
    the server can accept IP names if this setting is enabled, e.g. instead of
    specifying local users are 153.2.3.* you can say '*.netwinsite.com"&nbsp;</p>

<p>Syntax: g_lookup_names bool</p>
  <h3><a name="g_lookup_reject_fails"></a>g_lookup_reject_fails
    - If lookup cannot get a name, reject user (not generally recommended)</h3>
  <p>If lookup cannot get a name, reject
    user (not generally recommended)&nbsp;</p>

<p>Syntax: g_lookup_reject_fails bool</p>
  <h3><a NAME="g_lowdisk_warning"></a>g_lowdisk_warning
    - Disk space level below which to warn the manager</h3>
  <p>SurgeMail checks available disk
    space on startup and every half hour whilst running on all the mail, temp
    and home directories. If any is found to be low an email is sent to the system
    manager. &nbsp;The recommended level is at least 100MB (default is 10MB).</p>

<p>Syntax: g_lowdisk_warning string</p>
  <h3><a name="g_mailbox_path"></a>g_mailbox_path
    - Default directory to store mail</h3>
  <p>Default directory to store mail
    this is used to set mailbox_path when creating domains.&nbsp;
    </p>


<p>Syntax: g_mailbox_path string</p>
<h3><a NAME="g_maildir_max"></a>g_maildir_max - Max messages in a folder, do not adjust</h4><p>The default is 30,000. When exceeded additional messages are invisible until some are deleted. We strongly recommend you don't change this limit as large folders are gemoetrically inefficient and users should take steps to avoid this limit rather than increasing it.</p>
<p>Syntax: g_maildir_max int</p>
<p>See also: <a href="#g_maildir_netwin">g_maildir_netwin</a>, <a href="#g_maildir_standard">g_maildir_standard</a>, <a href="#g_maildir_report">g_maildir_report</a></p>
<h3><a NAME="g_maildir_netwin"></a>g_maildir_netwin - Use NETWIN proprietry storage format - Not Recommended</h4><p>This changes the storage format from one message per file, to a proprietry format, the spool is converted automatically when you restart surgemail.  As a new feature which reformats all messages stored this settings has some risks, we suggest caution particularly on an existing server, ensure you have a backup mechanism of some kind in place!. Although this setting can give performance gains we think generally the gains do not out weigh the risk introduced, personally I prefer a simple 'directory of files' for each mail folder</p>
<p>Syntax: g_maildir_netwin bool</p>
<h3><a NAME="g_maildir_report"></a>g_maildir_report - Email manager on ndb errors</h4><p>This is for debugging and not for general use</p>
<p>Syntax: g_maildir_report bool</p>
  <h3><a name="g_maildir_standard"></a>g_maildir_standard
    - Use more standard maildir format</h3>
  <p>The maildir format is flawed in
    that it is not designed to be used on Windows systems. This setting will force
    SurgeMail to use a more standard maildir format, but does mean you cannot
    just copy mail from a UNIX box to a Windows box as the &quot;:&quot; character
    is a reserved character on Windows systems.&nbsp;</p>

<p>Syntax: g_maildir_standard bool</p>
  <h3><a name="g_mailstatus_message" id="g_mailstatus_message"></a>g_mailstatus_message
    - Error message to give when mailstatus is set to specified state</h3>

  <p>This allows you to specify the
    error message given to the user when they are set to certain states, you may
    use other authent fields in the message, for example:</p>
  <p>g_mailstatus_message state=&quot;payup&quot;
    message=&quot;Payment is due $full_name$, please pay here: http://your.site/path/file.htm&quot;</p>

<p>Syntax: g_mailstatus_message state=string message=string</p>
  <h3><a name="g_manager"></a>g_manager
    - Email address of manager</h3>
  <p>Email address to send reports to.&nbsp;</p>

<p>Syntax: g_manager string</p>
  <h3><a NAME="g_manager_port"></a>g_manager_port
    - Manager port (default 7026)</h3>
  <p>This is the port the web manager
    and web mail access will run on. By default it is port 7026. Use the keyword
    'disabled' to disable this part of the surgemail service.</p>

<p>Syntax: g_manager_port int</p>
  <h3><a name="g_manager_secure_port"></a>g_manager_secure_port
    - Manager secure port (default 143)</h3>
  <p>This should be the main server
    management port and provides a secure server management connection. By default
    it is port 7025. https://your.mail.server:7025. Use the keyword 'disabled'
    to disable this part of the SurgeMail service.</p>

<p>Syntax: g_manager_secure_port int</p>
  <h3><a NAME="g_manager_smtp"></a>g_manager_smtp
    - SMTP server for manager Emails about failures</h3>
  <p>For obvious reasons, if the server
    is not working it cannot use itself to send the manager an Email message,
    so for highest reliability you may want to define another mail server for
    fault reports to be Emailed to.&nbsp; </p>

<p>Syntax: g_manager_smtp string</p>
<h3><a NAME="g_manager_username"></a>g_manager_username - Global domain managers username (for web based domain administration)</h4><p>Specifies the local users which have manager rights for all domains. These users can login to the user self management interface and will recieve special domain manager options. This setting works slightly different to the domain level 'manager_username' setting in that if you specify an account without the @domain part i.e. 'admin' it gives all admin users in all domains domain rights over all domains.</p>
<p>Syntax: g_manager_username string</p>
<h3><a NAME="g_max_bad_ip"></a>g_max_bad_ip - Max bad recipients per ip address before blocking that ip</h4><p>This setting is important to stop hackers fishing for email addresses by guessing, I recommend you start with a low setting like 5, but increase to 100 if it causes problems. If you have a firewall or spam filter in front of surgemail add G_SPAM_ALLOW to whitelist it's ip address</p>
<p>Syntax: g_max_bad_ip int</p>
<h3><a NAME="g_max_bad_ip_time"></a>g_max_bad_ip_time - Seconds to block guessing hackers</h4><p>The default is 1 day (used to be 1 hour). Units is seconds</p>
<p>Syntax: g_max_bad_ip_time int</p>
  <h3><a name="g_max_bad_nolookup"></a>g_max_bad_nolookup
    - Max bad recipients in a row if exceeded skip user lookup</h3>
  <p>Max bad recipients in a row if
    exceeded skip user lookup - useful when tarpitting a spammer.&nbsp;
  </p>

<p>Syntax: g_max_bad_nolookup int</p>
  <h3><a NAME="g_max_bad_to"></a>g_max_bad_to
    - Max bad recipients in a row</h3>
  <p>If a system sending your system Email sends more than the specified number
    of bad addresses in a row then it
    is assumed to be incoming spam and further messages are rejected.&nbsp;
  </p>

<p>Syntax: g_max_bad_to string</p>
  <h3><a NAME="g_mdir_hash"></a>g_mdir_hash
    - SurgeMail hashing mode</h3>
  <p>Hashing mode for SurgeMail, default
    is 5, for compatibilty with /b/o/bob use 2.&nbsp; </p>

<p>Syntax: g_mdir_hash int</p>
  <h3><a NAME="g_mdir_prefix"></a>g_mdir_prefix
    - Maildir folder prefix</h3>
  <p>Prefix for maildir folders defaults
    to 'mdir', use '.' for compatibility with qmail.&nbsp; </p>

<p>Syntax: g_mdir_prefix string</p>
  <h3><a name="g_mfilter_addonly"></a>g_mfilter_addonly
    - Add headers only</h3>
  <p>If true then only allow 'adding'
    headers, not changing them. </p>

<p>Syntax: g_mfilter_addonly bool</p>
<h3><a NAME="g_mfilter_bounces"></a>g_mfilter_bounces - Run mfilter on bounce messages and responders etc</h4><p>Run the mfilter processing even on bounces</p>
<p>Syntax: g_mfilter_bounces bool</p>
  <h3><a name="g_mfilter_file"></a>g_mfilter_file
    - Path to mfilter.rul spam rule processing</h3>
  <p>This is the full path to the Mfilter
    rule file which provides advanced message filtering capabilities. See <a href="mfilter.htm">Mfilter.htm</a>
    for more details. </p>

<p>Syntax: g_mfilter_file string</p>
  <h3><a name="g_mfilter_localonly"></a>g_mfilter_localonly
    - Only filter local deliveries</h3>
  <p>If true then only run Mfilter on
    local deliveries.</p>

<p>Syntax: g_mfilter_localonly bool</p>
  <h3><a name="g_mfilter_maxlen"></a>g_mfilter_maxlen
    - Mfilter Max message length</h3>
  <p>Size to truncate messages to before
    processing with Mfilter. </p>

<p>Syntax: g_mfilter_maxlen int</p>
<h3><a NAME="g_mfilter_noisey"></a>g_mfilter_noisey - Do log anything in mfilter</h4><p>Logs the real details of mfilter, never user on a live busy system this is only intended for debugging an mfilter script. It logs every line of the script!</p>
<p>Syntax: g_mfilter_noisey bool</p>
<p>See also: <a href="#g_mfilter_file">g_mfilter_file</a>, <a href="#g_mfilter_bounces">g_mfilter_bounces</a>, <a href="#g_mfilter_maxlen">g_mfilter_maxlen</a>, <a href="#g_mfilter_addonly">g_mfilter_addonly</a>, <a href="#g_mfilter_localonly">g_mfilter_localonly</a>, <a href="#g_mfilter_trace">g_mfilter_trace</a>, <a href="#g_mfilter_skip_ip">g_mfilter_skip_ip</a>, <a href="#g_mfilter_skip_from">g_mfilter_skip_from</a>, <a href="#g_mfilter_skip_to">g_mfilter_skip_to</a>, <a href="#g_user_mfilter">g_user_mfilter</a></p>
<h3><a NAME="g_mfilter_skip_from"></a>g_mfilter_skip_from - From addresses (envelope) to skip mfilter processing for</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_mfilter_skip_from string</p>
  <h3><a name="g_mfilter_skip_ip"></a>g_mfilter_skip_ip - Skip mfilter for messages
    from these ip's </h3>
  <p>This allows you to add a comma separated list of ip's to skip running mfilter
    on. This is based on the ip of the sender. Wild cards and ranges can be used.</p>
  <p>Example:<br>
    g_mfilter_skip &quot;10.0.0.2,210.56.43.*,193.1.16-24.0-255&quot;
    </p>


<p>Syntax: g_mfilter_skip_ip string</p>
<h3><a NAME="g_mfilter_skip_to"></a>g_mfilter_skip_to - To addresses to skip mfilter processing for</h4><p>If one matches then mfilter is skipped for entire message</p>
<p>Syntax: g_mfilter_skip_to string</p>
  <h3><a name="g_mfilter_trace"></a>g_mfilter_trace
    - Log trace lines in Mfilter</h3>
  <p>Log trace lines in Mfilter for
    debugging . </p>


<p>Syntax: g_mfilter_trace bool</p>
  <h3><a name="g_mirror_config" id="g_mirror_config"></a>g_mirror_config
    - Mirror surgemail.ini </h3>
  <p>Syntax: g_mirror_config &quot;true/false&quot;</p>
  <p>You put this on both machines and
    it will attempt to mirror the surgemail.ini. There will be some settings that
    you do not wish to mirror and these can be exempted by using:</p>
  <p><a href="#g_mirror_config_except">g_mirror_config_except</a>
    &quot;setting,setting,setting&quot;</p>
  <p>Some settings are not mirrored
    by default these are: g_mirror_host, g_mirror_nwauth*, g_mirror_mode, g_authent_path,
    g_dlist_path, g_log_path, g_record_path, g_home, g_authent_process, g_mfilter_file,
    g_webmail_work, g_work, g_virus_cmd, g_atrn_port, g_imap_port, g_imap_secure_port,
    g_ldap_port, g_manager_port, g_manager_secure_port, g_monitor_port, g_pop_port,
    g_pop_secure_port, g_ppd_port, g_smtp_port, g_smtp_secure_port, g_webmail_port,
    g_webmail_secure_port, g_surgeplus_port, g_surgeplus_secure_port, g_surgeplus_web_port,
    g_bind_out, g_virus_avast, dmail_drop_path, dmail_bin_path, web_path, webmail_work</p>
  <p>(it is possible we will update
    this list over time)<br>
    * g_mirror_nwauth is obsolete don't use it.</p>

<p>Syntax: g_mirror_config bool</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
  <h3><a name="g_mirror_config_except" id="g_mirror_config_except"></a>g_mirror_config_except
    - Mirror surgemail.ini </h3>
  <p>Syntax: g_mirror_config &quot;setting,setting,setting&quot;</p>
  <p>This will tell the server not to
    import the specified settings from the other mirror. </p>
  <p>Example:<br>
    g_mirror_except &quot;g_spam_allow&quot;</p>
  <p>This will tell the server not to
    change this setting. This only affects the machine its on, if the other server
    does not have this set, it will continue to mirror the setting. This setting
    accepts wildcards. This setting accepts a special case value &quot;address&quot;
    that will prevent mirroring of existing domain ip addresses, allowing different
    ips on each mirror machine. There are a number of settings which are not mirrored
    by default these are specified above in <a href="#g_mirror_config">g_mirror_config</a>.</p>
  <p>In addition the mailbox_path setting
    is not mirrored, <b>unless</b>, the existing setting is a sub directory of
    the g_mailbox_path and the new setting is a sub directory of the g_mailbox_path
    from the other server, in which case the mailbox_path is set to the same sub
    directory using the existing g_mailbox_path setting eg.</p>
  <p>[recieving server]<br>
    g_mailbox_path &quot;c:\surgemail\mbox&quot;<br>
    mailbox_path &quot;c:\surgemail\mbox\domain&quot;</p>
  <p>[sending server]<br>
    g_mailbox_path &quot;d:\surgemail\mbox&quot;<br>
    mailbox_path &quot;c:\surgemail\mbox\domain_moved_here&quot;</p>
  <p>[result on recieving server]<br>
    g_mailbox_path &quot;c:\surgemail\mbox&quot;<br>
    mailbox_path &quot;c:\surgemail\mbox\domain_moved_here&quot;
    </p>


<p>Syntax: g_mirror_config_except string</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
<h3><a NAME="g_mirror_debug"></a>g_mirror_debug - Log more info to mirror log.</h4><p>Helps when tracking down fault with nwauth or mirroring, never leave turned on as it can lead to mutex crashing</p>
<p>Syntax: g_mirror_debug bool</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a></p>
  <h3><a name="g_mirror_host"></a>g_mirror_host
    - Mirror host&nbsp;</h3>
  <p>This unique SurgeMail feature allows
    you to setup two identical mail servers across a local or widearea network.
    The waiting mail messages &amp; folders etc are duplicated continuously between
    the two systems, so users can use either system. If either system fails for
    any hardware reason the other acts as an instant on line replacement without
    any interruption to the user. In addition when the faulty system is replaced
    the two automatically re-synchronize.&nbsp; </p>
  <p><a href="mirror.htm">See this page
    for Mirror overview</a> </p>

<p>Syntax: g_mirror_host string</p>
<p>See also: <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
<h3><a NAME="g_mirror_live"></a>g_mirror_live - Mirror: Send incoming messages immediately</h4><p>Enables a faster mirroring mechanism, strongly recomended, this setting will be the default in a future release</p>
<p>Syntax: g_mirror_live bool</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
<h3><a NAME="g_mirror_live_max"></a>g_mirror_live_max - Limit size of mirror_live default 60k</h4><p>This prevents smtp delays when mirroring over a slowish link. The default is 60k</p>
<p>Syntax: g_mirror_live_max int</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
  <h3><a name="g_mirror_mode"></a>g_mirror_mode
    - Master / slave mirror system</h3>
  <p>Certain actions may only be run
    on the mirror master system (such as expire processing) or are different in
    behaviour between the master and slave (such as NWAuth mirrorring and dlist
    mirorring). This setting must be set to MASTER on one system and SLAVE on
    the other system for correct operation. (Note basic mirrorring of delivered
    mail will happen if this setting is the same on both systems it is just some
    of the special mirrorring functionality that this is required for)</p>

<p>Syntax: g_mirror_mode string</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
  <h3><a name="g_mirror_nossl"></a>g_mirror_nossl
    - Disable SSL for mirror protocol connection</h3>
  <p>This is best turned off unless
    your servers are talking over a wide area untrusted network.&nbsp;
  </p>

<p>Syntax: g_mirror_nossl bool</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
<h3><a NAME="g_mirror_nwauth_always"></a>g_mirror_nwauth_always - Mirror nwauth database files</h4><p>Set this if you're using multiauth to run nwauth and you want those files mirrored. Requires you to add -isslave2 to multiauth.ini nwauth command line. Requires the nwauth files to be located in the surgemail root/install directory.</p>
<p>Syntax: g_mirror_nwauth_always bool</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
  <h3><a name="g_mirror_prune_age"></a>g_mirror_prune_age
    - Mirror minimum age for items to be pruned during sync_prune</h3>
  <p>Mirror minimum age for items to
    be pruned during sync_prune, default 14 days.&nbsp; </p>

<p>Syntax: g_mirror_prune_age int</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
  <h3><a name="g_mirror_secret"></a>g_mirror_secret
    - Mirror secret shared password</h3>
  <p>This password is required to prevent
    the mirroring mechanisms being abused. We recommend a random string of letters
    at least 10 characters long. e.g. "urcajfielsjfs"&nbsp; </p>

<p>Syntax: g_mirror_secret string</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
<h3><a NAME="g_mirror_threads"></a>g_mirror_threads - Max threads we can use during resync_fast, default 6</h4><p>During resync fast four threads are used, this is usually sufficient, more may overload your system and result in failures, if your system is not under load you could set it as high as eight, but this would only be sensible if your disk array has more than 4 drives in it!</p>
<p>Syntax: g_mirror_threads int</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_trash">g_mirror_trash</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
<h3><a NAME="g_mirror_trash"></a>g_mirror_trash - Normally on a resync the trash folder is ignored.</h4><p>This can be useful when you want to compare results so you want everything even if it's a bit pointless</p>
<p>Syntax: g_mirror_trash bool</p>
<p>See also: <a href="#g_mirror_host">g_mirror_host</a>, <a href="#g_mirror_nossl">g_mirror_nossl</a>, <a href="#g_mirror_nwauth">g_mirror_nwauth</a>, <a href="#g_mirror_nwauth_always">g_mirror_nwauth_always</a>, <a href="#g_mirror_mode">g_mirror_mode</a>, <a href="#g_mirror_secret">g_mirror_secret</a>, <a href="#g_mirror_prune_age">g_mirror_prune_age</a>, <a href="#g_mirror_threads">g_mirror_threads</a>, <a href="#g_mirror_live">g_mirror_live</a>, <a href="#g_mirror_live_max">g_mirror_live_max</a>, <a href="#g_mirror_config">g_mirror_config</a>, <a href="#g_mirror_config_except">g_mirror_config_except</a>, <a href="#g_mirror_debug">g_mirror_debug</a></p>
  <h3><a name="g_monitor_disable"></a>g_monitor_disable
    - Disable the monitor process</h3>
  <p>This allows the monitor process
    to be completely disabled. The monitor process is the swatch executable and
    can be setup to monitor and automatically restart SurgeMail if it crashes.
    The monitor process is also used to start SurgeMail from the using the web
    interface if it has been shutdown.</p>

<p>Syntax: g_monitor_disable bool</p>
  <h3><a NAME="g_monitor_port"></a>g_monitor_port
    - SurgeMail monitor port (default 7027)</h3>
  <p>The port SurgeMail monitor runs
    on allowing SurgeMail to be remotely started. Typically you won't need to
    change this, however you can specify an IP address to bind to or a list of
    alternate ports, e.g. 10.3.2.3:7027 or 7027,8027 etc... &nbsp; </p>

<p>Syntax: g_monitor_port int</p>
<h3><a NAME="g_msg_hops_max"></a>g_msg_hops_max - Maximum received lines or message is bounced, default 30</h4><p>If there are more received lines than this the message is bounced.</p>
<p>Syntax: g_msg_hops_max int</p>
<h3><a NAME="g_msg_log_extra"></a>g_msg_log_extra - Extra user activity logging</h4><p>Log user activities like logins (successful and failed), and the download of message bodies to the 'msg.log' files; recYYMM/msgYYMMDD.rec</p>
<p>Syntax: g_msg_log_extra bool</p>
  <h3><a NAME="g_msg_max"></a>g_msg_max
    - Max size of a single message</h3>
  <p>Max size, in bytes, of a message,
    eg: 20,000,000 for a 20mb limit. This setting is useful to prevent a single
    large message jamming up your system.&nbsp; </p>

<p>Syntax: g_msg_max int</p>
<h3><a NAME="g_msg_max_drop"></a>g_msg_max_drop - Drop link if size exceeded instead of waiting for the message to all arrive</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_msg_max_drop int</p>
<h3><a NAME="g_msg_max_total"></a>g_msg_max_total - Max size of a message * recipients</h4><p>This limits abuse, if set to 100mb then if user sends 10mb message to 10 users it will be blocked</p>
<p>Syntax: g_msg_max_total int</p>
<h3><a NAME="g_msg_track"></a>g_msg_track - Message tracking - for debugging</h4><p>Debugging setting, do not use</p>
<p>Syntax: g_msg_track bool</p>
<h3><a NAME="g_mutex_fast"></a>g_mutex_fast - Use fast mutex handling DEBUGGING option only</h4><p>Interrnal use only</p>
<p>Syntax: g_mutex_fast bool</p>
<h3><a NAME="g_mutex_timing"></a>g_mutex_timing - Name of mutex to collect extra timing information for</h4><p>Interrnal use only</p>
<p>Syntax: g_mutex_timing string</p>
<h3><a NAME="g_mx_tryall"></a>g_mx_tryall - Try all mx hosts even if lower than own mx priority</h4><p>This breaks the standard RFC behavior, but can be sensible in certain rare situations which currently escape me.</p>
<p>Syntax: g_mx_tryall int</p>
<h3><a NAME="g_myrbl_store"></a>g_myrbl_store - Size of internal myrbl database</h4><p>Best not to touch this setting, default is 10000, Suggested valid range would be no less than 1000 and no more than 100000</p>
<p>Syntax: g_myrbl_store int</p>
<h3><a NAME="g_myrbl_testing"></a>g_myrbl_testing - Testing internal database(do not use)</h4><p>Testing myrbl code... still in developement</p>
<p>Syntax: g_myrbl_testing bool</p>
<h3><a NAME="g_myrbl_to"></a>g_myrbl_to - Testing internal database(do not use)</h4><p>Testing myrbl code... still in developement</p>
<p>Syntax: g_myrbl_to string</p>
  <h3><a name="g_naked_msg"></a>g_naked_msg
    - Text to display if message body contains naked LF characters</h3>
  <p>Default is: &quot;Naked
    LF see http://netwinsite.com/surgemail/help/smtplf.htm&quot;</p>

<p>Syntax: g_naked_msg string</p>
<h3><a NAME="g_newui_advanced"></a>g_newui_advanced - Always run new admin ui in advanced mode</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_newui_advanced bool</p>
<h3><a NAME="g_newui_disable"></a>g_newui_disable - Disable new admin ui (do not use)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_newui_disable bool</p>
<h3><a NAME="g_notag_notascii"></a>g_notag_notascii - Don't add x-notascii: charset to any non ascii message</h4><p>This can be used by user exception rules for users that don't expect any foreign language messages</p>
<p>Syntax: g_notag_notascii bool</p>
<h3><a NAME="g_notag_url_forgery"></a>g_notag_url_forgery - Don't add x-UrlForgery when a ref urls seem to not match</h4><p>Many scam's will use legit urls with aref links to their own site, this tries to tag such messages which can then be scored as spam via aspam_mfilter.rul</p>
<p>Syntax: g_notag_url_forgery bool</p>
<h3><a NAME="g_old_imap_headbody"></a>g_old_imap_headbody - Get head and body seperately</h4><p>This is just the way it used to do it, I can't see any good reason for it, but I'm leaving this setting incase there is a reason :-)</p>
<p>Syntax: g_old_imap_headbody bool</p>
  <h3><a name="g_old_pophost_debug"></a>g_old_pophost_debug
    - Log extra info when doing old pophost logins</h3>
  <p>Log extra info when doing old pophost
    logins for debugging.&nbsp;</p>


<p>Syntax: g_old_pophost_debug bool</p>
<h3><a NAME="g_old_user_check"></a>g_old_user_check - Disable the account status enabled check on rcpt lines</h4><p>Normally the account status field is checked at the recipient stage, this setting disables this check.</p>
<p>Syntax: g_old_user_check bool</p>
<p>See also: <a href="#g_allow_user_authent_field_get">g_allow_user_authent_field_get</a>, <a href="#g_allow_user_authent_field_set">g_allow_user_authent_field_set</a>, <a href="#g_authent_always">g_authent_always</a>, <a href="#g_authent_any">g_authent_any</a>, <a href="#g_authent_allow_badascii">g_authent_allow_badascii</a>, <a href="#g_authent_prefix_sep">g_authent_prefix_sep</a>, <a href="#g_authent_process">g_authent_process</a>, <a href="#g_authent_cachelife">g_authent_cachelife</a>, <a href="#g_authent_cachebad">g_authent_cachebad</a>, <a href="#g_authent_cachesize">g_authent_cachesize</a>, <a href="#g_authent_domain">g_authent_domain</a>, <a href="#g_authent_encrypt_key">g_authent_encrypt_key</a>, <a href="#g_authent_number">g_authent_number</a>, <a href="#g_authent_info">g_authent_info</a>, <a href="#g_authent_info_grp">g_authent_info_grp</a>, <a href="#g_authent_ip">g_authent_ip</a>, <a href="#g_authent_path_broken">g_authent_path_broken</a>, <a href="#g_authent_single">g_authent_single</a>, <a href="#g_authent_spaces">g_authent_spaces</a>, <a href="#g_authent_strip_domain">g_authent_strip_domain</a>, <a href="#g_authent_restart">g_authent_restart</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_fwdfile">g_authent_fwdfile</a>, <a href="#g_authent_timeout">g_authent_timeout</a>, <a href="#g_authent_last_login">g_authent_last_login</a></p>
  <h3><a name="g_orbs_cache_life" id="g_orbs_cache_life"></a>g_orbs_cache_life
    - Sets the amount of time to keep RBL entries cached. </h3>
  <p>Syntax: g_orbs_cache_life &quot;seconds&quot;<br>
    Default: 7200 seconds</p>
  <p>This allows you to control how
    long the RBL lookups are cached for.</p>
  <p>Example:<br>
    g_orbs_cache_life &quot;100&quot; </p>

  <p>&nbsp;</p>

<p>Syntax: g_orbs_cache_life int</p>
<h3><a NAME="g_orbs_check_all"></a>g_orbs_check_all - Keep doing lookups even if found in a RBL, this is slower of course!</h4><p>This checks all the RBL servers listed even if the connecting ip address is found in one server, this is slower but can mean you can score more accurately when an ip is listed in multiple RBL databases. Do not use with g_orbs_late, the two settings conflict and will not work. (g_orbs_late will be ignored)</p>
<p>Syntax: g_orbs_check_all bool</p>
<p>See also: <a href="#g_honeypot_rbl">g_honeypot_rbl</a>, <a href="#g_myrbl_testing">g_myrbl_testing</a>, <a href="#g_myrbl_to">g_myrbl_to</a>, <a href="#g_myrbl_store">g_myrbl_store</a>, <a href="#g_spam_allow_rbl">g_spam_allow_rbl</a>, <a href="#g_surbl">g_surbl</a>, <a href="#g_surbl_reject">g_surbl_reject</a>, <a href="#g_surbl_whois">g_surbl_whois</a>, <a href="#g_surbl_skip">g_surbl_skip</a>, <a href="#g_surbl_skip_ip">g_surbl_skip_ip</a></p>
  <h3><a name="g_orbs_exception"></a>g_orbs_exception
    - Exceptions to Open Relay / Known Spam sites</h3>

  <p>This allows you to over-ride a
    response from an ORBS/RBL database. For example, if a site you wish to do
    business with is in the RBL database you can add their IP address to this
    setting and then they can send you Email again.&nbsp;</p>

<p>Syntax: g_orbs_exception string</p>
<h3><a NAME="g_orbs_fake"></a>g_orbs_fake - Ip address to pretend we find in rbl database for testing</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_orbs_fake string</p>
  <h3><a name="g_orbs_force" id="g_orbs_force"></a>g_orbs_force
    - Forces RBL lookup even if they are in an exception. </h3>
  <p>Syntax: g_orbs_force &quot;true/false&quot;
    </p>
  <p>This allows you to force RBL lookups
    on users that would normally not be checked due to being in an allowed relay
    ip (g_allow_relay_ip). </p>


<p>Syntax: g_orbs_force bool</p>
  <h3><a name="g_orbs_late"></a>g_orbs_late
    - Disconnect user only if they fail to authenticate</h3>

  <p>Sometimes your customers will be
    using dial in lines that are banned by RBL databases, in this situation this
    setting will help as it will keep the connection alive long enough for a valid
    user to send an smtp authentication in.</p>
  <p>Can also be used wth <a href="#g_spf_skip_to">g_spf_skip_to</a>
    &quot;user@domain&quot; this will allow you to add exceptions for users or
    domains that do not want RBL checks done on their accounts. </p>


<p>Syntax: g_orbs_late bool</p>
  <h3><a name="g_orbs_list"></a>g_orbs_list
    - Multiple Open Relay Blocking System RBL databases</h3>

  <p>Allows enforcement of a servers
    blacklisting or whitelisting in one or more RBL databases with a different
    action for each database. In addition this can be used to mark messages with
    a header which can then be taken into account in the SmiteCRC&quot;SpamDetect
    rating&quot; calculation. A RBL database is simply a DNS server that returns
    a positive response if a server is listed in the database. A variety of services
    are available online that can maintain blacklist databases. Normally you would
    maintain your own whitelist database that overrides the blacklist listings.</p>

  <p>name=service action=deny,accept,stamp
    stamp=&quot;string to add to header &quot;
  <p>Where the stamp option adds the
    header:</p>
  <p> X-ORBS-Stamp: string to add to header 1.2.3.4</p>
  <p>The variable  can be
    used to create a url to go directly to a spam database web site and give details
    on the offending ip address. e.g. stamp=&quot;Spamcop, http://spamcop.net/w3m?action=checkblock&amp;ip=&quot;</p>
  <p>eg 1 - A simple deny mail from
    blacklisted servers could be achieved with:<br>

  <blockquote>g_orbs_list name=&quot;relays.ordb.org&quot; action=&quot;deny&quot;
  </blockquote>
  <p>eg 2 - A smarter setup with exceptions
    for certain IP ranges and a whilelist exception database, a blacklisted deny
    database and with useful header based tagging could be achieved as follows:<br>

  <blockquote>g_orbs_exception &quot;127.0.0.*,12.34.56.*&quot;<br>
    g_orbs_list name=&quot;mywhitedatabase.none&quot; action=&quot;accept&quot;<br>
    g_orbs_list name=&quot;relays.ordb.org&quot; action=&quot;deny&quot;<br>
    g_orbs_list name=&quot;relays.osirusoft.com&quot; action=&quot;deny&quot;<br>
    g_orbs_list name=&quot;bl.spamcop.net&quot; action=&quot;stamp&quot; stamp=&quot;spamcop,
    http://spamcop.net/w3m?action=checkblock&amp;ip=&quot;<br>
  </blockquote>
  <p>eg 3 - To use the output of header
    based ORBS stamping in the SmiteCRC calculation the following could be used:</p>
  <blockquote>
    <p> g_orbs_list name=&quot;relays.ordb.org&quot; action=&quot;stamp&quot;
      stamp=&quot;open relay&quot; <br>
      g_orbs_list name=&quot;my.dialup.databse.none&quot; action=&quot;stamp&quot;
      stamp=&quot;dialup&quot; <br>
    </p>
    <p> These entries have the following rules in filter.rul. If you used your
      own stamp text you would place appropriate entries in the local.rul file.</p>
    <p>if(rexp_case(&quot;X-ORBS-Stamp&quot;, &quot;open relay&quot;)) then<br>
      call spamdetect(4.0, &quot;Sender's IP was on an open relay RBL&quot;)<br>
      endif </p>
    <p>if(rexp_case(&quot;X-ORBS-Stamp&quot;, &quot;dialup&quot;)) then<br>
      call spamdetect(4.0, &quot;Sender's IP was on a dialup RBL&quot;)<br>
      endif</p>
  </blockquote>

  <p>Some RBL lists return a numeric
    code to give extra meaning, for example 127.0.0.4 might mean an open relay,
    and 127.0.0.5 might mean the site has no postmaster address. You can specify
    multiple stamp messages using this format, stamp=&quot;4=Open Relay~5=No postmaster
    address~Default message goes here&quot;</p>
  <p>See Also: <a href="rbl.htm">RBL's</a></p>


<p>Syntax: g_orbs_list name=string action=string stamp=string</p>
  <h3><a name="g_orbs_rec"></a>g_orbs_rec
    - Log to record file if orbs deny action occurs</h3>
  <p>Log to record file if ORBS deny
    action occurs (can fill logs up).&nbsp;</p>

<p>Syntax: g_orbs_rec bool</p>
<h3><a NAME="g_orbs_report"></a>g_orbs_report - List of IP's to check in RBL(s)</h4><p>Use this setting to test your own ip addresses, as soon as one is found in a RBL you will be sent an email to alert you. The test is performed hourly. To test add 127.0.0.2 to the comma seperated list</p>
<p>Syntax: g_orbs_report string</p>
  <h3><a NAME="g_orbs_service"></a>g_orbs_service
    - Open Relay Blocking System RBL, service name<b> (superceeded by g_orbs_list)</b></h3>

  <p>Set the name of the RBL service
    you want to use. A RBL service is a DNS database that has a record of all
    known spamming sites. If the server finds the connecting users IP address
    in this database all Email from their system is rejected. Also see the setting
    g_orbs_exception.&nbsp; Here are a few known RBL services, some charge and
    some are free! </p>

  <ul>
    <li><a href="http://www.ordb.org">www.ordb.org</a>&nbsp;</li>
    <li>inputs.orbs.org</li>
  </ul>

<p>Syntax: g_orbs_service string</p>
<h3><a NAME="g_orbs_submit"></a>g_orbs_submit - Do orbs check when 'data' command is sent or first valid recipient</h4><p>This can reduce orbs lookups as a message that has no valid recipients will not trigger any orbs lookups.</p>
<p>Syntax: g_orbs_submit bool</p>
  <h3><a name="g_orbs_system"></a>g_orbs_system
    - Use system DNS lookups instead of SurgeMails for ORBS (not recommended)</h3>
  <p>If true use system DNS lookups
    instead of surgemails for orbs (not recommended).&nbsp;</p>

<p>Syntax: g_orbs_system bool</p>
  <h3><a name="g_orbs_testing"></a>g_orbs_testing
    - ORBS testing </h3>
  <p>If true ORBSlookups are recorded
    but not blocked. </p>

<p>Syntax: g_orbs_testing bool</p>
  <h3><a name="g_orbs_timeout"></a>g_orbs_timeout
    - Orbs timeout</h3>
  <p>ORBS lookup timeout in seconds
    (default=10). If the timeout is reached the message is accepted and the failure
    is logged to mail.log.</p>

<p>Syntax: g_orbs_timeout int</p>
  <h3><a name="g_perflog_disable"></a>g_perflog_disable
    - Disable perflog logging </h3>

  <p>Completely disable the logging
    of historica performance data for the status graphs.
    </p>


<p>Syntax: g_perflog_disable bool</p>
  <h3><a name="g_perflog_flush_interval"></a>g_perflog_flush_interval
    - Flush interval</h3>
  <p>Interval in seconds to flush the
    performance log files to disk. Default is 3600 s (ie once per hour)
     </p>

<p>Syntax: g_perflog_flush_interval int</p>
  <h3><a name="g_perflog_logall"></a>g_perflog_logall
    - Log all counters</h3>

  <p>Log all counters including the
    currently undisplayed counters. This is useful if in the future you suddenly
    think, Oh I would really like to see the historic information on one of the
    undisplayed counters - which would normally not have been logged to file.
     </p>

<p>Syntax: g_perflog_logall bool</p>
  <h3><a name="g_perflog_lowres"></a>g_perflog_lowres
    - Log in low resolution</h3>
  <p>Normally data is logged avery 10
    seconds and 5 display scales are available hour, day, week, month and year.
    If this is set samples are taken every 5 minutes and 4 display scales are
    avbailable: day, week, month, year.
    </p>

<p>Syntax: g_perflog_lowres bool</p>
  <h3><a name="g_perflog_surgeonly"></a>g_perflog_surgeonly
    - Only log surgemail counters</h3>
  <p>On Windows systems surgemail's
    performance logging will gather counters from surgemail and from the system
    &quot;Perfmon&quot; performance logging. This disables the collection of system
    counters.  </p>


<p>Syntax: g_perflog_surgeonly bool</p>
  <h3><a name="g_pipelining"></a>g_pipelining
    - Show pipelining in ehlo response</h3>
  <p>Show pipelining in ehlo response
    - not recommended - has no behavior affect. </p>

<p>Syntax: g_pipelining bool</p>
<h3><a NAME="g_pop_add_size"></a>g_pop_add_size - Improves pop performance on nfs slightly</h4><p>This renames inbox messages to include the size of the file so that an lstat call is not needed.</p>
<p>Syntax: g_pop_add_size bool</p>
  <h3><a name="g_pop_blocksize"></a>g_pop_blocksize
    - Size of packets to read POP messages (best left alone)</h3>
  <p>Size of packets to read POP messages
    (best left alone). </p>

<p>Syntax: g_pop_blocksize int</p>
  <h3><a name="g_pop_delay"></a>g_pop_delay
    - Send POP packets after waiting for more data to send</h3>
  <p>This setting replaced g_pop_nodelay, as the default has been changed. It
    was changed as this can improve performance.</p>

<p>Syntax: g_pop_delay bool</p>
<h3><a NAME="g_pop_flush_lines"></a>g_pop_flush_lines - Fluch to tcp every line of message sent (slow)</h4><p>Too debug faulty network/client pop issues, not for general use, this may slow performance significantly</p>
<p>Syntax: g_pop_flush_lines bool</p>
  <h3><a NAME="g_pop_lock"></a>g_pop_lock
    - Lock out duplicate POP users with the file system</h3>
  <p>Use this setting if you are sharing
    a file system between multiple mail servers. This will make the mail server
    lock the users files to prevent a second user of the same name logging in
    and reading mail from one of the other systems. </p>

<p>Syntax: g_pop_lock bool</p>
  <h3><a NAME="g_pop_max"></a>g_pop_max
    - Max total POP &amp; IMAP users at any one time</h3>
  <p>This limits the channels that will
    be used at any one time for incoming POP and IMAP connections. The purpose
    of this setting is to prevent a sudden burst of users reading mail from using
    up all available channels. Generally setting this is a bad idea as there is
    a sensible default (dependent on the system resources available).&nbsp;
  </p>
  <p><a href="http://www.netwinsite.com/surgemail/help/faq.htm#timeout">See FAQ
    section on session limits</a> </p>

<p>Syntax: g_pop_max string</p>
<h3><a NAME="g_pop_min_late"></a>g_pop_min_late - Give min time error on first command after login</h4><p>This may be less disruptive as it stops the client thinking the password is wrong.</p>
<p>Syntax: g_pop_min_late bool</p>
<h3><a NAME="g_pop_min_msg"></a>g_pop_min_msg - Additional warning to give user when they login too soon</h4><p>This lets you explain to the user what the problem is.  Don't get carried away some clients may not like a long string here!</p>
<p>Syntax: g_pop_min_msg string</p>
<h3><a NAME="g_pop_min_skip"></a>g_pop_min_skip - Skip ip addresses matching this list.</h4><p>Useful for whitelisting webmail servers etc. 127.0.0.1 is always skipped</p>
<p>Syntax: g_pop_min_skip string</p>
<h3><a NAME="g_pop_min_time"></a>g_pop_min_time - Min time in seconds between consecutive POP logins, NEVER USE</h4><p>If a pop client connects more often than this, give an error. This setting will very likely break webmail sessions and cause odd problems, Best avoided!</p>
<p>Syntax: g_pop_min_time int</p>
<h3><a NAME="g_pop_nolock"></a>g_pop_nolock - Allows concurrent pop logins, recommended</h4><p>This setting avoids problems when users use pop and imap access to the same account at the same time.</p>
<p>Syntax: g_pop_nolock bool</p>
  <h3><a NAME="g_pop_port"></a>g_pop_port
  - Port to listen for POP connections (default 110)</h3>
  <p>Typically you won't need to change
    this, however you can specify an IP address to bind to or a list of alternate
    ports, eg: 10.3.2.3:110 or 110,6110 etc... By default the mail server listens
    to port 110 on all adapters/addresses. Use the keyword 'disabled' to disable
    this part of the SurgeMail service.</p>

<p>Syntax: g_pop_port string</p>
  <h3><a name="g_pop_secure_port"></a>g_pop_secure_port
    - Port to listen for secure POP connections (default 995)</h3>
  <p>Dedicated secure port to listen
    on for POP connections.&nbsp; Use
    the keyword 'disabled' to disable this part of the SurgeMail
    service.</p>

<p>Syntax: g_pop_secure_port string</p>
<h3><a NAME="g_pop_warning"></a>g_pop_warning - Send manager warning if this many sessions (pop or imap) reached (max 1 per hour)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_pop_warning int</p>
  <h3><a name="g_popfetch"></a>g_popfetch
    - Fetch incoming mail from another POP server</h3>
  <p>POPfetch will retrieve mail from
    POP accounts on another server and store it locally. The POP fetch interval
    can be set using g_popfetch_interval. The parameters for this setting are
    host(required), user(required), pass(required) or localuser(required).</p>
  <p>eg:<br>
    g_popfetch host=&quot;netwin.co.nz&quot;
    user=&quot;marijn&quot; pass=&quot;secret&quot; localuser=&quot;marijn@anydomain.com&quot;
    </p>
  <p>Alternatively POPfetch is able
    to attempt local delivery based on headers. Delivery is attempted to &quot;X-Rcpt-To:&quot;
    with fallback of &quot;To:&quot; and &quot;Cc:&quot; headers. To enable this
    the local user needs to be defined as &quot;*,userxxx&quot;. Fetched mail
    will be delivered as specified in the headers or if no valid user is identified
    in the header to the default user &quot;userxxx&quot;.&nbsp;</p>

<p>Syntax: g_popfetch host=string user=string pass=string localuser=string disable=bool</p>
  <h3><a name="g_popfetch_interval"></a>g_popfetch_interval
    - Interval between POPfetch attempts</h3>
  <p>The interval (in seconds) between
    successive attempts to fetch mail from remote mailserver POP accounts (as
    per g_popfetch rules). (default is 5 minutes = 300) &nbsp; </p>

<p>Syntax: g_popfetch_interval int</p>
  <h3><a name="g_popfetch_kick"></a>g_popfetch_kick
    - POPfetch will try and open the link for 10 seconds, then retry, this should
    bring up ISDN lines.</h3>
  <p>If true then POPfetch will try
    and open the link for 10 seconds, then retry, this should bring up ISDN lines.&nbsp;
  </p>

<p>Syntax: g_popfetch_kick bool</p>
  <h3><a name="g_popfetch_nodup"></a>g_popfetch_nodup
    - Drop duplicate messages</h3>
  <p>Drop duplicate messages based on
    &quot;Message-id:&quot; header.&nbsp;
  </p>

<p>Syntax: g_popfetch_nodup bool</p>
  <h3><a name="g_ppd_port"></a>g_ppd_port
    - POPPassD port (default 106)</h3>
  <p>Port to listen for POPPassD connections.
    Typically you won't need to change this, however you can specify an IP address
    to bind to or a list of alternate ports, eg: 10.3.2.3:106 or 106,6106 etc...
    By default the mail server listens to port 106 on all adapters/addresses.&nbsp;
    Use the keyword 'disabled' to disable
    this part of the SurgeMail
    service. </p>

<p>Syntax: g_ppd_port string</p>
  <h3><a NAME="g_proxy"></a>g_proxy
    - Proxy mode (or mailhost)</h3>
  <p>This enables the SurgeMail
    proxy mode, using 'tohost=&quot;xxx&quot;' received from the authentication
    to determine real host for SMTP/POP connections. Any incoming SMTP, POP or
    IMAP connections will be passed on directly to the specified server. This
    allows you to split a domain over several separate systems. This method is
    outlined in general terms <a href="../scalable.htm">here</a>.</p>
  <p>To setup a proxy server system
    with 4 machines (2 proxy, 2 backend) use the following steps, lets assume
    your hosts are PROXY1, PROXY2, SERVER1, SERVER2</p>
  <p>1) Set on the proxy servers in
    surgemail.ini <b>g_proxy &quot;true&quot;</b></p>
  <p>On the back end server use <b>g_pop_nolock &quot;true&quot; </b>(to avoid
    timing issues)</p>
  <p>On the back end server set <b>g_tohost_local &quot;server1&quot;</b> (or
    server2) so it knows it's own name.</p>
  <p>2) Configure your authent database
    to return 'tohost=xxx' for each user on your system, e.g. in nwauth</p>
  <p><font face="Courier New, Courier, mono">nwauth<br>
    set testuser1@test.com test tohost=&quot;SERVER1&quot;<br>
    set testuser2@test.com test tohost=&quot;SERVER2&quot;<br>
    lookup testuser1@test.com<br>
    +OK testuser1@test.com config 0 tohost=&quot;SERVER1&quot;</font></p><font face="Courier New, Courier, mono">
  <p></p>
  <p>3) Configure your load balancing
    router to send users to PROXY1 &amp; PROXY2, ...</p>
  <p>4) When new users are added always
    define the 'tohost' setting to define which system they are added to as load
    increases you can add more backend or frontend servers as needed.</p>
  <p>This is very similar to the 'mailhost'
    setting some systems use in LDAPAuth to translate mailhost to 'tohost' you
    would use: info_fields mailhost,tohost in ldapauth.ini</p>


<p>Syntax: g_proxy bool</p>
  <h3><a NAME="g_proxy_default"></a>g_proxy_default
    - Default proxy host </h3>
  <p>Default host to forward to if 'tohost'
    is not defined in user database for this user.&nbsp; </p>

<p>Syntax: g_proxy_default string</p>
<h3><a NAME="g_proxy_to_gateways"></a>g_proxy_to_gateways - Proxy pop/imap connections to matching gateway settings</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_proxy_to_gateways bool</p>
<h3><a NAME="g_proxy_webmail"></a>g_proxy_webmail - Redirect user.cgi logins to external host name</h4><p>This lets you use a front end server to move web based logins onto the correct webmail host</p>
<p>Syntax: g_proxy_webmail host=string redirect=string</p>
<h3><a NAME="g_pstat_disable"></a>g_pstat_disable - Disable pstat per user accounting (for debugging)</h4><p>Used for debugging only, do not play with this.</p>
<p>Syntax: g_pstat_disable bool</p>
<h3><a NAME="g_queue_limit"></a>g_queue_limit - If on disk queue exceeds this block incoming mail</h4><p>If you send email in faster than it can be sent, the queue grows forever until the server fails due to huge directories or insufficient disk space, this setting stops the incoming messages so you are alerted to the problem before it becomes critical. Note that this stops all incoming mail, including local deliveries. This is the number of items</p>
<p>Syntax: g_queue_limit int</p>
<p>Example: g_queue_limit "100000"</p>
<p>See also: <a href="#g_queue_warning">g_queue_warning</a></p>
  <h3><a name="g_queue_max"></a>g_queue_max
    - Size of internal queue file cache</h3>
  <p>Size of internal mail queue file
    cache, range 500-3000.&nbsp;</p>

<p>Syntax: g_queue_max int</p>
<h3><a NAME="g_queue_warning"></a>g_queue_warning - If on disk queue exceeds this send manager a warning</h4><p>If you send email in faster than it can be sent, or something is wrong (e.g. a broken dns server) then this helps warn you early </p>
<p>Syntax: g_queue_warning int</p>
<p>Example: g_queue_warning "10000"</p>
<p>See also: <a href="#g_queue_limit">g_queue_limit</a></p>
<h3><a NAME="g_quota"></a>g_quota - Disk quota for users in specified g_access_group</h4><p>If the user is in the specified group they get the specified disk quota. This is applied if no quota is specified in the authent module.</p>
<p>Syntax: g_quota group=string quota=string</p>
<p>See also: <a href="domain.htm#quota_default">quota_default</a>, <a href="domain.htm#quota_domain">quota_domain</a>, <a href="domain.htm#user_sms_quota">user_sms_quota</a>, <a href="domain.htm#user_list_quota">user_list_quota</a>, <a href="domain.htm#webdav_quota">webdav_quota</a>, <a href="#g_quota_warning_disable">g_quota_warning_disable</a>, <a href="#g_quota_rcpt_disable">g_quota_rcpt_disable</a>, <a href="#g_quota_try_later">g_quota_try_later</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_quota_skip">g_quota_skip</a>, <a href="#g_quota_disable">g_quota_disable</a>, <a href="#g_quota_report">g_quota_report</a>, <a href="#g_share_quota">g_share_quota</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
<h3><a NAME="g_quota_disable"></a>g_quota_disable - Disable quota system</h4><p>Disables quota processing completely</p>
<p>Syntax: g_quota_disable bool</p>
  <h3><a name="g_quota_friends"></a>g_quota_friends
    - Count stored spam as part of quota</h3>
  <p> Count friends pending messages
    and spam store as part of the per user quota.&nbsp;</p>

<p>Syntax: g_quota_friends bool</p>
<p>See also: <a href="domain.htm#quota_default">quota_default</a>, <a href="domain.htm#quota_domain">quota_domain</a>, <a href="domain.htm#user_sms_quota">user_sms_quota</a>, <a href="domain.htm#user_list_quota">user_list_quota</a>, <a href="domain.htm#webdav_quota">webdav_quota</a>, <a href="#g_quota_warning_disable">g_quota_warning_disable</a>, <a href="#g_quota_rcpt_disable">g_quota_rcpt_disable</a>, <a href="#g_quota_try_later">g_quota_try_later</a>, <a href="#g_quota_skip">g_quota_skip</a>, <a href="#g_quota">g_quota</a>, <a href="#g_quota_disable">g_quota_disable</a>, <a href="#g_quota_report">g_quota_report</a>, <a href="#g_share_quota">g_share_quota</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
  <h3><a name="g_quota_rcpt_disable"></a>g_quota_rcpt_disable
    - Disables quota check at rcpt stage</h3>
  <p> SurgeMail now does quota checking
    at rcpt stage (Quota checking used to be done after data arrived) This setting
    disables the quota checking at rcpt stage if the above causes problems (not
    intended for general use).&nbsp;</p>

<p>Syntax: g_quota_rcpt_disable bool</p>
<p>See also: <a href="domain.htm#quota_default">quota_default</a>, <a href="domain.htm#quota_domain">quota_domain</a>, <a href="domain.htm#user_sms_quota">user_sms_quota</a>, <a href="domain.htm#user_list_quota">user_list_quota</a>, <a href="domain.htm#webdav_quota">webdav_quota</a>, <a href="#g_quota_warning_disable">g_quota_warning_disable</a>, <a href="#g_quota_try_later">g_quota_try_later</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_quota_skip">g_quota_skip</a>, <a href="#g_quota">g_quota</a>, <a href="#g_quota_disable">g_quota_disable</a>, <a href="#g_quota_report">g_quota_report</a>, <a href="#g_share_quota">g_share_quota</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
<h3><a NAME="g_quota_report"></a>g_quota_report - Send quota warnings to the manager</h4><p>Useful for small systems where any quota limit failure is an issue for the manager to resolve</p>
<p>Syntax: g_quota_report bool</p>
  <h3><a name="g_quota_skip"></a>g_quota_skip
    - Skip quota checks for matching ip addresses</h3>
  <p>Skips the quota checking. Use this
    if you have a high priority robot (like your billing system) that must be
    able to deliver email to users (or students) even if the user is over quota.</p>

<p>Syntax: g_quota_skip string</p>
<p>See also: <a href="domain.htm#quota_default">quota_default</a>, <a href="domain.htm#quota_domain">quota_domain</a>, <a href="domain.htm#user_sms_quota">user_sms_quota</a>, <a href="domain.htm#user_list_quota">user_list_quota</a>, <a href="domain.htm#webdav_quota">webdav_quota</a>, <a href="#g_quota_warning_disable">g_quota_warning_disable</a>, <a href="#g_quota_rcpt_disable">g_quota_rcpt_disable</a>, <a href="#g_quota_try_later">g_quota_try_later</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_quota">g_quota</a>, <a href="#g_quota_disable">g_quota_disable</a>, <a href="#g_quota_report">g_quota_report</a>, <a href="#g_share_quota">g_share_quota</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
  <h3><a name="g_quota_try_later"></a>g_quota_try_later
    - Retry responses for over quota</h3>
  <p> Give 450 response if user is over
    quota so message will be resent.&nbsp;</p>

<p>Syntax: g_quota_try_later bool</p>
<p>See also: <a href="domain.htm#quota_default">quota_default</a>, <a href="domain.htm#quota_domain">quota_domain</a>, <a href="domain.htm#user_sms_quota">user_sms_quota</a>, <a href="domain.htm#user_list_quota">user_list_quota</a>, <a href="domain.htm#webdav_quota">webdav_quota</a>, <a href="#g_quota_warning_disable">g_quota_warning_disable</a>, <a href="#g_quota_rcpt_disable">g_quota_rcpt_disable</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_quota_skip">g_quota_skip</a>, <a href="#g_quota">g_quota</a>, <a href="#g_quota_disable">g_quota_disable</a>, <a href="#g_quota_report">g_quota_report</a>, <a href="#g_share_quota">g_share_quota</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
  <h3><a name="g_quota_warning_disable"></a>g_quota_warning_disable
    - Disables the 80% quota warning message</h3>
  <p>Disables the 80% quota warning
    message.&nbsp;</p>

<p>Syntax: g_quota_warning_disable bool</p>
<p>See also: <a href="domain.htm#quota_default">quota_default</a>, <a href="domain.htm#quota_domain">quota_domain</a>, <a href="domain.htm#user_sms_quota">user_sms_quota</a>, <a href="domain.htm#user_list_quota">user_list_quota</a>, <a href="domain.htm#webdav_quota">webdav_quota</a>, <a href="#g_quota_rcpt_disable">g_quota_rcpt_disable</a>, <a href="#g_quota_try_later">g_quota_try_later</a>, <a href="#g_quota_friends">g_quota_friends</a>, <a href="#g_quota_skip">g_quota_skip</a>, <a href="#g_quota">g_quota</a>, <a href="#g_quota_disable">g_quota_disable</a>, <a href="#g_quota_report">g_quota_report</a>, <a href="#g_share_quota">g_share_quota</a>, <a href="#g_user_sms_quota">g_user_sms_quota</a>, <a href="#g_user_list_quota">g_user_list_quota</a></p>
  <h3><a name="g_rcpt_bang"></a>g_rcpt_bang
    - Allow bang characters in addresses</h3>
  <p>Allow exclamation marks in addresses.
    ie '!'</p>

<p>Syntax: g_rcpt_bang bool</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
  <h3><a name="g_rcpt_colon"></a>g_rcpt_colon
    - Allow colon characters in addresses</h3>
  <p>Allow colon characters in addresses.
    ie ':'</p>

<p>Syntax: g_rcpt_colon bool</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
  <h3><a name="g_rcpt_max"></a>g_rcpt_max
    - Max recipients per message, default is 1000</h3>
  <p>Max recipients per message, default
    is 1000, can only be lower than 1000.</p>

<p>Syntax: g_rcpt_max int</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
<h3><a NAME="g_rcpt_max_in"></a>g_rcpt_max_in - Limit for recipients of untrusted channels, default g_rcpt_max</h4><p>This limit is only applied to untrusted sessions (incoming mail)</p>
<p>Syntax: g_rcpt_max_in int</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
  <h3><a name="g_rcpt_msg"></a>g_rcpt_msg
    - Invalid recipient response</h3>
  <p>Response given for invalid recipient
    errors message is prefixed by email address..</p>

<p>Syntax: g_rcpt_msg string</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
<h3><a NAME="g_rcpt_nodup"></a>g_rcpt_nodup - Ignore duplicate recipients to the same user</h4><p>When enabled this prevents a message being delivered more than once to a single person, it's a fairly good setting to use and will get rid of some spam for people using fallback addresses.</p>
<p>Syntax: g_rcpt_nodup bool</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
<h3><a NAME="g_rcpt_quote"></a>g_rcpt_quote - Allow quote character(s) in addresses</h4><p>By default quotes are blocked at the SMTP level, this is because some of the authent modules don't handle quotes in addresses so it's best not to let them through. There is no known reason for ever turning this setting on.</p>
<p>Syntax: g_rcpt_quote bool</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_rcpt_trace">g_rcpt_trace</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
<h3><a NAME="g_rcpt_trace"></a>g_rcpt_trace - Add X-Rcpt-Trace headers</h4><p>This will list all recipients in the message to facilitate tracing</p>
<p>Syntax: g_rcpt_trace bool</p>
<p>See also: <a href="domain.htm#rcpt_msg">rcpt_msg</a>, <a href="#g_rcpt_max">g_rcpt_max</a>, <a href="#g_rcpt_max_in">g_rcpt_max_in</a>, <a href="#g_rcpt_msg">g_rcpt_msg</a>, <a href="#g_rcpt_bang">g_rcpt_bang</a>, <a href="#g_rcpt_colon">g_rcpt_colon</a>, <a href="#g_rcpt_quote">g_rcpt_quote</a>, <a href="#g_rcpt_nodup">g_rcpt_nodup</a>, <a href="#g_smtp_bounce_nslow">g_smtp_bounce_nslow</a>, <a href="#g_smtp_cmd_timeout">g_smtp_cmd_timeout</a>, <a href="#g_smtp_data_timeout">g_smtp_data_timeout</a></p>
<h3><a NAME="g_rdns_timeout"></a>g_rdns_timeout - Timeout for reverse DNS lookups default is 30 seconds</h4><p>Best set between 10 and 60</p>
<p>Syntax: g_rdns_timeout int</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
  <h3><a name="g_received_name"></a>g_received_name
    - Name shown in received headers</h3>
  <p>Name shown as received &quot;by&quot;
    in the received headers this defaults to server name but can be specified
    if required:</p>
  <p>eg &quot;myservername&quot;</p>
  <p>
  <pre>
	Received: from netwin.co.nz (unverified [10.0.0.5])
		by myservername (SurgeMail 1.5f) with ESMTP id 1140619
		for &lt;marijn@netwin.co.nz&gt;; Fri, 07 Nov 2003 10:25:59 +1300
   </pre>

<p>Syntax: g_received_name string</p>
<h3><a NAME="g_received_names"></a>g_received_names - List of valid received names for incoming email</h4><p>This list is used when processing vanish_bad_bounces, vanish_virus_bounces and vanish_any_bounce. It defines the valid received names to expect quoted in a properly formed bounce message for a message from this server/system.</p>
<p>Syntax: g_received_names string</p>
  <h3><a name="g_received_skip" id="g_received_skip"></a>g_received_skip
    - Don't write a received header for local trusted users</h3>
  <p>This setting can be used to hide
    sensitive local ip addresses from outgoing mail headers. This will make tracking
    abuse more difficult, we do not recommend using this setting generally.</p>

<p>Syntax: g_received_skip bool</p>
<h3><a NAME="g_received_skip_all"></a>g_received_skip_all - Skip local received header for messages that have non local recipients</h4><p>Note that in the case of a message that is to a local and remote recipeient, it will skip the headers for both, even though the desire is to skip them for the remote recipient only. This not quite right, ideally one should skip this for outgoing only but since the header is added at delivery time we thought this was close enough.</p>
<p>Syntax: g_received_skip_all bool</p>
<h3><a NAME="g_received_skip_spf"></a>g_received_skip_spf - Skip spf received header for messages that have non local recipients</h4><p>Note that in the case of a message that is to a local and remote recipeient, it will skip the headers for both, even though the desire is to skip them for the remote recipient only. This not quite right, ideally one should skip this for outgoing only but since the header is added at delivery time we thought this was close enough.</p>
<p>Syntax: g_received_skip_spf bool</p>
  <h3><a name="g_recent_bypass"></a>g_recent_bypass
    - Bypass recent login failure checking</h3>
  <p>This allows you to disable recent
    login failure checking for certain IP addresses. Normally there up to a maximum
    of 9 login attempts are allowed per connection.</p>

<p>Syntax: g_recent_bypass string</p>
  <h3><a name="g_record_days"></a>g_record_days
    - Period delivery logs are stored</h3>
  <p>The number of days SurgeMail message
    delivery logs are stored.</p>

<p>Syntax: g_record_days int</p>
  <h3><a name="g_record_hash"></a>g_record_hash
    - Hash delivery logs</h3>
  <p> Message delivery logs may be stored
    in hashed format within g_record_path as &lt;surgemail dir&gt; \recYYMM\msgYYMMDD.rec</p>

<p>Syntax: g_record_hash bool</p>
  <h3><a name="g_record_path"></a>g_record_path
    - Path for mail delivery logs</h3>
  <p>Sets the path for the SurgeMail
    delivery logs. Delivery logs contain entries for mail received and delivered
    in a single file per day. See <a href="log.htm">Searching the Log Files</a>
    for more information.</p>

<p>Syntax: g_record_path string</p>
  <h3><a NAME="g_redirect"></a>g_redirect
    - Redirect messages to 'was' to the 'new' address</h3>
  <p>Specifies global redirection rule.
    These rules are applied to local and remote addresses so should be used with
    'care', for domain based redirection use the redirect rules within a domain.
    An example rule would be: fred@xx.com --> bob@yy.com or *@xx.com --> joe@xx.com&nbsp;
  </p>
  <p>Wild cards can be used and replaced,
    e.g. <br>
    </p>
  <p>g_redirect was=&quot;*@gadget.net&quot;
    to=&quot;%1@gadget.com&quot;<br>
  g_redirect was=&quot;*@*.gadget.com&quot; to=&quot;%1-%2@gadget.com&quot;</p>
  <p>Would make </p>
  <p>bob@gadget.net --&gt; bob@gadget.com<br>
    fred@cool.gadget.com --&gt; fred-cool@gadget.com</p>
  <p>These rules are processed 'before'
    the domain is identified, therefore you cannot use host_alias domain values
    in them. Use a domain redirect rule if this is required.</p>
  <p>You can also redirect a message
    to a robot or script like this:</p>
  <p>g_redirect was=&quot;auto@mydomain.com&quot; to=&quot;|/usr/local/myrobot.sh&quot;</p>
  <p>Your script can read the environment variables:<br>
    MAILFROM<br>
    RCPTTO<br>
    MSGSIZE</p>
  <p>And must read the message on 'stdin', the message will be terminated with
    &quot;crlf.crlf&quot;</p>
  <p>Your script can then process the message and if it want's to respond must
    use smtp to send a response back etc...</p>
  <p>Your script will run as the user 'mail' so if that user does not have access
    to the script file or work files then it will fail :-) </p>
  <p>&nbsp;</p>

<p>Syntax: g_redirect was=string to=string</p>
  <h3><a NAME="g_redirect_cc"></a>g_redirect_cc
    - Carbon Copy redirect message</h3>
  <p>Same as 'redirect' but the message
    is still delivered to the original address as well. For g_redirect_cc there
    are two special names defined &quot;$localdomain$&quot; and &quot;$remotedomain$&quot;,
    which can be used in the 'was' paramater (requires SurgeMail 2.3).&nbsp;
  </p>

<p>Syntax: g_redirect_cc was=string to=string</p>
  <h3><a name="g_redirect_from"></a>g_redirect_from
    - Redirect message if from matches</h3>
  <p>Redirect a message to another address
    if the from matches.&nbsp; </p>

<p>Syntax: g_redirect_from from=string to=string</p>
  <h3><a name="g_redirect_from_cc"></a>g_redirect_from_cc
    - Carbon Copy redirect message if from matches</h3>
  <p>Redirect a copy of the message
    to another address if the from matches still delivering to the original address
    as well.</p>

<p>Syntax: g_redirect_from_cc from=string to=string</p>
  <h3><a name="g_redirect_hide"></a>g_redirect_hide
    - Hide the redirection in the SMTP output</h3>
  <p>Hide the redirection in the SMTP
    output</p>

<p>Syntax: g_redirect_hide bool</p>
<h3><a NAME="g_redirect_iflocal"></a>g_redirect_iflocal - If local domain, then apply redirect</h4><p>This is for doing fancy redirection where the rule is only applied if the domain of the destination is a local domain. For example to redirect all messages to postmaster at any local domain to one particular admin user.</p>
<p>Syntax: g_redirect_iflocal was=string to=string</p>
<p>Example: g_redirect_iflocal was="postmaster@*" to="john@main.domain"</p>
<p>See also: <a href="domain.htm#redirect">redirect</a>, <a href="domain.htm#redirect_max">redirect_max</a>, <a href="domain.htm#redirect_cc">redirect_cc</a>, <a href="domain.htm#redirect_hash">redirect_hash</a>, <a href="#g_bounce_redirect">g_bounce_redirect</a>, <a href="#g_redirect">g_redirect</a>, <a href="#g_redirect_cc">g_redirect_cc</a>, <a href="#g_redirect_from">g_redirect_from</a>, <a href="#g_redirect_from_cc">g_redirect_from_cc</a>, <a href="#g_redirect_hide">g_redirect_hide</a>, <a href="#g_redirect_ignore_errors">g_redirect_ignore_errors</a>, <a href="#g_redirect_noautocreate_rules">g_redirect_noautocreate_rules</a></p>
<h3><a NAME="g_redirect_ignore_errors"></a>g_redirect_ignore_errors - Accept email even if redirected addresses fail</h4><p>We consider this to be faulty behaviour as it will lead to emails vanishing with no bounce, use entirely at your own risk.</p>
<p>Syntax: g_redirect_ignore_errors bool</p>
<h3><a NAME="g_redirect_noautocreate_rules"></a>g_redirect_noautocreate_rules - Don't create redirection rules for domains automatically</h4><p>This will stop SurgeMail creating redirection rules for new domains such as postmaster,abuse and support</p>
<p>Syntax: g_redirect_noautocreate_rules bool</p>
  <h3><a NAME="g_relay_allow_from"></a>g_relay_allow_from
    - Allow relaying for known from addresses</h3>
  <p>This setting allows users to send
    outgoing Email if their envelope 'from' address is a known local address.
    This is a very bad idea in general as spammers can do this too. So in general
    don't use this setting except as a lesser of two evils.&nbsp; It will be detected
    by some open relay checking systems and your site can then end up listed as
    an open relay.&nbsp; If this happens your Emails will be rejected by other
    peoples systems. e.g.</p>
  <p><font face="Arial, Helvetica, sans-serif" size="2">g_relay_allow_from &quot;*@my.domain,*@second.domain,fred@third.domain&quot;</font></p><font face="Arial, Helvetica, sans-serif" size="2">

<p>Syntax: g_relay_allow_from string</p>
  <h3><a NAME="g_relay_allow_ip"></a>g_relay_allow_ip
    - Allow relaying from these users</h3>
  <p>List the IP ranges of local users
    that you will allow to send 'OUTGOING' Email without using SMTP authentication,
    e.g. "127.0.0.1,10.0.*". In the past, mail servers used to permit this from
    any IP address, but since this was abused by 'spammers' all modern mail servers
    only allow this from known local IP addresses. Remote users should use 'smtp
    authentication' or login via POP protocol before sending Email, then SurgeMail
    will trust them. Do NOT set this to '*' If you do your system will be blocked
    as it will be assumed that spammers are using your system even if they are
    not!!!&nbsp; </p>

<p>Syntax: g_relay_allow_ip string</p>
  <h3><a name="g_relay_dom_and_ip"></a>g_relay_dom_and_ip
    - Relay based on domain and IP</h3>
  <p>Allow relaying if the domain in
    the from envelope and IP address both match. </p>

<p>Syntax: g_relay_dom_and_ip domain=string ip=string</p>
<h3><a NAME="g_relay_ifnot"></a>g_relay_ifnot - Accept locally only if not from this ip</h4><p>This lets you send all email to 'mx' destination, even if the account is local, unless it is coming from a known ip address range.</p>
<p>Syntax: g_relay_ifnot string</p>
  <h3><a name="g_relay_message"></a>g_relay_message
    - Message to display to users who try to relay</h3>
  <p>Text string displayed to users
    who try and relay. </p>
  <p>Default (blank) is: &quot;Relaying
    blocked, read new mail, add &lt;sender.ip&gt; to forwarding or enable smtp
    authentication in your mail client&quot;</p>

<p>Syntax: g_relay_message string</p>
<h3><a NAME="g_relay_process"></a>g_relay_process - Relay process, e.g. testip.exe $WHOIP, return 1 to allow relaying, 0=deny</h4><p>Allows you to run an external program to lookup an ip address and decide if it is one of your users who should be allowed to relay. This can be used when your users login via some type of shared system so the ip ranges are not known but you do have a way of checking if a user of yours is 'currently' connected on an ip address</p>
<p>Syntax: g_relay_process string</p>
<p>Example: g_relay_process "c:/surgemail/testip.exe $WHOIP"</p>
<p>See also: <a href="domain.htm#fallback_relay">fallback_relay</a>, <a href="domain.htm#lookup_relay_on_from">lookup_relay_on_from</a>, <a href="#g_auth_norelay">g_auth_norelay</a>, <a href="#g_fallback_relay_if_exists">g_fallback_relay_if_exists</a>, <a href="#g_from_relay">g_from_relay</a>, <a href="#g_from_relay_white">g_from_relay_white</a>, <a href="#g_relay_allow_ip">g_relay_allow_ip</a>, <a href="#g_relay_allow_from">g_relay_allow_from</a>, <a href="#g_relay_dom_and_ip">g_relay_dom_and_ip</a>, <a href="#g_relay_window">g_relay_window</a>, <a href="#g_relay_window_from">g_relay_window_from</a>, <a href="#g_relay_to">g_relay_to</a>, <a href="#g_relay_to_user">g_relay_to_user</a>, <a href="#g_relay_ifnot">g_relay_ifnot</a>, <a href="#g_relay_message">g_relay_message</a>, <a href="#g_smite_skip_relay">g_smite_skip_relay</a>, <a href="#g_spf_rewrite_relay">g_spf_rewrite_relay</a></p>
  <h3><a name="g_relay_to"></a>g_relay_to
    - Relay to this domain from anyone</h3>
  <p>This setting allows mail from anyone
    to be relayed to the specified domain. The relaying is unconditional. </p>

<p>Syntax: g_relay_to string</p>
<h3><a NAME="g_relay_to_user"></a>g_relay_to_user - Relay to specific user from anyone</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_relay_to_user string</p>
  <h3><a name="g_relay_window"></a>g_relay_window
    - Allow relaying after valid POP login</h3>
  <p>This sets the time after a valid
    POP login that you will allow a user on the same IP to send outgoing mail.
    In general it is safe to set this setting large and it can allow people using
    old mail clients (that do not know how to do SMTP authentication) to still
    send through your server without making your server an open relay.&nbsp;</p>

<p>Syntax: g_relay_window int</p>
<h3><a NAME="g_relay_window_from"></a>g_relay_window_from - Requires pop authed user is in from header of sent message</h4><p>This must be used with g_relay_window, the matching is 'simplistic' and matches on the 'from envelope' but will stop most simple forms of abuse.</p>
<p>Syntax: g_relay_window_from bool</p>
  <h3><a name="g_rename_files"></a>g_rename_files
    - Files to apply virus renaming to</h3>
  <p>Only takes effect if g_virus_rename
    is checked. Default is: &quot;*.exe,*.pif,*.bat,*.com,*.cmd,*.jav,*.vbs,*.scr,*.wsh&quot;
  </p>

<p>Syntax: g_rename_files string</p>
<h3><a NAME="g_report_host"></a>g_report_host - Report facts to a central host</h4><p>Not for general use currently</p>
<p>Syntax: g_report_host string</p>
<h3><a NAME="g_report_notspam"></a>g_report_notspam - Testing internal database(do not use)</h4><p>Testing myrbl code... still in developement</p>
<p>Syntax: g_report_notspam bool</p>
<h3><a NAME="g_report_spam"></a>g_report_spam - Testing internal database(do not use)</h4><p>Testing myrbl code... still in developement</p>
<p>Syntax: g_report_spam bool</p>
<h3><a NAME="g_responder_delay"></a>g_responder_delay - Delay between responses to the same address.</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_responder_delay string</p>
<h3><a NAME="g_responder_from"></a>g_responder_from - Send 'from' destination user</h4><p>This improves delivery, but risks loops and other issues.</p>
<p>Syntax: g_responder_from bool</p>
<h3><a NAME="g_responder_safer"></a>g_responder_safer - Only respond if the sender can be verified in some way (spf/domainkeys)</h4><p>This setting makes the server less likely to be black listed by accidentally responding to a forged email.</p>
<p>Syntax: g_responder_safer bool</p>
<h3><a NAME="g_responder_utf8"></a>g_responder_utf8 - Send response in utf8 format</h4><p>Alow utf8 chars in response</p>
<p>Syntax: g_responder_utf8 bool</p>
  <h3><a NAME="g_restart"></a>g_restart
    - Auto restart server</h3>
  <p>If turned on Swatch (a spawned
    second process) checks every 30 seconds to see if the server is still running.
    If it isn't running but it's pid file still exists (so if it died) this second
    process restarts the missing server and sends the manager account an Email
    reporting the fault. </p>
  <p>For this to work on NT you need
    to set Dr Watson NOT to show visual notification of faults: </p>
  <pre>&nbsp;This sets Dr Watson to be the default debugger)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:/> drwtsn32 /i&nbsp;&nbsp;&nbsp;
&nbsp;This brings up the Dr Watson settings, un-tick "Visual Notification"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:/> drwtsn32</pre>
  <p>Generally this setting is not needed
    and could be left off, but if an odd problem should develop, this setting
    can give you peace of mind for a few days while you wait for a problem resolution
    from NetWin.&nbsp; </p>

<p>Syntax: g_restart bool</p>
  <h3><a name="g_retry_bounces"></a>g_retry_bounces
    - Max hours to keep trying to bounce messages</h3>
  <p>Max hours to keep trying to deliver
    a bounce the default is 48hrs</p>

<p>Syntax: g_retry_bounces int</p>
<h3><a NAME="g_retry_dns"></a>g_retry_dns - Hours to keep trying if dns response suggested invalid domain name, default 0</h4><p>By default, if the DNS server says a domain doesn't exist, the message is immediately bounced so the sending user can take action. In some rare cases this will occur with a valid domain name because the actual DNS of the domain you are sending to is temporarily down.  In this situation making SurgeMail retry for 1 hour can prevent these false bounces.  I don't recommend this setting as mostly the DNS response and cache etc is very very reliable because SurgeMail keeps a local cache of DNS lookups that worked on disk. So for a failure like this to occur it must be the first time the server has EVER looked up the domain, so the odds are extremely remote. Delaying a useful response to the user for 1 hour just for this remote chance is not wise in my opinion.</p>
<p>Syntax: g_retry_dns int</p>
<p>Example: g_retry_dns "1"</p>
<p>See also: <a href="#g_dns_paranoid">g_dns_paranoid</a>, <a href="#g_dns_match_msg">g_dns_match_msg</a>, <a href="#g_dns_noptr">g_dns_noptr</a>, <a href="#g_dns_noptr_skip">g_dns_noptr_skip</a>, <a href="#g_dns_noptr_msg">g_dns_noptr_msg</a>, <a href="#g_dns_nocache">g_dns_nocache</a>, <a href="#g_dns_cache_size">g_dns_cache_size</a>, <a href="#g_dns_system">g_dns_system</a>, <a href="#g_dns_host">g_dns_host</a>, <a href="#g_dns_nlookup">g_dns_nlookup</a>, <a href="#g_dns_require">g_dns_require</a>, <a href="#g_dns_translate">g_dns_translate</a>, <a href="#g_dns_old">g_dns_old</a>, <a href="#g_dns_new">g_dns_new</a>, <a href="#g_spf_dns_timeout">g_spf_dns_timeout</a></p>
<h3><a NAME="g_retry_from"></a>g_retry_from - Time to keep messages from these domains</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_retry_from domain=string hours=string</p>
  <h3><a name="g_retry_limit"></a>g_retry_limit
    - Max hours to keep trying to deliver messages</h3>
  <p>Every hour the mail server will
    attempt to deliver any messages that fail for a reason that may be a temporary
    fault (for example the destination mail server doesn't respond). This setting
    limits how long these retries continue for. The default is 48 hours (2 days).&nbsp;</p>

<p>Syntax: g_retry_limit int</p>
  <h3><a name="g_retry_minutes"></a>g_retry_minutes
    - Time between attempted retries</h3>
  <p>Time in minutes that SurgeMail
    will try and resend a message that has failed to be delivered.<br>
    (default = 60 minutes).</p>

<p>Syntax: g_retry_minutes int</p>
  <h3><a name="g_retry_rule"></a>g_retry_rule
    - Retry rules overriding g_retry_limit</h3>
  <p>Rules that allow you to specify
    the retry_limit in hours on a per destination domain basis.</p>
  <p>Example:<br>
    g_retry_rule domain=&quot;test.com&quot; hours=&quot;48&quot; </p>
  <p>That will make it keep retrying
    to send to the domain test.com for 48 hours. </p>

<p>Syntax: g_retry_rule domain=string hours=string</p>
<h3><a NAME="g_retry_unwarn"></a>g_retry_unwarn - Send user sent on confirmation if warning sent</h4><p>This complements the warning setting, so the user can see the message did eventually go through and after how long...</p>
<p>Syntax: g_retry_unwarn bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_retry_warn"></a>g_retry_warn - Send user a warning if first send fails</h4><p>I like this setting myself but it can confuse users as the first send attempt will often fail and the user will mis read the bounce and think it's failed completely.  It does mean when a message is urgent the user gets told right away, instead of 2 days later, that there is a problem sending the message so for a business it's a nice setting to enable.</p>
<p>Syntax: g_retry_warn bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_retry_warn_n"></a>g_retry_warn_n - Send user a warning if nth send fails</h4><p>Similar to the above setting but this one reduces the false warnings as messasges often fail on the first attempt</p>
<p>Syntax: g_retry_warn_n int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_route"></a>g_route
    - Wildcard route mail to specified server</h3>
  <p>Route messages matching particular
    wildcard &quot;from address&quot; and wildcard &quot;to address&quot; to specified
    server. This is not a gatweay rule and is only applied to mail that has already
    been accepted via SMTP authentication, relaying rules or gateway rules. </p>
  <p>This would typically be used to
    route all mail for a particular user on a domain to another mailserver or
    to route all mail from a local domain through another server:</p>
  <p>Case 1: Route mail for one user
    to another server</p>
  <p>g_route from=&quot;*@*&quot; to=&quot;user@localdomain.com&quot;
    dest=&quot;1.2.3.4&quot; user=&quot;&quot; pass=&quot;&quot;</p>
  <p>Case 2: Route all mail from local
    domain through other server<br>
    </p>
  <p>g_route from=&quot;*@localdomain.com&quot;
    to=&quot;*&quot; dest=&quot;1.2.3.4&quot; user=&quot;&quot; pass=&quot;&quot;</p>
  <p>g_route_except gets applied allowing
    you to prevent mail coming in from certain IP addresses to be routed.</p>
  <p></p>

<p>Syntax: g_route from=string to=string dest=string user=string pass=string</p>
  <h3><a name="g_route_by_tohost"></a>g_route_by_tohost
    - Route based on authent 'tohost' field</h3>
  <p>Use routing to a particular server
    based on 'tohost' setting in authentication database. This is particularly
    useful if you have users spread over several physical locations and want to
    be able to route mail for different users to particular servers.</p>

<p>Syntax: g_route_by_tohost bool</p>
  <h3><a name="g_route_except"></a>g_route_except
    - IP exception to g_route and g_route_by_tohost</h3>
  <p>IP exception to g_route and g_route_by_tohost.</p>

<p>Syntax: g_route_except string</p>
<h3><a NAME="g_route_local"></a>g_route_local - Route messages for local domains if the rule applies</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_route_local bool</p>
<h3><a NAME="g_safe_imap"></a>g_safe_imap - Force users to prove they are real if logging in from pop/imap</h4><p>This feature is intended to prevent spamers/hackers from harvesting accounts on your system and then using them to send out spam</p>
<p>Syntax: g_safe_imap bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_safe_smtp"></a>g_safe_smtp - Force users to prove they are real if logging in from unknown sources via smtp</h4><p>This feature is intended to prevent spamers/hackers from harvesting accounts on your system and then using them to send out spam</p>
<p>Syntax: g_safe_smtp bool</p>
<p>See also: <a href="domain.htm#blogs_max_per_user">blogs_max_per_user</a>, <a href="domain.htm#loginfails">loginfails</a>, <a href="domain.htm#url_blogs">url_blogs</a>, <a href="#g_acctlog_sum_inactive">g_acctlog_sum_inactive</a>, <a href="#g_acctlog_authonly">g_acctlog_authonly</a>, <a href="#g_acctlog_noaliases">g_acctlog_noaliases</a>, <a href="#g_alias_login_disable">g_alias_login_disable</a>, <a href="#g_bad_login_mins">g_bad_login_mins</a>, <a href="#g_bad_login_allow">g_bad_login_allow</a>, <a href="#g_bad_login_ip_allow">g_bad_login_ip_allow</a>, <a href="#g_bad_login_ip_ignore">g_bad_login_ip_ignore</a>, <a href="#g_bank_log">g_bank_log</a>, <a href="#g_authent_logall">g_authent_logall</a>, <a href="#g_authent_last_login">g_authent_last_login</a>, <a href="#g_autologin_pop">g_autologin_pop</a>, <a href="#g_autologin_file">g_autologin_file</a>, <a href="#g_autologin_imap_disable">g_autologin_imap_disable</a>, <a href="#g_blogs_enable">g_blogs_enable</a>, <a href="#g_blogs_maximum_image_width">g_blogs_maximum_image_width</a>, <a href="#g_blogs_maximum_image_size">g_blogs_maximum_image_size</a>, <a href="#g_blogs_maximum_items_in_top_page">g_blogs_maximum_items_in_top_page</a>, <a href="#g_blogs_max_per_user">g_blogs_max_per_user</a>, <a href="#g_blogs_default_template">g_blogs_default_template</a>, <a href="#g_blogs_use_sub_domains">g_blogs_use_sub_domains</a>, <a href="#g_blogs_sub_domain_prefix">g_blogs_sub_domain_prefix</a>, <a href="#g_blogs_not_unique">g_blogs_not_unique</a>, <a href="#g_blogs_not_global">g_blogs_not_global</a>, <a href="#g_blogs_no_suffix">g_blogs_no_suffix</a>, <a href="#g_blogs_ping">g_blogs_ping</a>, <a href="#g_blogs_domonly">g_blogs_domonly</a>, <a href="#g_blogs_image_optional">g_blogs_image_optional</a>, <a href="#g_blogs_allow_links">g_blogs_allow_links</a>, <a href="#g_blogs_cleanup_links">g_blogs_cleanup_links</a>, <a href="#g_blogs_comment_rev">g_blogs_comment_rev</a>, <a href="#g_imap_log_protocol">g_imap_log_protocol</a>, <a href="#g_imap_log_flush">g_imap_log_flush</a>, <a href="#g_imap_log_copy">g_imap_log_copy</a>, <a href="#g_imap_log_header">g_imap_log_header</a>, <a href="#g_imap_log_body">g_imap_log_body</a>, <a href="#g_last_login">g_last_login</a>, <a href="#g_last_login_days">g_last_login_days</a>, <a href="#g_log_flush">g_log_flush</a>, <a href="#g_log_fwd">g_log_fwd</a>, <a href="#g_log_level">g_log_level</a>, <a href="#g_log_disable">g_log_disable</a>, <a href="#g_log_path">g_log_path</a>, <a href="#g_log_pid">g_log_pid</a>, <a href="#g_log_thid">g_log_thid</a>, <a href="#g_log_reject_disable">g_log_reject_disable</a>, <a href="#g_log_bounce_disable">g_log_bounce_disable</a>, <a href="#g_log_dropped_disable">g_log_dropped_disable</a>, <a href="#g_log_tcp_read">g_log_tcp_read</a>, <a href="#g_log_tcp_write">g_log_tcp_write</a>, <a href="#g_log_norcpt">g_log_norcpt</a>, <a href="#g_log_size">g_log_size</a>, <a href="#g_log_dns">g_log_dns</a>, <a href="#g_log_slow">g_log_slow</a>, <a href="#g_log_start_norotate">g_log_start_norotate</a>, <a href="#g_log_user">g_log_user</a>, <a href="#g_log_date">g_log_date</a>, <a href="#g_log_date_msg">g_log_date_msg</a>, <a href="#g_log_syslog">g_log_syslog</a>, <a href="#g_log_syslog_debug">g_log_syslog_debug</a>, <a href="#g_log_syslog_only">g_log_syslog_only</a>, <a href="#g_log_syslog_host">g_log_syslog_host</a>, <a href="#g_msg_log_extra">g_msg_log_extra</a>, <a href="#g_setpassword_firstlogin">g_setpassword_firstlogin</a>, <a href="#g_perflog_disable">g_perflog_disable</a>, <a href="#g_perflog_flush_interval">g_perflog_flush_interval</a>, <a href="#g_perflog_lowres">g_perflog_lowres</a>, <a href="#g_perflog_logall">g_perflog_logall</a>, <a href="#g_perflog_surgeonly">g_perflog_surgeonly</a>, <a href="#g_smtp_log_protocol">g_smtp_log_protocol</a>, <a href="#g_smtp_log_size">g_smtp_log_size</a>, <a href="#g_spawn_log">g_spawn_log</a>, <a href="#g_spf_debug_log">g_spf_debug_log</a>, <a href="#g_spflog_enable">g_spflog_enable</a>, <a href="#g_spflog_domains">g_spflog_domains</a>, <a href="#g_ssl_require_login">g_ssl_require_login</a>, <a href="#g_surgeblog">g_surgeblog</a>, <a href="#g_user_blogs">g_user_blogs</a>, <a href="#g_user_friends_domain_log_disable">g_user_friends_domain_log_disable</a>, <a href="#g_user_friends_log_disable">g_user_friends_log_disable</a>, <a href="#g_surgeweb_logall">g_surgeweb_logall</a>, <a href="#g_surgeplus_log_level">g_surgeplus_log_level</a></p>
<h3><a NAME="g_sample_get"></a>g_sample_get - Sample account to check if deliveries work</h4><p>The idea is to create several accounts on various public mail servers. Then send a test message using a mailing list or g_redirect rule to these test accounts, then use the command tellmail sample_get CODE DELETE to check if the messages have arrived. The first paramter of tellmail sample_get is a code it expects to find in the message headers (or subject) and the second paramter should be the keyword 'delete' if you want it to delete the sample messages.</p>
<p>Syntax: g_sample_get host=string user=string pass=string</p>
<h3><a NAME="g_sample_show"></a>g_sample_show - Headers to show from sample messages</h4><p>Typicall you will list headers that are added by spam filters</p>
<p>Syntax: g_sample_show string</p>
  <h3><a name="g_scan_action"></a>g_scan_action
    - Converts return value from g_scan_cmd to action on email</h3>
  <p>Converts return value from g_scan_cmd,
    action=drop,accept,bounce.</p>

<p>Syntax: g_scan_action code=int action=string reason=string</p>
  <h3><a name="g_scan_cmd"></a>g_scan_cmd
    - Run command on message, and return integer</h3>
  <p>Run command on message, and return
    integer, see g_scan_action. </p>

<p>Syntax: g_scan_cmd string</p>
  <h3><a name="g_sched_utoken_timeout"></a>g_sched_utoken_timeout
    - Timeout for sched utokens in minutes</h3>
  <p>Timeout for sched utokens in minutes.&nbsp;
  </p>

<p>Syntax: g_sched_utoken_timeout int</p>
  <h3><a name="g_send_backoff"></a>g_send_backoff
    - Backoff slow hosts</h3>
  <p>Seconds to leave slow responding
    host alone (default 900).</p>

<p>Syntax: g_send_backoff int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_body_end_retry"></a>g_send_body_end_retry - Try again if connection fails after entire body sent</h4><p>This setting will tend to result in 'duplicate' messages being received, so should not be used, but strictly speaking it is valid to retry in this situation, the trouble is the receiving mail server 'may' have a real copy of the message so may deliver it even though the connection was dropped.</p>
<p>Syntax: g_send_body_end_retry bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_send_body_noretry"></a>g_send_body_noretry
    - Don't try and resend if failure during body send</h3>
  <p>By default SurgeMail retries to
    send messages if the tcp connection is lost during the body send part of sending
    an email message. In rare situations this may cause problems, for example
    while sending a large file if the receiving software is faulty and is dieing
    rather than responding with 'don't try again' error code. This behaviour was
    reversed before version 2.0h (e.g. it never retried)</p>

<p>Syntax: g_send_body_noretry bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_body_once"></a>g_send_body_once - Don't try 3 times if failure occurs sending body</h4><p>This setting disables the new feature where the server tries harder to deliver a message even if it 'might' result in duplicates being delivered.</p>
<p>Syntax: g_send_body_once bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_conspeed"></a>g_send_conspeed - Outgoing connections per second per destination, default is 4</h4><p>This helps prevent surgemail exceed tarpit throttles common in unix mail servers, adjust at your own risk. This won't generally limit outgoing email speed so you don't need to touch it. A value of '1' means surgemail can make one connection each second.</p>
<p>Syntax: g_send_conspeed int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_delay"></a>g_send_delay - Wait this many seconds after sending each item.</h4><p>This is a simple throttle to limit sending speed to any single domain, a value of 2 seconds is probably reasonable. In general you would also set G_SEND_MAX_PERDOM to 1. </p>
<p>Syntax: g_send_delay int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_first_retry"></a>g_send_first_retry - Minutes for first retry, default is 16 minutes, do not adjust!</h4><p>It's best not to change this generally, if you set it too low then grey listing may fail, if you set it higher then email is delayed.</p>
<p>Syntax: g_send_first_retry int</p>
<p>See also: <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_ban_helo">g_ban_helo</a>, <a href="#g_gateway_helo">g_gateway_helo</a>, <a href="#g_helo_optional">g_helo_optional</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_verify_helo">g_verify_helo</a></p>
  <h3><a name="g_send_helo"></a>g_send_helo
    - Domain to use for all outgoing SMTP helo commands</h3>
  <p>Fully qualified domain to use for
    all outgoing SMTP helo commands.</p>

<p>Syntax: g_send_helo string</p>
<p>See also: <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_ban_helo">g_ban_helo</a>, <a href="#g_gateway_helo">g_gateway_helo</a>, <a href="#g_helo_optional">g_helo_optional</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_verify_helo">g_verify_helo</a></p>
  <h3><a name="g_send_helo_from"></a>g_send_helo_from
    - Use the sending domain for the helo command</h3>
  <p>If the senders domain name (in
    return path envelope) is a valid local domain, then it is used in the 'helo'
    command.</p>
  <p>Not generally recommended. The
    correct use of the helo is to identify the sending machine, not the domain,
    so although this makes the headers look pretty it doesn't make them more correct
    in my opinion.</p>

<p>Syntax: g_send_helo_from bool</p>
<p>See also: <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_ban_helo">g_ban_helo</a>, <a href="#g_gateway_helo">g_gateway_helo</a>, <a href="#g_helo_optional">g_helo_optional</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_verify_helo">g_verify_helo</a></p>
<h3><a NAME="g_send_helo_in"></a>g_send_helo_in - Lookup dns name of incoming ip connection on local interface</h4><p>So this is the local ip name it looks up not the remote ip address name.</p>
<p>Syntax: g_send_helo_in bool</p>
<p>See also: <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_ban_helo">g_ban_helo</a>, <a href="#g_gateway_helo">g_gateway_helo</a>, <a href="#g_helo_optional">g_helo_optional</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_verify_helo">g_verify_helo</a></p>
  <h3><a name="g_send_lines"></a>g_send_lines
    - Send single line packets</h3>
  <p>Send messages in single line packets,
    slow! (for debugging)</p>

<p>Syntax: g_send_lines bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_lowpriority"></a>g_send_lowpriority - Ip address of bulk sending servers</h4><p>This limits the impact from mailing lists that would otherwise clogg the server and prevent normal individual emails going through quickly</p>
<p>Syntax: g_send_lowpriority string</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_send_max"></a>g_send_max
    - Max concurrent sending sessions</h3>
  <p>Maximum concurrent outgoing SMTP
    connections . You should not have to change this. The default is 100.</p>

<p>Syntax: g_send_max int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_max_perchan"></a>g_send_max_perchan - Msgs to send on one open channel</h4><p>This may help delivery if a server is incorrectly identifying your server as a spam source. A value of 1-5 would be reasonable</p>
<p>Syntax: g_send_max_perchan int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_send_max_perdom"></a>g_send_max_perdom
    - Max concurrent sending sessions to a single domain</h3>
  <p>Maximum concurrent outgoing SMTP
    connections to a single domain. The default is 2. This can be set higher and the default used to be 6 however there are a few servers out there that don't like more than 2 channels being opened to them.</p>

<p>Syntax: g_send_max_perdom int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_max_rcpt"></a>g_send_max_rcpt - How many rcpt's to send per message when sending</h4><p>Default is unlimited, Setting this to a small value like 10 may help some mail servers.</p>
<p>Syntax: g_send_max_rcpt int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_no_domain"></a>g_send_no_domain - Message to show when domain points to us but can't find user or domain</h4><p>Most useful when using g_authent_always, as this error will be shown to local users when sending to local users that don't exist.</p>
<p>Syntax: g_send_no_domain string</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_nolimit"></a>g_send_nolimit - Don't apply g_max_perdom limit when sending to this domain</h4><p>Use this on incomng mx severs for the local domain so it can use lots of channels to send the data through.</p>
<p>Syntax: g_send_nolimit string</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_nopoll"></a>g_send_nopoll - Use sleep loop instead of poll (debugging only)</h4><p>This is to try and find an elusive fault on some systems sending large emails, not for general use</p>
<p>Syntax: g_send_nopoll bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_send_noskipslow"></a>g_send_noskipslow
    - Don't skip slow hosts</h3>
  <p>Normally surgemail remembers hosts
    that are slow to open, fail and doesn't retry for 60 minutes.</p>

<p>Syntax: g_send_noskipslow bool</p>
  <h3><a name="g_send_onpopfetch"></a>g_send_onpopfetch
    - Only send outgoing while doing a POPfetch</h3>
  <p>Only send outgoing while doing
    a POPfetch (For dialup use).</p>

<p>Syntax: g_send_onpopfetch bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_send_open_timeout"></a>g_send_open_timeout
    - SMTP link open timeout</h3>
  <p>Timeout, in seconds when opening
    an SMTP link.</p>

<p>Syntax: g_send_open_timeout int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_retry_552"></a>g_send_retry_552 - Retry on 552 responses (typically quota exceeded)</h4><p>Some faulty hosts return a 552 error when a user is over quota, this means that by the RFC SurgeMail must not try again to deliver the message.  However this is clearly not a permanent error and so it's often wise to retry in this situation, This setting makes SurgeMail attempt retries when faced with this odd response.</p>
<p>Syntax: g_send_retry_552 bool</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_rewrite"></a>g_send_rewrite - Rewrite envelope recipient at send stage, does not change destination server</h4><p>This rewrites the recipient envelope, you can use wild cards, e.g. *@this.domain %1@another.domain, to rewrite 'from' addresses use g_from_rewrite </p>
<p>Syntax: g_send_rewrite was=string to=string</p>
  <h3><a name="g_send_speed"></a>g_send_speed
    - max outbound bandwidth</h3>
  <p>Bytes per second to limit each
    outgoing channel to. eg: 10k</p>

<p>Syntax: g_send_speed int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_send_timeout"></a>g_send_timeout
    - Send timeout</h3>
  <p>

  <p>Timeout, in seconds when sending
    mail, default is 540 (9 minutes)</p>


<p>Syntax: g_send_timeout int</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_tolimit">g_send_tolimit</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
<h3><a NAME="g_send_tolimit"></a>g_send_tolimit - Limit speed to send to one or more domains.</h4><p>Some large providers will assume you are a spammer if you send too many messagse in an hour. If you have a large mailing list it's easy to break these limits, in which case some rules like this can prevent this problem.</p>
<p>Syntax: g_send_tolimit domain=string perhour=int</p>
<p>Example: g_send_tolimit domain="hotmail.com,*hotmail.com" perhour="60"</p>
<p>See also: <a href="domain.htm#user_status_send">user_status_send</a>, <a href="domain.htm#user_send_max">user_send_max</a>, <a href="domain.htm#send_helo">send_helo</a>, <a href="#g_footer_send">g_footer_send</a>, <a href="#g_footer_sendonly">g_footer_sendonly</a>, <a href="#g_send_first_retry">g_send_first_retry</a>, <a href="#g_send_helo">g_send_helo</a>, <a href="#g_send_helo_from">g_send_helo_from</a>, <a href="#g_send_helo_in">g_send_helo_in</a>, <a href="#g_send_backoff">g_send_backoff</a>, <a href="#g_send_lines">g_send_lines</a>, <a href="#g_send_nopoll">g_send_nopoll</a>, <a href="#g_send_lowpriority">g_send_lowpriority</a>, <a href="#g_send_max">g_send_max</a>, <a href="#g_send_max_perchan">g_send_max_perchan</a>, <a href="#g_send_max_perdom">g_send_max_perdom</a>, <a href="#g_send_max_rcpt">g_send_max_rcpt</a>, <a href="#g_send_nolimit">g_send_nolimit</a>, <a href="#g_send_no_domain">g_send_no_domain</a>, <a href="#g_send_onpopfetch">g_send_onpopfetch</a>, <a href="#g_send_retry_552">g_send_retry_552</a>, <a href="#g_send_rewrite">g_send_rewrite</a>, <a href="#g_send_noskipslow">g_send_noskipslow</a>, <a href="#g_send_speed">g_send_speed</a>, <a href="#g_send_conspeed">g_send_conspeed</a>, <a href="#g_send_delay">g_send_delay</a>, <a href="#g_send_timeout">g_send_timeout</a>, <a href="#g_send_open_timeout">g_send_open_timeout</a>, <a href="#g_send_body_noretry">g_send_body_noretry</a>, <a href="#g_send_body_end_retry">g_send_body_end_retry</a>, <a href="#g_send_body_once">g_send_body_once</a>, <a href="#g_user_status_send">g_user_status_send</a>, <a href="#g_user_send_max">g_user_send_max</a>, <a href="#g_user_send_rule">g_user_send_rule</a>, <a href="#g_user_send_warning">g_user_send_warning</a>, <a href="#g_user_send_ip">g_user_send_ip</a>, <a href="#g_user_send_white">g_user_send_white</a></p>
  <h3><a name="g_server_name"></a>g_server_name
    - Wildcard &quot;SERVER_NAME&quot; translation for domain identification</h3>
  <p>The vdomain a user connects on
    is normally identified automatically for &quot;user account self management&quot;
    and for &quot;webmail&quot;. In the event that the domain name is not the
    same as the host name (eg hostname = mail.domain.com, domainname = domain.com)
    the WebMail web server can automatically translate the SERVER_NAME variable.</p>
  <p>This setting specifies a wild card
    list of URLs 'URL' with associated translated host name for &quot;SERVER_NAME&quot;.
    If the URL matches then SERVER_NAME is set to the second part of this setting
    'name'. eg: to host the domains domain.com and mail.domain.com on host mail.domain.com:</p>
  <p> g_server_name url=&quot;*.domain.com&quot;
    name=&quot;domain.com&quot; <br>
    </p>
  <p>Note: If your server name is not
    the same as your domain name also check the per domain setting <a href="domain.htm#url_host">URL_host</a>.
    </p>

<p>Syntax: g_server_name url=string name=string</p>
  <h3><a name="g_server_stamp"></a>g_server_stamp
    - Replaces SurgeMail and version string in &quot;Received&quot; headers</h3>
  <p>Replaces SurgeMail and version
    string in Received headers of process mail</p>

<p>Syntax: g_server_stamp string</p>
<h3><a NAME="g_setpassword_firstlogin"></a>g_setpassword_firstlogin - Accept any password on first POP login and set in database (EMERGENCY USE ONLY, requires nwauth -reasonfail parameter)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_setpassword_firstlogin bool</p>
  <h3><a name="g_share_home"></a>g_share_home
    - Allow sharing of home directory</h3>
  <p>This allows sharing of the home
    directory in the unlikely situation that you might want to run separate surgemail
    processes. eg one process to cope with SMTP and another to cope with POP access.</p>

<p>Syntax: g_share_home bool</p>
  <h3><a name="g_share_mail"></a>g_share_mail
    - Allow sharing of mail directory</h3>
  <p>Set true if mail area is shared
    (by nfs or other mechanism)</p>

<p>Syntax: g_share_mail bool</p>
<h3><a NAME="g_share_quota"></a>g_share_quota - Do quota on disk (e.g. when using nfs shared spool)</h4><p>Normally SurgeMail keeps track of quota for all users in memory, this is efficient, but means if your are using a shared mail spool the quota figures are completely wrong, so use this setting to make surgemail keep track of quota's on disk, it increases disk load a bit of course but not too much.</p>
<p>Syntax: g_share_quota bool</p>
  <h3><a name="g_smite_all"></a>g_smite_all
    - Add smite headers to all messages passing through server</h3>
  <p>Normally SmiteSpam headers are
    only added for locally delivered messages. This setting to all messages passing
    through this server.&nbsp; </p>

<p>Syntax: g_smite_all bool</p>
  <h3><a name="g_smite_gateway"></a>g_smite_gateway
    - Add smite headers to gatewayed messages</h3>
  <p>Normally SmiteSpam headers are
    only added for locally delivered messages. This setting adds the headers for
    gatewayed messages too. This also adds headers to messages that are redirected
    by forward rules as well. </p>

<p>Syntax: g_smite_gateway bool</p>
  <h3><a name="g_smite_level"></a>g_smite_level
    - Smite level to discard message</h3>
  <p>If <a href="protected.htm#smitespam">SmiteSpam</a>
    gives a message a &quot;smite score&quot; above this, throw it awayl. This
    setting is best never used. If used it should be set to '1 or 2'. A value
    of 1 = &quot;has been reported&quot;, 2 = &quot;has been reported multiple
    times&quot;. If smite match score is above this drop message. This is applied
    when the user downloads the email not at delivery time.&nbsp; What you probably
    want is 'g_spam_bounce' described elsewhere on this page.</p>

<p>Syntax: g_smite_level int</p>
  <h3><a name="g_smite_skip"></a>g_smite_skip
    - Skip smitecrc processing for messages from these domains</h3>
  <p>This will skip running SmiteCRC
    for messages whose from address matches these domains. This is the mail from
    envelope header NOT the from header in the message (you can check the return
    path header in the message to check what you need to add for this setting).<br>
    </p>
  <p> Note this is a wildcard field
    so to match any mail claiming to be from safedomain.com you would have to
    set:</p>
  <p>g_smite_skip &quot;*@safedomain.com&quot;&nbsp;</p>

<p>Syntax: g_smite_skip string</p>
<h3><a NAME="g_smite_skip_auth"></a>g_smite_skip_auth - Skip spam scanner if user logged in</h4><p>Skips spam checks and spam header generation for any authenticated local user.</p>
<p>Syntax: g_smite_skip_auth bool</p>
  <h3><a name="g_smite_skip_ip"></a>g_smite_skip_ip
    - Skip smite based on sender IP</h3>
  <p>Skip smite scanner if sender IP
    matches this wild card list.</p>

<p>Syntax: g_smite_skip_ip string</p>
<h3><a NAME="g_smite_skip_relay"></a>g_smite_skip_relay - Skip spam scanner if ip can relay</h4><p>Skips spam checks and spam header generation for any local user.</p>
<p>Syntax: g_smite_skip_relay bool</p>
  <h3><a name="g_smite_skip_to"></a>g_smite_skip_to
    - Skip smite based on &lt;to&gt;</h3>
  <p>Skip smite scanner if to matches
    this wild card to &lt;address&gt;.</p>

<p>Syntax: g_smite_skip_to string</p>
  <h3><a name="g_smite_tag"></a>g_smite_tag
    - Tag message if in SmiteSpam database</h3>
  <p>If set to true will tag messages
    already in the <a href="protected.htm#smitespam">SmiteSpam</a> database.&nbsp;
    A value of 1 = &quot;has been reported&quot;,
    2 = &quot;has been reported multiple times&quot;. </p>

<p>Syntax: g_smite_tag bool</p>
<h3><a NAME="g_sms_forward"></a>g_sms_forward - Specifies IP's which are allowed to forward to SMS gateways</h4><p>Normally sms gateways are restricted to authenticated users (SMTP authentication) this allows you to specify IP's which can send without authentication. For example you may want your dlist server to send SMS, in which case you might add 127.0.0.1 to this setting.</p>
<p>Syntax: g_sms_forward string</p>
  <h3><a name="g_sms_gateway"></a>g_sms_gateway
    - Address and port of your SMS gateway</h3>
  <p>This is the ip and port of an 'email
    to sms gateway'. The gateway should accept SMTP messages on this port and
    convert the email into an sms message then deliver to the phone number in
    the 'to' address. SMSGate is our 'email to sms gateway' and is FREE with SurgeMail.
    Setting <a href="domain.htm#user_sms">user_sms</a> to &quot;true&quot; for
    a domain allows users to specify a phone number (or email address) and rules
    for when to notify them.</p>

<p>Syntax: g_sms_gateway string</p>
<h3><a NAME="g_sms_gateway_force"></a>g_sms_gateway_force - Force sms notifications to go to g_sms_gateway</h4><p>If a user sets their sms number to an email address, perhaps to make use of an existing gateway, then surgemail will send the message to the domain in that address. If you set this you can force the email to go to g_sms_gateway. NOTE: It is possible to configure SMSGate with 'send_mode smtp', 'recv_mode none' and no GSM modem. In this setup it simply reformats messages passing them on to the configured smtp_outserver for delivery as email messages.</p>
<p>Syntax: g_sms_gateway_force bool</p>
<h3><a NAME="g_sms_gateway_msgbytes"></a>g_sms_gateway_msgbytes - Maximum amount of message to send to g_sms_gatway (bytes)</h4><p>Defines the maximum number of bytes of 'body' text to send to the g_sms_gateway. All headers are sent, then the defined number of bytes of 'body' text. Defaults to 160. May be set larger than the default if you have a lot of html messages or multipart html and text messages. Should not be set too large as there is no point sending binary attachments and the like to an sms gateway.</p>
<p>Syntax: g_sms_gateway_msgbytes int</p>
<h3><a NAME="g_smtp_auth_debug"></a>g_smtp_auth_debug - Auth Debug (do not use)</h3><p>This setting has no further documentation currently available</p>
<p>Syntax: g_smtp_auth_debug bool</p>
<p>See also: <a href="#g_gateway_allow">g_gateway_allow</a>, <a href="#g_smtp_delay_stamp">g_smtp_delay_stamp</a>, <a href="#g_smtp_welcome_delay">g_smtp_welcome_delay</a></p>
<h3><a NAME="g_smtp_auth_ip"></a>g_smtp_auth_ip - Ip Addresses to accept smtp authentication from</h4><p>This prevents a hacker sending out spam by cracking a users account details, users must login from an address specified in g_smtp_auth_ip or g_relay_allow_ip</p>
<p>Syntax: g_smtp_auth_ip string</p>
<p>See also: <a href="domain.htm#disable_smtp_after">disable_smtp_after</a>, <a href="domain.htm#old_smtphost">old_smtphost</a>, <a href="domain.htm#old_smtphost_skip">old_smtphost_skip</a>, <a href="domain.htm#smtp_auth_off">smtp_auth_off</a>, <a href="domain.htm#smtp_welcome">smtp_welcome</a>, <a href="domain.htm#smtp_welcome_name">smtp_welcome_name</a>, <a href="domain.htm#smtp_from_ip">smtp_from_ip</a>, <a href="domain.htm#surgeweb_backend_smtp">surgeweb_backend_smtp</a>, <a href="domain.htm#surgeplus_smtp_server_name">surgeplus_smtp_server_name</a>, <a href="#g_disable_smtp_after">g_disable_smtp_after</a>, <a href="#g_dbabble_smtp_port">g_dbabble_smtp_port</a>, <a href="#g_dbabble_smtp_prefix">g_dba
