<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Start of authent.htm --><!-- delayed after doctype-->
<html>
<head>
<link rel="stylesheet" type="text/css" href="template/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 authent.htm -->

<!-- #BeginEditable "Headerstuff"-->
<title>Authent Modules - A Guide</title>
<META NAME="keywords" CONTENT="">
<META NAME="description" CONTENT="">
<meta http-equiv="Content-Type" content="text/html;">


<!-- #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 authent.htm -->

<div class="content_outer">


<!-- Back to authent.htm -->
<div class="L2C2_column_left">
<!-- Back to authent.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_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_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 authent.htm -->
</div>

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

<div class="L2C2_column_content">
<!-- Back to authent.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','Managing Accounts'],3); </script>
  <script language="JavaScript"> index_select('idx_authent.htm'); </script>

  <h1>Authentication Modules - a guide</h1>

  <ul>
    <li><a href="#list"><font face="Arial, Helvetica, sans-serif">List of modules</font></a></li>
    <li><a href="#testing"><font face="Arial, Helvetica, sans-serif">Testing modules</font></a></li>
    <li><font face="Arial, Helvetica, sans-serif" color="#000000"><a href="#choosing">Choosing
      a module</a></font></li>
    <li><font face="Arial, Helvetica, sans-serif" color="#000000"><a href="#configure">Configuring
      modules</a></font></li>
    <li><a href="#authent_info"><font face="Arial, Helvetica, sans-serif">Fields
      used by SurgeMail</font></a></li>
    <li><font face="Arial, Helvetica, sans-serif" color="#000000"><a href="#mixed_case">Mixed
      case usernames and domains</a></font></li>
    <li><font face="Arial, Helvetica, sans-serif" color="#000000"><a href="#example">Example
      configuration of firstname and lastname for LDAPAuth</a></font></li>
  </ul>
  <p><font face="Arial, Helvetica, sans-serif">SurgeMail supports external authentication
    modules which are simple command line based programs that understand a small
    set of commands to add, remove and look up user details in your user database.</font>
  </p>
  <p><font face="Arial, Helvetica, sans-serif"><a name="list"></a>We provide modules
    for most common databases, including:</font> </p>
  <ul>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">NTAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - Windows user database - in surgemail distribution (Windows)</font></li>
    <li><font face="Arial, Helvetica, sans-serif"><a href="http://netwinsite.com/authent/">UnixAuth</a>
      - Unix password files - in surgemail distribution (UNIX)</font></li>
    <li><font face="Arial, Helvetica, sans-serif"><a href="http://netwinsite.com/authent/">NWAuth</a>
      - NetWin's own user database - in SurgeMail distribution</font></li>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">ODBCauth</font></a><font face="Arial, Helvetica, sans-serif">
      - ODBC data sources, i.e. Microsoft SQL databases</font></li>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">MySQLAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - MySQL UNIX based SQL databases</font></li>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">LDAPAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - LDAP database</font></li>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">RadiusAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - Radius database</font></li>
    <li><font face="Arial, Helvetica, sans-serif"><a href="http://netwinsite.com/authent/">OracleAuth</a>
      - Oracle database</font></li>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">PAMAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - Linux PAM</font></li>
  </ul>
  <p><font face="Arial, Helvetica, sans-serif">We also have a few utilities for
    running the above modules in different ways, including:</font></p>
  <ul>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">MultiAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - Multiple modules simultaneously</font></li>
    <li><a href="http://netwinsite.com/authent/"><font face="Arial, Helvetica, sans-serif">TCPAuth</font></a><font face="Arial, Helvetica, sans-serif">
      - TCP network connect</font></li>
  </ul>
  <p><font face="Arial, Helvetica, sans-serif">All of these modules can be found
    <a href="http://netwinsite.com/authent/">here</a> along with instructions
    on how each can be configured. </font></p>
  <p><font face="Arial, Helvetica, sans-serif">Of course, you can also write your
    own <a href="http://netwinsite.com/authent/protocol.htm">here</a> is the protocol</font>
    <font face="Arial, Helvetica, sans-serif">definition.</font></p>
  <p><font face="Arial, Helvetica, sans-serif"><a name="testing"></a>Authent modules
    should always be tested at the command line to see if they are working. Here
    is an example using NWAuth, the standard NetWin module:</font> </p>
  <pre class="indent">c:> nwauth
