Configure fetchmail to use idfile to keep track of messages.

Run fetchmail as root. This is unfortunately required because
all files are owned by root in the mailu data folder.
In the future  we must switch all images to running all
all processes with a non-root user.
This commit is contained in:
Dimitri Huisman
2021-11-10 09:07:03 +00:00
parent 2404cf2e3d
commit 92e65b33e0
2 changed files with 2 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ import traceback
FETCHMAIL = """
fetchmail -N \
--idfile /data/.fetchids \
--idfile /data/.fetchids --uidl \
--sslcertck --sslcertpath /etc/ssl/certs \
-f {}
"""