mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-05-04 12:26:02 +02:00
8decc2e977
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.
2 lines
141 B
Django/Jinja
2 lines
141 B
Django/Jinja
fetchmail ALL=(patchwork) NOPASSWD: /usr/bin/env PW_PYTHON={{ patchwork_dir }}/env/bin/python {{ patchwork_dir }}/patchwork/bin/parsemail.sh
|