<div class="formArea">
    <fieldset>
        <legend>[[spamfilter__general_settings_legend]]</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <!-- BEGIN DYNAMIC BLOCK: enable_server_wide -->
            <!-- BEGIN DYNAMIC BLOCK: spamassassin_status -->
            <tr>
                <td class="name"><label for="fid-spamassassin_status">[[spamfilter__spamassassin_server_status_legend]]</label></td>
                <td><input type="checkbox" class="checkbox" name="spamassassin_status" value="true"
                           id="fid-spamassassin_status" {SPAMASSASSIN_STATUS_CHECKED} {SPAMASSASSIN_STATUS_DISABLED}><span class="hint">{SPAMASSASSIN_STATUS_DISABLED_HINT}</hint>
                </td>
            </tr>
            <!-- END DYNAMIC BLOCK: spamassassin_status -->
            <!-- BEGIN DYNAMIC BLOCK: greylisting_status -->
            <tr {GREYLISTING_HIDE}>
                <td class="name"><label for="fid-greylisting_status">[[spamfilter__greylisting_status_legend]]</label></td>
                <td><input type="checkbox" class="checkbox" name="greylisting_status" value="true" id="fid-greylisting_status" {GREYLISTING_STATUS_CHECKED}></td>
            </tr>
            <!-- END DYNAMIC BLOCK: greylisting_status -->
            <!-- END DYNAMIC BLOCK: enable_server_wide -->

            <!-- BEGIN DYNAMIC BLOCK: enable_user_prefs -->
            <tr>
                <td class="name"><label for="fid-spamassassin_status">[[spamfilter__spamassassin_user_status_legend]]</label></td>
                <td><input type="checkbox" class="checkbox" name="spamassassin_status" value="true" id="fid-spamassassin_status" {SPAMASSASSIN_STATUS_CHECKED}></td>
            </tr>
            <!-- END DYNAMIC BLOCK: enable_user_prefs -->

            <!-- BEGIN DYNAMIC BLOCK: use_mailuser_prefs -->
            <tr>
                <td class="name"><label for="fid-use_mailuser_prefs">[[spamfilter__use_mailuser_prefs]]</label></td>
                <td><input type="checkbox" class="checkbox" name="use_mailuser_prefs" value="true" id="fid-use_mailuser_prefs" {USE_MAILUSER_PREFS_CHECKED}></td>
            </tr>
            <!-- END DYNAMIC BLOCK: use_mailuser_prefs -->
        </table>
    </fieldset>
</div>

<!-- BEGIN DYNAMIC BLOCK: spamassassin_settings -->
<div class="formArea">
    <fieldset>
        <legend>[[spamfilter__spamassassin_settings_legend]]</legend>
        <table class="formFields" cellspacing="0" width="100%">
            <!-- BEGIN DYNAMIC BLOCK: spamassassin_settings_max_children -->
            <tr {MAX_CHILDREN_ERROR}>
                <td class="name"><label for="fid-max_children">[[spamfilter__max_children]]</label>&nbsp;{REQ}</td>
                <td><input type="text" name="max_children" id="fid-max_children" value="{MAX_CHILDREN_VALUE}" size="3" maxlength="2"></td>
            </tr>
            <!-- END DYNAMIC BLOCK: spamassassin_settings_max_children -->
            <tr {REQUIRED_SCORE_ERROR}>
                <td class="name"><label for="fid-required_score">[[spamfilter__required_score]]</label>&nbsp;{REQ}</td>
                <td><input type="text" name="prefs[required_score]" id="fid-required_score" value="{REQUIRED_SCORE_VALUE}" size="5" maxlength="5"></td>
            </tr>
            <tr {REWRITE_HEADER_SUBJECT_ERROR}>
                <td class="name"><label for="fid-rewrite_header_subject">[[spamfilter__rewrite_header_subject]]</label></td>
                <td><input type="text" name="prefs[rewrite_header][subject]" id="fid-rewrite_header_subject" value="{REWRITE_HEADER_SUBJECT_VALUE}" size="20" maxlength="50">
                    <div class="hint">[[spamfilter__rewrite_header_subject_hint]]</div>
                </td>
            </tr>
            <!-- BEGIN DYNAMIC BLOCK: spamassassin_settings_reject_spam -->
            <tr>
                <td class="name"><label for="fid-reject_spam">[[spamfilter__reject_spam]]</label></td>
                <td><input type="checkbox" class="checkbox" name="reject_spam" id="fid-reject_spam" value="true" {REJECT_SPAM_CHECKED}></td>
            </tr>
            <!-- END DYNAMIC BLOCK: spamassassin_settings_reject_spam -->
        </table>
    </fieldset>
</div>
<!-- END DYNAMIC BLOCK: spamassassin_settings -->
