<!--%%INCLUDE "i_defaulthead.incl"-->
   <title>PolluStop Drop mailboxes</title>
</head>
<body>
   <h1>PolluStop Drop mailboxes<br />
   <span class="h2">%%domainname%%</span></h1>
   <!--%%INCLUDE "i_statuscodes.incl"-->
   <form action="drop" method="post">
   <fieldset><legend><select name="drop_enabled"><!--%%BOOLMENU settings.drop_enabled DEFAULT defaultsettings.drop_enabled DISPLAY yesno--></select> Enable Drop Mailboxes</legend>
   <p class="explain">Drop mailboxes are special mailboxes where users can drop incorrectly-filtered messages instead of forwarding them; this is probably the easiest method for IMAP users. The requirements can be automatically created by the <a href="/setup4">wizard</a>.</p>
   <p class="explain">The account used for Drop Mailboxes is also used for all CLI access to the server. (See the <a href="password">password page</a>). Please set a complex password (ten or more characters, upper and lower case, numbers and symbols) for this account. Passwords are encrypted using a custom RSA-type algorithm.</p>
   <p class="explain">IMAP access must be enabled for this account.</p>
   <p class="explain">Your entries will be verified before being saved (PolluStop will attempt an IMAP connection).</p>
   <p class="errors">Your will need to set your the IMAP username and password on the <a href="password">passwords page</a> before enabling drop mailboxes.</p>
   </fieldset>

   <fieldset><legend>Mailboxes to scan for messages</legend>
   <p>Spam messages are in: <input type="text" name="drop_spambox" value="%%SETTINGS("drop_spambox")%%" size="20" /></p>
   <p>Good messages are in: <input type="text" name="drop_goodbox" value="%%SETTINGS("drop_goodbox")%%" size="20" /></p>
   <p class="explain">PolluStop uses IMAP to fetch the messages. Then, it can either delete the dropped message or store it in a separate folder.</p>
   <p>After scanning dropped messages:</p>
   <p><select name="drop_movespam" style="width:80px" onchange="dmsh.style.visibility = this.selectedIndex > 0 ? 'visible' : 'hidden'"><!--%%BOOLMENU settings.drop_movespam DEFAULT defaultsettings.drop_movespam DISPLAY movedelete--></select> spam messages <span <!--%%IF NOT(settings.drop_movespam)-->style="visibility:hidden" <!--%%ENDIF-->id="drop_movespam_hide">in: <input type="text" name="drop_movespambox" value="%%SETTINGS("drop_movespambox")%%" size="20" /></span></p>
   <p><select name="drop_movegood" style="width:80px" onchange="dmgh.style.visibility = this.selectedIndex > 0 ? 'visible' : 'hidden'"><!--%%BOOLMENU settings.drop_movegood DEFAULT defaultsettings.drop_movegood DISPLAY movedelete--></select> good messages <span <!--%%IF NOT(settings.drop_movegood)-->style="visibility:hidden" <!--%%ENDIF-->id="drop_movegood_hide">in: <input type="text" name="drop_movegoodbox" value="%%SETTINGS("drop_movegoodbox")%%" size="20" /></span></p>
   <script type="text/javascript">dmsh = document.getElementById("drop_movespam_hide"); dmgh = document.getElementById("drop_movegood_hide");</script>
   </fieldset>

   <fieldset><legend>IMAP Access</legend>
      <p>Access IP: <input type="text" name="drop_ip" value="%%SETTINGS("drop_ip")%%" size="15" maxlength="15" /> <span class="explain">(usually 127.0.0.1)</span></p>
      <p>Access Port: <input type="text" name="drop_imapport" value="%%SETTINGS("drop_imapport")%%" size="5" maxlength="5" /> <span class="explain">(usually 143)</span></p>
   </fieldset>

   <p><input type="submit" class="btn" name="Apply" value="Save settings" /><input type="reset" class="btn" value="Reset" /></p>
   </form>
<!--%%INCLUDE "i_defaultfoot.incl"-->