set bob@test.com bob
+OK bob@test.com added to database
lookup bob@test.com
+OK bob@test.com config 0
check bob@test.com xxx
-ERR bob@test.com password wrong or not a valid user
search bo*@test.com
+DATA bob@test.com
+DATA bobcat@test.com
+OK Search Complete 2 items found out of 1510
set bob@test.com bob quota="200" fwd="fred@test.com"
+OK bob@test.com added to database
lookup bob@test.com
+OK bob@test.com config 0 quota="200" fwd="fred@test.com"</pre>

  <h3><a name="choosing"></a>Choosing an Authent Module.</font></h3>
  <p><font face="Arial, Helvetica, sans-serif">The web admin GUI will list available
    authent modules and guide you to the config pages for each authent module.
    Most authent modules have an ini file that needs to be configured, eg: odbcauth.ini
    or ldapauth.ini and a related binary.</font> </p>
  <p><font face="Arial, Helvetica, sans-serif">When you download an authent module
    all files should be placed in the SurgeMail directory. </font></p>
  <p><font face="Arial, Helvetica, sans-serif">Again, test the authent module
    at the command line before telling SurgeMail to use it!!</font> </p>

  <h3><a name="configure"></a>Configuring the Authent Module.</h3>
  <p><font face="Arial, Helvetica, sans-serif">Normally you configure the authent
    module through the admin interface, but if you find yourself editing the surgemail.ini
    by hand ensure you pass the -path command line parameter to the authent module,
    this is to tell it where to find its config file and any other files it might
    use, for example:</font></p>
  <p><font face="Arial, Helvetica, sans-serif">g_authent_process &quot;c:\surgemail\nwauth.exe
    -path c:\surgemail&quot;</font></p>
  <p><font face="Arial, Helvetica, sans-serif">The above tells NWAuth to look
    in c:\surgemail for it's files nwauth.add, nwauth.txt, etc.<br>
    The same is true for any module that has an .ini file.</font></p>
  <p><font face="Arial, Helvetica, sans-serif">If you're authent module is not
    working this is the most likely cause.</font></p>

  <h3><a name="authent_info"></a>Extended info fields recognized by SurgeMail</h3>
  <p><font face="Arial, Helvetica, sans-serif">SurgeMail uses the <a href="global.htm#g_authent_info">g_authent_info</a>
    settings to define what fields it displays and where. Most fields have a 'hard-coded'
    use but others are simply there as examples of the kind of optional information
    you can collect about your users. The default settings are as follows:</font></p>
  <div class="pre"> g_authent_info name=&quot;Creation Stamp&quot; field=&quot;created&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Forwarding&quot; field=&quot;fwd&quot; access=&quot;none&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;SPF Block&quot; field=&quot;spf_block&quot; access=&quot;none&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Disk Quota (bytes)&quot; field=&quot;quota&quot;
    access=&quot;domadmin&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Full Name&quot; field=&quot;full_name&quot; access=&quot;user&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Phone&quot; field=&quot;phone&quot; access=&quot;user&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Password Retrieval Question&quot; field=&quot;pass_question&quot;
    access=&quot;createonly&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Password Retrieval Answer&quot; field=&quot;pass_answer&quot;
    access=&quot;createonly&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Access type&quot; field=&quot;mailaccess&quot; access=&quot;domadmin&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Account Status&quot; field=&quot;mailstatus&quot;
    access=&quot;domadmin&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Sms Number&quot; field=&quot;smsto&quot; access=&quot;domadmin&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Disabled&quot; field=&quot;disabled&quot; access=&quot;none&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;User alias quota&quot; field=&quot;alias_quota&quot;
    access=&quot;domadmin&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;User list quota&quot; field=&quot;list_quota&quot;
    access=&quot;domadmin&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;User access settings&quot; field=&quot;user_access&quot;
    access=&quot;domadmin&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Msg limit per 30min&quot; field=&quot;send_limit&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;To host(g_proxy)&quot; field=&quot;tohost&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Is an alias of&quot; field=&quot;realuser&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Allowed to&quot; field=&quot;allow&quot; access=&quot;none&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Friends Enabled&quot; field=&quot;friends&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Email Notification Address&quot; field=&quot;enotify&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;SpamPrivate private prefix&quot; field=&quot;ddpriv&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;SpamPrivate from prefix&quot; field=&quot;ddfrom&quot;
    access=&quot;none&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Card Name&quot; field=&quot;ccname&quot; access=&quot;user&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Card Number&quot; field=&quot;ccnumber&quot; access=&quot;user&quot;
    default=&quot;&quot; type=&quot;encrypt&quot; <br>
    g_authent_info name=&quot;Card Expiry&quot; field=&quot;ccexpires&quot; access=&quot;user&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Card Security Code&quot; field=&quot;ccciv&quot;
    access=&quot;user&quot; default=&quot;&quot; type=&quot;&quot; <br>
    g_authent_info name=&quot;Card Type&quot; field=&quot;cctype&quot; access=&quot;user&quot;
    default=&quot;&quot; type=&quot;&quot; <br>
  </div><br>
  <p> <font face="Arial, Helvetica, sans-serif">Each field is used for a different
    purpose:</font></p>
  <table class="plain_table" width="100%">
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">allow</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Services the user
        can access eg. SMTP,POP,IMAP.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">created</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Record of creation
        time, stored on creation time.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">ddfrom</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Private email
        'from' suffix.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">ddpriv</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Private email
        'private' suffix.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">enotify</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">The email address
        to send email notifications to.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">friends</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">'true' if the
        user has a friends mode configured.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">full_name</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Example information
        about user (not required, example).</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">fwd</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Forwarding rules
        for the user, configured via users &quot;Forwarding&quot; page.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">mailstatus</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Status of the
        account, see (<a href="accounts.htm#mailstatus">account status</a>)</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">pass_question</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Only used at creation
        time, collects password retrieval question (not stored in database).</font></td>
    </tr>
    <tr>
      <td width="14%" height="25"><font face="Arial, Helvetica, sans-serif">pass_answer</font></td>
      <td width="86%" height="25"><font face="Arial, Helvetica, sans-serif">Only
        used at creation time, collects password retrieval answer (not stored
        in database).</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">phone</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Example information
        about user (not required, example).</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">quota</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif"> Users disk quota,
        configured via the admininstrative interface.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">spf_block</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">'true' if the
        user wants to block non spf compliant email.</font></td>
    </tr>
  </table>
  <p><font face="Arial, Helvetica, sans-serif">For example:</font> </p>
  <pre><font face="Arial, Helvetica, sans-serif">+OK bob@test.com config 0 fwd="fred@test.com"
