Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mailer service to simplify config #342

Open
spwoodcock opened this issue Aug 30, 2024 · 0 comments
Open

Add mailer service to simplify config #342

spwoodcock opened this issue Aug 30, 2024 · 0 comments

Comments

@spwoodcock
Copy link
Contributor

Issue

  • Currently we rely on external SMTP providers, such as gmail.
  • This adds an extra step to the setup.

Solution

  • Bundle a simple SMTP service that can be used to send email.
  • Example (added as mail.yml compose file, to make it optional):
version: '3'
services:
  mail:
    image: "ixdotai/smtp:v0.5.2"
    volumes:
      - ./rsa.private:/etc/exim4/dkim.key.temp:ro
    environment:
      - MAILNAME=osmseed.org
      - DKIM_KEY_PATH=/etc/exim4/dkim.key.temp
    restart: unless-stopped

We can simply add an empty file rsa.private file somewhere in the repo to make this work (required by ixdotai/smtp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant