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

Is there any docker compose environment for mail server #141

Open
vinkvii opened this issue Apr 28, 2020 · 7 comments
Open

Is there any docker compose environment for mail server #141

vinkvii opened this issue Apr 28, 2020 · 7 comments

Comments

@vinkvii
Copy link

vinkvii commented Apr 28, 2020

Hi
I was looking to setup this mail server in docker. Do we have any plan to document it.

Thanks

@ladar
Copy link
Member

ladar commented May 1, 2020

@Vinkal I started the robox project to create VMs / containers for just that purpose. And while I've gotten the VMs working (mostly), they are currently designed to spin up a sandbox/dev/test environment, and not a production install. And while I've been building the docker images for awhile, I haven't tested/finished them. There are a couple of tweaks that are missing to get it working, like detecting/starting the dependent services. And most importantly either a Q/A install script (see #132) for configuration and/or sample Dockerfiles showing how to do the same.

If you took on the task, I'd welcome a pull request.

@ladar
Copy link
Member

ladar commented May 1, 2020

There is another unoffical magma container besides the lavabit one, which might work better for you.

@robrecord
Copy link

robrecord commented Feb 16, 2022

There is another unoffical magma container besides the lavabit one, which might work better for you.

Can you report on which one that is, please?

Is it this one? https://github.com/ba0f3/docker-magma/

@ladar
Copy link
Member

ladar commented Mar 31, 2022

Hi @robrecord @Vinkal ... I'd always intended to go back and improve the images pushed to Docker Hub and Quay for Magma. But I don't use containers all that much (I prefer VMs for what I typically need) so I never acquired the skills to make the obvious improvements.

With that, those images are generated from scratch (install media), every 1 to 3 weeks as part of the Roboxes project. Which means if you have the skills, please submit a pull request that repo with the changes need to make the container images more useful.

Notable things I haven't looked into, are how to launch the MySQL, memcached, and Postfix daemons automatically, whenver a container image is launched/resumed.

I also figured I'd follow the pattern used by the Robox VM images for magma, automatically build magma, and run the unit tests a starting point. But I wanted, long term, if it was possible to create a simple setup script that queries the user for info, so they can easily get it setup for their own domain, etc. But again, I don't know to do that, and have never found the time to learn.

@Lrss
Copy link

Lrss commented Mar 31, 2022

When you say "queries the user for info", do you mean something like Mailu's interactive setup webpage?

@ladar
Copy link
Member

ladar commented Mar 31, 2022

Like I said, I don;t have experience with what users expect in the world of Docker. Having to access a web page seems tricky. I was actually thinking it would create a shell connection, and run a Bash or Python script to ask the user some basic questions, like their domain name, password etc.

@Lrss
Copy link

Lrss commented Mar 31, 2022

The way Mailu does is definitely a novelty way of doing it. The conventional way is to set environmental variables directly in the docker-compose.yml, for projects with few settings. And in more customizable projects (as this one) it is preferred to declare it in a separate .env-file.

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

No branches or pull requests

4 participants