+OK bob@test.com config 0 quota="200000" fwd="joe@xx.com"</font></pre>
  <p><font face="Arial, Helvetica, sans-serif">Advanced settings :</font></p>
  <table class="plain_table" width="100%">
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">alias_quota</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Number of aliases
        this user can create</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">admin_access</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Features this
        domain admin can access</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">ccname</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Credit card holders
        name.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">ccnumber</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Credit card number.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">ccexpires</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Credit card expiry
        date mm/yy.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">ccciv</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Credit card security
        code.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">cctype</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Credit card type
        eg. Visa, Amex</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">disabled</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Used by email
        based account creation code (may also be used to disable existing accounts)</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">list_quota</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Quota of mailing
        lists the user can create.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">mailaccess</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Used in conjunction
        with <a href="global.htm#g_access_group">g_access_group</a> and <a href="global.htm#g_user_access">g_user_access</a>
        to specify access to features.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">realuser</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Real account to
        which this account is aliased - allows aliases to be specified in authent
        database</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">send_limit</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Number of outgoing
        messages this user can send per 30 minutes. You must also define the global
        limits g_tarpit_max, and g_tarpit_max_remote. And you may want to set
        g_tarpit_drop &quot;true&quot; </font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">smsto</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">SMS phone number
        to send SMS nontifications to users &quot;SMS&quot; page.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">tohost</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">The host which
        to connect to when using proxy mode (g_proxy)</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">user_access</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Features this
        user can access</font></td>
    </tr>
  </table>
  <p><font face="Arial, Helvetica, sans-serif">Legacy settings :</font></p>
  <table class="plain_table" width="100%">
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">accountstatus</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Numeric equivalent
        of mailaccess</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">droppath</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">The user's drop
        path, this is no longer supported and will not work with all SurgeMail
        functionality.</font></td>
    </tr>
    <tr>
      <td width="14%"><font face="Arial, Helvetica, sans-serif">groups</font></td>
      <td width="86%"><font face="Arial, Helvetica, sans-serif">Example setting
        used to be installed for default SurgeMail installs</font></td>
    </tr>
  </table>

  <h3><a name="mixed_case"></a>Mixed case usernames and domains</h3>
  <p><font face="Arial, Helvetica, sans-serif">SurgeMail will lowercase domains
    in all cases, and for usernames and passwords entered in mixed case it will
    attempt a lookup 'as is' and then a second one using lowercase, this helps
    avoid problems with users accidentally mixing case.&nbsp;</font> </p>
  <p><font face="Arial, Helvetica, sans-serif">In all cases drop paths etc are
    created using lowercase as this avoids the terrible mess on UNIX that can
    occur.&nbsp; This does mean it is impossible to have two different users who
    are only distinguished by case.&nbsp; This is of course an intentional feature
    and not a bug. We think anyone who actually wants multiple users with the
    same name is a little crazy :-)</font> <font face="Arial, Helvetica, sans-serif"></font></p>

  <h3><a name="example"></a>Example configuration of firstname and lastname for LDAPAuth</h3>
  <p><font face="Arial, Helvetica, sans-serif">This is an example of how to configure
    LDAPAuth for SurgeMail such that the user <b>must </b>enter a first and last
    name upon creation. This is how you might configure it for use with the Thunderbird
    LDAP client.</font></p>
  <p><font face="Arial, Helvetica, sans-serif">First, in ldapauth.ini add/change:</font></p>
  <p>info_fields full_name cn</p>
  <p>info_fields firstname givenName<br>
    info_fields lastname sn</p>
  <p><font face="Arial, Helvetica, sans-serif">and remove:</font></p>
  <p> must_set_fields sn name<br>
    must_set_fields cn name</p>
  <p></p>
  <p><font face="Arial, Helvetica, sans-serif">Next, in surgemail.ini configure:</font></p>
  <p> g_authent_info name=&quot;First Name&quot; field=&quot;firstname&quot; access=&quot;user&quot;<br>
    g_authent_info name=&quot;Last Name&quot; field=&quot;lastname&quot; access=&quot;user&quot;</p>
  <p></p>
  <p><font face="Arial, Helvetica, sans-serif">and for each domain configure:</font></p>
  <p>create_reqd &quot;firstname,lastname&quot;</p>
  <p><font face="Arial, Helvetica, sans-serif">Then stop and restart the surgemail
    process. Users will now see two fields additional on the self creation page
    &quot;First Name&quot; and &quot;Last Name&quot; the data entered here will
    be stored in the LDAP fields specified &quot;givenName&quot; and &quot;sn&quot;
    and Thunderbird will use these values.</font></p>
  <p><font face="Arial, Helvetica, sans-serif">Example config used with ActiveDirectory
    (Windows)</font></p>
  <blockquote>
    <p>ldap_host 10.1.1.1<br>
      ldap_port 389<br>
      ldap_mgr_dn cn=ftpadmin1,ou=mgt_info_sys,ou=CTL,ou=region_sales,dc=example,dc=com<br>
      ldap_mgr_pw secret_password<br>
      ldap_search_base OU=region_sales,dc=example,dc=com<br>
      ldap_scope LDAP_SCOPE_subtree<br>
      ldap_search_name ExampleAccountName<br>
      ldap_group_base OU=region_sales,dc=example,dc=com<br>
      ldap_group_search CN=&amp;*<br>
      ldap_group_field CN<br>
      ldap_group_attrib member</p>
    <p><br>
    </p>
