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

Using letsencrypt key and cert instead of iRedMail.key and iRedMail.crt #39

Closed
martin-jamszolik opened this issue Jun 22, 2018 · 1 comment

Comments

@martin-jamszolik
Copy link

Hello,
This is more of a question then an issue. I would like to upgrade to the latest lejmr/iredmail 0.9.8 Version, but I noticed a lot of development around generating certificates etc... I was wondering if the following would still work for me if I upgrade?

docker run -dit --restart always --privileged -p 80:80 -p 443:443 -p 25:25 -p 587:587 -p 993:993  \   
     #snip#   
           -v /opt/docker-volumes/iredmail/mysql:/var/lib/mysql \
           -v /opt/docker-volumes/iredmail/vmail:/var/vmail \
           -v /opt/docker-volumes/iredmail/clamav:/var/lib/clamav \
           -v /etc/letsencrypt/live/mail.example.com/privkey.pem:/etc/ssl/private/iRedMail.key:ro \
           -v /etc/letsencrypt/live/mail.example.com/fullchain.pem:/etc/ssl/certs/iRedMail.crt:ro \
           --name=iredmail lejmr/iredmail:mysql-latest

Overall, thank you for this project and everyone's contribution. It has been really helpful.

@lejmr
Copy link
Owner

lejmr commented Jun 26, 2018

Oh yes, this is still valid configuration. The new development was around the moment these files are not present in the container, so they are generate ad-hoc.. In other words, if you mount your certs into the container, your ad-hoc certificates are not generated.

@lejmr lejmr closed this as completed Jun 26, 2018
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

2 participants