Open utterances-bot opened 3 years 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?
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"
I appreciate your input! I moved the entire service to Docker Swarm, worked without issues.
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/