<p>&nbsp;</p>

<!-- #EndEditable -->
<!-- CONTENT END -->
</div>

<!-- Back to authent.htm -->
</div>

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

<div class="prefooter">&nbsp;</div>
<div id="footer" class="footer">
 <table align="center" CELLPADDING="0" CELLSPACING="0" WIDTH="900" HEIGHT="100" BORDER="0" >
  <tr>
    <td HEIGHT="100%" >
      <p align="center" style="margin-top: 8pt; margin-bottom: 2pt; margin-left: 8pt">
  	  <a href="http://netwinsite.com/sitemap.htm" class="footer_link">Site Map</a><span class="style2"> | </span>
  	      <a href="http://netwinsite.com/index.htm" class="footer_link">Home</a><span class="style2"> | </span>
	      <a href="http://netwinsite.com/products.htm" class="footer_link">Products</a><span class="style2"> | </span>
	      <a href="http://netwinsite.com/surgemail/post.htm" class="footer_link">Contact Netwin</a><span class="style2"> | </span>
	      <a href="http://netwinsite.com/company.htm" class="footer_link">Company</a><span class="style2"> | </span>
	      <a href="http://netwinsite.com/license_all.htm" class="footer_link">Licensing</a><span class="style2"> | </span>
	      <a href="http://netwinsite.com/links.htm" class="footer_link">Links</a><span class="style2">  </span>
        <table align=center width="370" border="0" style="margin-bottom: 2pt">
        <tr>
          <td width="32"><img src="template/img2/logo_small_ongray.png" height="25" hspace="1" vspace="1" align="bottom"></td>
          <td width="350"><p class="smaller" style="margin-top: 14pt;">Copyright &copy; 2009 Netwin Ltd. All rights reserved.
		  </td>
        </tr>
      </table>
	</td>
  </tr>
</table>
</div>
</div>

<br><br>
</body>

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

</body>
</html>

<!-- End of authent.htm -->
