Compare commits
1 Commits
main
...
fetchmail-
Author | SHA1 | Date | |
---|---|---|---|
3a8bf5519e |
@ -10,7 +10,7 @@ steps:
|
|||||||
from_secret: drone_abra-bot_token
|
from_secret: drone_abra-bot_token
|
||||||
fork: true
|
fork: true
|
||||||
repositories:
|
repositories:
|
||||||
- toolshed/auto-recipes-catalogue-json
|
- coop-cloud/auto-recipes-catalogue-json
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event: tag
|
event: tag
|
||||||
|
@ -31,9 +31,6 @@ TRAEFIK_STACK_NAME=traefik_example_com
|
|||||||
# OPTIONAL SETTINGS #
|
# OPTIONAL SETTINGS #
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# Uncomment this to reënable STARTTLS, although beware the health warnings here: https://nostarttls.secvuln.info/
|
|
||||||
#PORTS=25,80,443,465,993,995,4190,110,143,587
|
|
||||||
|
|
||||||
# Name of the instance, displayed in the web UI
|
# Name of the instance, displayed in the web UI
|
||||||
SITENAME=mymail
|
SITENAME=mymail
|
||||||
|
|
||||||
@ -88,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
|
||||||
@ -119,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
|
||||||
@ -129,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
|
||||||
|
19
README.md
19
README.md
@ -25,28 +25,11 @@ host.
|
|||||||
4. `abra app config YOURAPPDOMAIN` - be sure to change `$WEB_DOMAIN` to something that resolves to
|
4. `abra app config YOURAPPDOMAIN` - be sure to change `$WEB_DOMAIN` to something that resolves to
|
||||||
your Docker swarm box
|
your Docker swarm box
|
||||||
5. `abra app deploy YOURAPPDOMAIN`
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
6. Create initial user:
|
9. Create initial user:
|
||||||
```
|
```
|
||||||
abra app run YOURDOMAIN admin flask mailu admin admin YOURDOMAIN YOURPASSWORD
|
abra app run YOURDOMAIN admin flask mailu admin admin YOURDOMAIN YOURPASSWORD
|
||||||
```
|
```
|
||||||
|
|
||||||
## Upgrading the recipe
|
|
||||||
|
|
||||||
**NOTE** This section is only intended for [recipe maintainers][maintainers]
|
|
||||||
|
|
||||||
Minor/patch updates usually work OK with `abra recipe upgrade` and friends.
|
|
||||||
|
|
||||||
For major updates:
|
|
||||||
|
|
||||||
1. Go to https://setup.mailu.io/ and generate a new config
|
|
||||||
2. Download the new config and compare it to `compose.yml`. Pay attention to:
|
|
||||||
- New / removed services
|
|
||||||
- Added/removed config options
|
|
||||||
- Changes to networking
|
|
||||||
3. Test upgrading from the previous version to the new version
|
|
||||||
4. `abra recipe sync` / `abra recipe release` as normal
|
|
||||||
|
|
||||||
[Mailu]: https://mailu.io/
|
[Mailu]: https://mailu.io/
|
||||||
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||||
[compose-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
[compose-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
||||||
[maintainers]: https://docs.coopcloud.tech/maintainers/
|
|
||||||
|
14
compose.fetchmail.yml
Normal file
14
compose.fetchmail.yml
Normal 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:
|
21
compose.yml
21
compose.yml
@ -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
|
||||||
@ -51,11 +52,10 @@ x-environment:
|
|||||||
- WELCOME_BODY
|
- WELCOME_BODY
|
||||||
- WELCOME_SUBJECT
|
- WELCOME_SUBJECT
|
||||||
- TZ
|
- TZ
|
||||||
- PORTS
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/mailu/nginx:2024.06.27
|
image: ghcr.io/mailu/nginx:2.0.34
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
networks:
|
networks:
|
||||||
@ -96,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=3.0.0+2024.06.27"
|
- "coop-cloud.${STACK_NAME}.version=1.1.0+2.0.34"
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: redis:7.4.1-alpine
|
image: redis:7.2.3-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- "redis:/data"
|
- "redis:/data"
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
image: ghcr.io/mailu/admin:2024.06.27
|
image: ghcr.io/mailu/admin:2.0.34
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
@ -117,7 +117,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
|
|
||||||
imap:
|
imap:
|
||||||
image: ghcr.io/mailu/dovecot:2024.06.27
|
image: ghcr.io/mailu/dovecot:2.0.34
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
@ -131,7 +131,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
image: ghcr.io/mailu/postfix:2024.06.27
|
image: ghcr.io/mailu/postfix:2.0.34
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
@ -143,7 +143,7 @@ services:
|
|||||||
- app
|
- app
|
||||||
|
|
||||||
antispam:
|
antispam:
|
||||||
image: ghcr.io/mailu/rspamd:2024.06.27
|
image: ghcr.io/mailu/rspamd:2.0.34
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
@ -154,8 +154,7 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
webmail:
|
webmail:
|
||||||
image: ghcr.io/mailu/webmail:2024.06.27
|
image: ghcr.io/mailu/webmail:2.0.34
|
||||||
# entrypoint: "tail -f /dev/null"
|
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
@ -169,7 +168,7 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
certdumper:
|
certdumper:
|
||||||
image: ldez/traefik-certs-dumper:v2.9.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} ]
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
ALERTA! 🚨 Mailu has dropped support for STARTTLS by default – see details here: https://mailu.io/2024.06/releases.html#starttls-ports-disabled-by-default
|
|
||||||
|
|
||||||
If you are relying on STARTTLS, e.g. SMTP port 587, please copy the example `PORTS` variable from `~/.abra/recipes/mailu/.env.example` BEFORE deploying.
|
|
Loading…
x
Reference in New Issue
Block a user