1 Commits

Author SHA1 Message Date
3a8bf5519e wip: experimental fetchmail support 2023-12-04 16:44:36 +01:00
3 changed files with 28 additions and 11 deletions

View File

@ -85,6 +85,8 @@ RELAYHOST=
# Enable fetchmail # Enable fetchmail
FETCHMAIL_ENABLED=False FETCHMAIL_ENABLED=False
#COMPOSE_FILE="$COMPOSE_FILE:compose.fetchmail.yml"
#FETCHMAIL_ENABLED=True
# Fetchmail delay # Fetchmail delay
FETCHMAIL_DELAY=600 FETCHMAIL_DELAY=600
@ -116,7 +118,7 @@ COMPRESSION_LEVEL=
# Mailman settings # Mailman settings
# NOTE(3wc): remember to also set RELAYNETS # 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_POSTFIX_OVERRIDES=1
#MAILMAN_CORE_VOLUME=lists_example_com_mailman-core #MAILMAN_CORE_VOLUME=lists_example_com_mailman-core
#MAILMAN_CORE_NETWORK=lists_example_com_internal #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 # 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 # 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 # 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 #SENDER_LOGINS_POSTFIX_OVERRIDES=1
SECRET_SECRET_KEY_VERSION=v1 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 - DMARC_RUF
- DOCKER_CONTEXT - DOCKER_CONTEXT
- DOMAIN - DOMAIN
- FETCHMAIL_ENABLED
- FETCHMAIL_DELAY - FETCHMAIL_DELAY
- FULL_TEXT_SEARCH - FULL_TEXT_SEARCH
- HOSTNAMES - HOSTNAMES
@ -54,7 +55,7 @@ x-environment:
services: services:
app: app:
image: ghcr.io/mailu/nginx:2.0.41 image: ghcr.io/mailu/nginx:2.0.34
logging: logging:
driver: json-file driver: json-file
networks: networks:
@ -95,15 +96,15 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "coop-cloud.${STACK_NAME}.version=1.1.1+2.0.41" - "coop-cloud.${STACK_NAME}.version=1.1.0+2.0.34"
db: db:
image: redis:7.2.4-alpine image: redis:7.2.3-alpine
volumes: volumes:
- "redis:/data" - "redis:/data"
admin: admin:
image: ghcr.io/mailu/admin:2.0.41 image: ghcr.io/mailu/admin:2.0.34
environment: *default-env environment: *default-env
healthcheck: healthcheck:
disable: true disable: true
@ -116,7 +117,7 @@ services:
- default - default
imap: imap:
image: ghcr.io/mailu/dovecot:2.0.41 image: ghcr.io/mailu/dovecot:2.0.34
environment: *default-env environment: *default-env
secrets: secrets:
- secret_key - secret_key
@ -130,7 +131,7 @@ services:
- default - default
smtp: smtp:
image: ghcr.io/mailu/postfix:2.0.41 image: ghcr.io/mailu/postfix:2.0.34
environment: *default-env environment: *default-env
secrets: secrets:
- secret_key - secret_key
@ -142,7 +143,7 @@ services:
- app - app
antispam: antispam:
image: ghcr.io/mailu/rspamd:2.0.41 image: ghcr.io/mailu/rspamd:2.0.34
environment: *default-env environment: *default-env
secrets: secrets:
- secret_key - secret_key
@ -153,7 +154,7 @@ services:
disable: true disable: true
webmail: webmail:
image: ghcr.io/mailu/webmail:2.0.41 image: ghcr.io/mailu/webmail:2.0.34
environment: *default-env environment: *default-env
networks: networks:
- default - default
@ -167,7 +168,7 @@ services:
disable: true disable: true
certdumper: certdumper:
image: ldez/traefik-certs-dumper:v2.8.3 image: ldez/traefik-certs-dumper:v2.8.1
entrypoint: sh -c ' entrypoint: sh -c '
apk add jq apk add jq
; while ! [ -e /traefik/${ACME_JSON} ] ; while ! [ -e /traefik/${ACME_JSON} ]