Skip to content

Commit

Permalink
get rid of simple-mail-relay, as it stopped working and seems to be a…
Browse files Browse the repository at this point in the history
…bandoned
  • Loading branch information
knipknap committed Aug 12, 2023
1 parent 126a61b commit f3aa485
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ What you'll have when you are done:
| https://​traefik.yourdomain.com | [Traefik](https://github.com/containous/traefik/) | The automatic reverse proxy, including its admin UI. [Lets Encrypt](https://letsencrypt.org/) will automatically create SSL certificates for you
| https://​swarmpit.yourdomain.com | [Swarmpit](https://github.com/swarmpit/swarmpit) | Manage your swarm and monitor resources (using influxdb)
| https://​keycloak.yourdomain.com | [Keycloak](https://github.com/keycloak/keycloak) | SSO server
| https://​mail.yourdomain.com:25 | [Postfix](https://github.com/knipknap/docker-simple-mail-forwarder) | An SMTP server to forward emails to you
| https://&#8203;mail.yourdomain.com:487 | [Postfix](https://github.com/knipknap/docker-simple-mail-forwarder) (TLS) | An SMTPS server to forward emails to you.<br/>$\textcolor{red}{\text{This service doesn't work!}}$<br/>While I managed to make this accept TLS connections, it doesn't fully work; I suspect a problem related to TLS options such as renegotiation. If you figure this out, please let me know.
| https://&#8203;gateone.yourdomain.com | [GateOne](https://github.com/liftoff/GateOne) | An HTTPS based SSH client
| https://&#8203;droppy.yourdomain.com | [Droppy](https://github.com/silverwind/droppy) | File storage server with a web interface
| https://&#8203;web.yourdomain.com | [nginx](https://www.nginx.com/) | Webserver to serve public files uploaded using Droppy
Expand Down
36 changes: 0 additions & 36 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,40 +149,6 @@ services:
- traefik.http.services.gateone.loadbalancer.server.port=8000
- traefik.http.services.gateone.loadbalancer.server.scheme=https

mail_relay:
image: zixia/simple-mail-forwarder:1.4
networks:
- traefik-public
# Putting this on network default because I couldn't get TLS to work through traefik
- default
volumes:
- mail-relay:/var/db/dkim/
deploy:
placement:
constraints:
- node.role == manager
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
# SMTP unencrypted
- traefik.tcp.routers.mail_relay.rule=HostSNI(`*`)
- traefik.tcp.routers.mail_relay.entrypoints=smtp
- traefik.tcp.routers.mail_relay.service=mail_relay
- traefik.tcp.services.mail_relay.loadbalancer.server.port=25
# SMTP-TLS
- traefik.tcp.routers.mail_relay_tls.tls=true
- traefik.tcp.routers.mail_relay_tls.tls.certresolver=le
- traefik.tcp.routers.mail_relay_tls.rule=HostSNI(`mail.${DOMAIN?Variable not set}`)
- traefik.tcp.routers.mail_relay_tls.entrypoints=smtptls
- traefik.tcp.routers.mail_relay_tls.service=mail_relay
- traefik.tcp.services.mail_relay_tls.loadbalancer.server.port=25
environment:
- SMF_CONFIG=${SMF_CONFIG?Variable not set}
- SMF_DOMAIN=${DOMAIN?Variable not set}
- SMF_POSTFIXMAIN_myhostname=mail.${DOMAIN?Variable not set}
- SMF_POSTFIXMAIN_smtpd_recipient_restrictions=permit_sasl_authenticated,reject

swarmpit:
image: swarmpit/swarmpit:latest
environment:
Expand Down Expand Up @@ -397,8 +363,6 @@ volumes:
db-data:
driver: local

mail-relay:

influx-data:
driver: local

Expand Down

0 comments on commit f3aa485

Please sign in to comment.