1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/fetchmail/templates/fetchmailrc.j2
Frederik Schwan 8decc2e977
use fetchmail for donor import
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.
2020-12-30 21:33:28 +01:00

14 lines
330 B
Django/Jinja

set postmaster "postmaster@archlinux.org"
set bouncemail
set no spambounce
set daemon 10
set syslog
poll mail.archlinux.org
bad-header accept
proto imap
user {{ fetchmail_user }}
password {{ fetchmail_password }}
options idle sslcertck ssl sslproto "TLS1.2+" limitflush limit 25000000 fetchall
mda "{{ fetchmail_delivery_cmd }}"