<!--%%INCLUDE "i_defaulthead.incl"-->
   <title>PolluStop Web Administration</title>
</head>
<body>
   <h1>PolluStop Web Administration<br>
   <span class=h2>%%domainname%%</span></h1>
   <!--%%INCLUDE "i_statuscodes.incl"-->
   <form action="password.page" method=POST>
      <!--%%IF EQUALS(settings.password AND "pollustop")-->
      <font color=red><b>The system is configured with the default password,<br>
      you must modify it before performing any other action.<br>
      It's also recommended to change the Username.</b></font><br><br>
      <!--%%ENDIF-->
      <fieldset><legend>Web administration password</legend>
      <table cellspacing=0>
         <tr><th>Username</th><td><input size=30 type=text name=username value="%%SETTINGS("username")%%"></td></tr>
         <tr><th>Password</th><td><input size=20 maxlength=20 class=pw type=password name=password1 value="********"></td></tr>
         <tr><th>Password (again)</th><td><input size=20 maxlength=20 class=pw type=password name=password2 value=""></td></tr>
      </table><br>
      <span class=explain>After clicking on "Save Settings", the browser will prompt for your new username and password.</span>
      </fieldset><br><br>
      <fieldset><legend>
      <select name=usecli><!--%%BOOLMENU settings.usecli DEFAULT defaultsettings.usecli DISPLAY yesno--></select> Allow PolluStop to use CLI</legend>
      <p class=explain>PolluStop requires a Communigate Pro account with admin rights (Can Modify and Monitor Everything).
         This account is used to access certain CGPro settings via the CLI (Command-Line Interface), to automate the initial setup of PolluStop via the Wizard, and to monitor the <a href="drop.page">Drop Mailboxes</a>.</p>
      <p class=explain>If you stop PolluStop from using the CLI, the initial setup wizard will be disabled, as well as some of the
      scanning features of PolluStop. If you have a Cluster license, CLI access <b>must</b> be enabled to allow PolluStop to verify the license.</p>
      <p class=explain>Please set a complex password (ten or more characters, upper and lower case, numbers and symbols) for this account. Passwords are saved using RSA encryption.</p>
      <p class=explain>Your entries will be verified before being saved (PolluStop will attempt a CLI connection).</p>
      <table cellspacing=0>
         <tr><th>Full account name</th><td><input size=30 type=text name=cgaccount value="%%SETTINGS("cgaccount")%%"></td></tr>
         <tr><th>Password</th><td><input size=20 maxlength=20 class=pw type=password name=cgpassword value="********"></td></tr>
         <tr><th>CLI port</th><td><input size=5 maxlength=5 class=pw type=text name=cliport value="%%SETTINGS("cliport")%%"> <span class=explain>(CLI must be accessible at 127.0.0.1)</span></td></tr>
         <tr><th>Use APOP</th><td><select name=useapop><!--%%BOOLMENU settings.useapop DEFAULT defaultsettings.useapop DISPLAY yesno--></select></td></tr>
      </table></fieldset><br><br>
      <input type=submit class=btn name=apply value="Save Settings"><input type=reset class=btn name=reset value="Reset">
   </form>
<!--%%INCLUDE "i_defaultfoot.incl"-->
