<!--%%INCLUDE "i_defaulthead.incl" ("PolluStop Configuration Wizard")-->
   <form action="setup6" method="post">
   <fieldset><legend>Initial training</legend>
      <p class="explain">Using the filesystem, PolluStop will scan a set of domains/accounts/mailboxes to fill the good and the spam database.</p>
      <p class="explain">Considering that usually spam mailboxes are unique in an account and there's no <span class="tt">good</span> subfolder to a spam mailbox, PolluStop will
      scan the <span class="tt">good</span> folders recursively but will ignore any mailbox that is specified in the <span class="tt">spam</span> folders and the <span class="tt">ignored</span> folders. It will
      then scan the <span class="tt">spam</span> folders recursively, ignoring the <span class="tt">ignored</span> folders.</p>
      <p class="explain">For instance, if you specify:</p>
      <ul style="margin-top:4px;margin-bottom:4px; font-family:courier new">
         <li><span>good: Domain/MyAccount</span></li>
         <li><span>spam: Domain/MyAccount/Spam</span></li>
         <li><span>ignore: Domain/MyAccount/Discussion Lists</span></li>
         <li><span>ignore: Domain/MyAccount/Spam/Not Sure</span></li>
      </ul>
      <p class="explain">PolluStop will use all the mailboxes in <span class="tt">MyAccount</span> for the good database, except the Spam and the Discussion Lists mailboxes. PolluStop
      will then train the spam database with the <span class="tt">Spam</span> folder but will still ignore the <span class="tt">Spam/Not Sure</span> mailbox.</p>
      <p class="explain">You should specify the domains, accounts and mailboxes with the Domain/Account/Mailbox/Sub or
      the ~account@domain/Mailbox/Submailbox syntaxes. Note the mailboxes path may be case-sensitive, depending on the OS and the filesystem your server uses.</p>
      <p class="explain">You can also use the mailbox browser to locate the mailboxes to train the database with. Using the Mailbox browser,
      you can see all domains, accounts and mailboxes on your system and select them. The Mailbox browser also allows
      you to open a webmail session on behalf of the mailbox owner to see the mailbox contents. For security reasons, the main domain
      postmaster's login is required to use the mailbox browser.</p>
      <p class="explain">You may want to revise the <a href="advanced">Advanced settings</a> before performing training since some options affect the contents stored in the database. However, default settings are usually suitable for everyone.</p>

      <p><input type="button" value="Open Mailbox Browser" onclick="window.open('mailboxbrowser', 'mailboxbrowser', 'width=800,height=600,toolbar=no,resize=yes,statusbar=yes,scrollbars=yes')" /></p>

      <div class="legend">Good domains / accounts / mailboxes:</div>
      <p><textarea cols="60" rows="6" name="w_traingood" style="width:100%">%%w_traingood%%</textarea></p>

      <div class="legend">Spam accounts / mailboxes:</div>
      <p><textarea cols="60" rows="6" name="w_trainspam" style="width:100%">%%w_trainspam%%</textarea></p>

      <div class="legend">Ignored accounts / mailboxes:</div>
      <p><textarea cols="60" rows="6" name="w_trainignore" style="width:100%">%%w_trainignore%%</textarea></p>

      <p class="explain">Training will be performed asynchronously by the DropMailboxes module.
      Data about training will be sent to the CGPro logs.</p>
      <p><input type="submit" name="Apply" value="Perform initial training" />  <input type="submit" name="Skip" value="Skip this step" /></p>
   </fieldset>
   </form>
   <script type="text/javascript">
      window.onload=function(){var f = document.forms[0]; disableWrap(f.w_traingood); disableWrap(f.w_trainspam); disableWrap(f.w_trainignore);};
   </script>
<!--%%INCLUDE "i_defaultfoot.incl"-->
