wip: experimental fetchmail support

This commit is contained in:
knoflook 2023-12-04 16:44:36 +01:00
parent 976b85b701
commit 3a8bf5519e
3 changed files with 19 additions and 2 deletions

View File

@ -85,6 +85,8 @@ RELAYHOST=
# Enable fetchmail
FETCHMAIL_ENABLED=False
#COMPOSE_FILE="$COMPOSE_FILE:compose.fetchmail.yml"
#FETCHMAIL_ENABLED=True
# Fetchmail delay
FETCHMAIL_DELAY=600
@ -116,7 +118,7 @@ COMPRESSION_LEVEL=
# Mailman settings
# NOTE(3wc): remember to also set RELAYNETS
#COMPOSE_FILE="compose.yml:compose.mailman.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.mailman.yml"
#MAILMAN_POSTFIX_OVERRIDES=1
#MAILMAN_CORE_VOLUME=lists_example_com_mailman-core
#MAILMAN_CORE_NETWORK=lists_example_com_internal
@ -126,7 +128,7 @@ COMPRESSION_LEVEL=
# return-path: https://www.rubydoc.info/gems/actionmailer-rack-upgrade-2/2.3.15/ActionMailer/Base
# logins and MAIL FROM ownership: http://www.postfix.com/postconf.5.html#smtpd_relay_restrictions
# there is an open ticket with a further discussion also https://github.com/Mailu/Mailu/issues/1096
#COMPOSE_FILE="compose.yml:compose.senderlogins.yml"
#COMPOSE_FILE="$COMPOSE_FILE:compose.senderlogins.yml"
#SENDER_LOGINS_POSTFIX_OVERRIDES=1
SECRET_SECRET_KEY_VERSION=v1

14
compose.fetchmail.yml Normal file
View File

@ -0,0 +1,14 @@
services:
fetchmail:
image: ghcr.io/mailu/fetchmail:2.0.34
environment: *default-env
volumes:
- "fetchmail:/data"
depends_on:
- app
networks:
- default
volumes:
fetchmail:

View File

@ -18,6 +18,7 @@ x-environment:
- DMARC_RUF
- DOCKER_CONTEXT
- DOMAIN
- FETCHMAIL_ENABLED
- FETCHMAIL_DELAY
- FULL_TEXT_SEARCH
- HOSTNAMES