<!--%%INCLUDE "i_defaulthead.incl"-->
   <title>General PolluStop Configuration</title>
</head>
<body>
   <h1>General PolluStop Configuration<br>
   <span class=h2>%%domainname%%</span></h1>
   <!--%%INCLUDE "i_statuscodes.incl"-->
   <form action="general.page" method=post>
   <fieldset><legend>Special Flags: <input type=text name=specialflags value="%%SETTINGS("specialflags")%%" size=8 maxlength=8></legend>
   <p class=explain>Set custom options -- Leave at 0 unless you know what you are doing.</p>
   </fieldset><br><br>
   <fieldset><legend>Find Attachments </legend>
      <select class=ed name=findattach><!--%%BOOLMENU settings.findattach DEFAULT defaultsettings.findattach DISPLAY enabledisable--></select>
      the built-in Find Attachment module.
   </fieldset><br><br>
   <fieldset><legend>Web Administration Listener Port: <input type=text name=httplistenport value="%%SETTINGS("httplistenport")%%" size=5 maxlength=5></legend>
      <p class=explain>TCP/IP port of the HTTP listener, that is, the port where you access this web interface.</p>
      <p class=explain>After changing this value, you will be automatically redirected to the new address, as the current one will
      no longer be valid. If you get a "Page Not Found" error, verify the address and port and try again.</p>
   </fieldset><br><br>
   <fieldset><legend>Statistics </legend>
      <select class=ed name=statistics><!--%%BOOLMENU settings.statistics DEFAULT defaultsettings.statistics DISPLAY enabledisable--></select> Enable the statistics module.
   </fieldset><br><br>
   <fieldset><legend>Maximum lines for timeout protection: </b><input type=text name=maxlines value="%%SETTINGS("maxlines")%%" size=8 maxlength=8></legend>
      <p class=explain>Process up to this number of lines in any given message. This avoids server timeouts when reading incorrectly-encoded MIME messages with large attachments. Set to 0 for unlimited (not recommended).</p>
   </fieldset><br><br>
   <fieldset><legend><select class=ed name=modifysubject><!--%%BOOLMENU settings.modifysubject DEFAULT defaultsettings.modifysubject DISPLAY enabledisable--></select> subject line modification: </legend>
      Subject Prefix: <input type=text name=subjectprefix value="%%SETTINGS("subjectprefix")%%" size=16 maxlength=16><br>
      Minimum score to add the prefix: <select name=spamlevel><!--%%ENUMMENU settings.spamlevel DEFAULT defaultsettings.spamlevel in Scores--></select><br>
      <p class=explain>This feature will modify the Subject Line of any message considered as Spam. This is useful if you want the final filtering done by the mail client and not by CGPro (a few widely-used mail clients are unable to filter on a custom header field).</p>
      <p class=explain><b>NOTE</b>: When this feature is enabled, messages are resubmitted via PIPE with the modified subject; PIPE must be enabled, and these messages will be processed twice by CGPro.</p>
   </fieldset><br><br>
   <fieldset><legend>Logging</legend>
      <select name=log_parsingerrors><!--%%BOOLMENU settings.log_parsingerrors DEFAULT defaultsettings.log_parsingerrors DISPLAY yesno--></select> Parsing Errors and warnings <span class=explain>(includes decoding errors and unknown charsets)</span><br>
      <select name=log_scoringvalues><!--%%BOOLMENU settings.log_scoringvalues DEFAULT defaultsettings.log_scoringvalues DISPLAY yesno--></select> Scoring values <span class=explain>(all diagnostics modifiying the message score)</span><br>
      <select name=log_popfetcher><!--%%BOOLMENU settings.log_popfetcher DEFAULT defaultsettings.log_popfetcher DISPLAY yesno--></select> Drop Mailboxes <span class=explain>(all drop mailbox-related messages - pop fetcher)</span><br>
      <select name=log_miscellaneous><!--%%BOOLMENU settings.log_miscellaneous DEFAULT defaultsettings.log_miscellaneous DISPLAY yesno--></select> Other log messages<br>
      <select name=log_newwords><!--%%BOOLMENU settings.log_newwords DEFAULT defaultsettings.log_newwords DISPLAY yesno--></select> New Words <span class=explain>(all words not found in the database are logged)</span><br>
      <select name=log_debug><!--%%BOOLMENU settings.log_debug DEFAULT defaultsettings.log_debug DISPLAY yesno--></select> Debug log messages <span class=explain>(<b>This setting creates LARGE NUMBERS of log entries, enable only if required</b>)</span><br>
      <p class=explain>All log entries are created in the CGPro log files.</p>
   </fieldset><br><br>
   <input type=submit class=btn name=Apply value="Save settings"><input type=reset class=btn value="Reset">
   </form>
<!--%%INCLUDE "i_defaultfoot.incl"-->
