mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
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.
14 lines
330 B
Django/Jinja
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 }}"
|