Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • infrastructure infrastructure
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 113
    • Issues 113
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch Linux
  • infrastructureinfrastructure
  • Merge requests
  • !248

use fetchmail for donor import

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Frederik Schwan requested to merge freswa/infrastructure:fix-donate into master Dec 29, 2020
  • Overview 2
  • Commits 1
  • Pipelines 5
  • Changes 17

The former approach to export a maildir and iterate over it with a script broke when the mail server and the web server got on their own hosts. This will use IMAP IDLE to check for new mails and pass them instantly to the djange manage.py script without storing the mail locally.

Only apply with https://github.com/archlinux/archweb/pull/325

When applied, use fetchmail parameters keep and fetchall for the first run to ensure no error screws up the process.

Edited Dec 29, 2020 by Frederik Schwan
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-donate