Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • N nm.debian.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Debian New Member Process
  • nm.debian.org
  • Issues
  • #14
Closed
Open
Issue created Apr 24, 2020 by Mattia Rizzolo@mattiaOwner

reject mails beloging to closed processes

the archive-process-email script is the thing that processes incoming mails to archive@nm.debian.org (the -XXX part is the "local extension").

To avoid loading the whole of django at each incoming mail, with a non-trivial risk of crashing and therefore losing mails, we should provide an easier way for that script to know what to accept and what not to accept.

The reason to do this is to:

  • "lock" the process at the status when it's closed
  • prevent spam from reaching closed process, since apparently spam mail can arrive several years after a process is closed (!)

I don't see any good reason to mail a closed process, but if there is one please tell me more :) - if there are use cases we might be able to build some kind of whitelist?

A simple enough way would be for the website to write the list of open processes in a file under data/, which would then be consumed by the arcihve-process-email script, and update that list whenever:

  • a process is opened
  • a process is closed

other implementation ideas welcome.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking