  accept  authenticated = *

    ################
    # Do some proper spam scanning and add on the score...
    #
    # We need to do some work here to feedback to the autowhitelister
    # such that any POSITIVE feeback given earlier by dint of being repeated email
    # is turned to NEGATIVE feedback here if it turns out to still be spam
  warn 
    condition = ${if and { {< {$message_size}{EASY_SPAMASSASSIN_MAX_SIZE}} { <{$acl_m_easy69}{EASY_LIMIT}}}{1}{0}}
    spam = $acl_m_spam_user:true/defer_ok
    set acl_m_easy69 = ${eval:$acl_m_easy69 + $spam_score_int}
    add_header = X-Spam-Score: $spam_score ($spam_bar)
    add_header = X-Spam-Report: $spam_report
    set acl_m_spam_assassin_has_run = 1

  warn
    spam = $acl_m_spam_user/defer_ok
    set acl_m_spam_subject = ${perl{get_spam_subject}}
    add_header = Subject:$acl_m_spam_subject$h_Subject:
    add_header = X-Spam-Status: Yes, score=$spam_score, +EASY_IS_SPAM total spam score
    set acl_m_easy69 = ${eval:$acl_m_easy69 + EASY_IS_SPAM}

  drop
    spam = $acl_m_spam_user/defer_ok
    set acl_m_high_score_drop = ${perl{get_spam_high_score_drop}}
    logwrite = ESF score is $spam_score_int / $acl_m_high_score_drop
    condition = ${if >={$spam_score_int}{$acl_m_high_score_drop}}
    message = High scoring spam message has been dropped
    logwrite = drop message based on users high-scoring-spam setting ($spam_score_int >= $acl_m_high_score_drop)

  warn
    add_header = SpamTally: Final spam score: $acl_m_easy69

  drop
    condition = ${if >{$acl_m_easy69}{EASY_HIGH_SCORE_DROP}{1}{0}}
    message = Your message was classified as SPAM.  Please add more content, cut down on HTML links, use fewer naughty words etc.  Also, ask your IT dept to make sure your mailserver has REVERSEDNS, SPF and is not on any black lists. Your score: $acl_m_easy69

