[tor-bugs] #34063 [Internal Services/Services Admin Team]: [RT-admin] Check if spam filter script is running

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 29 21:48:28 UTC 2020


#34063: [RT-admin] Check if spam filter script is running
-------------------------------------------------+-------------------------
     Reporter:  ggus                             |      Owner:  (none)
         Type:  task                             |     Status:  new
     Priority:  Medium                           |  Milestone:
    Component:  Internal Services/Services       |    Version:
  Admin Team                                     |
     Severity:  Normal                           |   Keywords:
Actual Points:                                   |  Parent ID:
       Points:                                   |   Reviewer:
      Sponsor:                                   |
-------------------------------------------------+-------------------------
 According to RT service documentation[1], there are some maintenance
 actions happening like spam training in RT. Since we're receiving a lot of
 spam, we should verify if spam filter is actually running.


 {{{
 Spam training

 Every mail sent to RT is also sent to the rtmailarchive account. This is
 required to be able to train SpamAssassin as it can only learn from
 unaltered email messages.

 A three steps cronjob is run daily.

 ​Step 1: Every mail in Maildir/.help* is checked against the RT. For each
 message, we look up a matching ticket using the Message-Id header. If the
 ticket is in a help* queue and has status resolved, we move it to the ham
 training folder. If the ticket in in the spam queue and has status
 resolved, we move it to the spam training folder. If the file is more than
 100 days old, we delete it.

 Step 2: SpamAssassin is fed with the content of the ham and spam training
 folder. After the process, the message is moved to the corresponding
 learned folder.

 Step 3: Message in the learned folders are deleteed.
 }}}

 [1]
 https://trac.torproject.org/projects/tor/wiki/org/operations/services/rt.torproject.org#Spamtraining

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34063>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list