try2codesecure / try2codesecure.github.io

:sparkles: Build a beautiful and simple website in literally minutes. Demo at http://deanattali.com/beautiful-jekyll
http://deanattali.com/beautiful-jekyll
0 stars 0 forks source link

posts/self-hosted-mail-server-with-poste.io-and-nginx/ #1

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Deploy an self hosted mail server with poste.io & nginx proxy | cloudrocket

about poste.io is an fully featured self hosted email server which you can deploy in few minutes (nearly). There’s no magic rocket science in a black box, poste.io consists of bullet proof resilient parts basic setup To easily deploy the mail server follow the documentation on the getting-started page or use an docker-compose template. before you start check that the following DNS dependencies are met: A & CNAME records for mail server - e.

https://www.cloudrocket.at/posts/self-hosted-mail-server-with-poste.io-and-nginx/

adudeinspain commented 8 months ago

Just curious about your code, and I'm grateful you posted it. I am just now trying out poste. I have a similar setup, except my NPM and poste.io docker containers are on different machines. I can receive emails just fine, but I have the error: Your network stack is hiding connection source IP. SMTP server sees IP address 178.248.x.x as x.x.x.2. Mailserver will not work correctly in multiple aspects. I've tried network host mode, still the same response. Do you have any suggestions?

Pastfin commented 8 months ago

It is a mistake in your code: "NGINX_PROXY_PATH/ssl/html/.well-known:/opt/www/.well-known:ro" "ro" means read-only. To pass acme-challenge from letsencrypt you should allow to read-write to this location.

Correct code: "NGINX_PROXY_PATH/ssl/html/.well-known:/opt/www/.well-known"

adudeinspain commented 8 months ago

I appreciate your input! I moved the entire service to Docker Swarm, worked without issues.