Hi, I’m trying to set up a mail server.
Everything seems to work fine so far, but I’m stuck at the end of step 4 now. Checking the port with “telnet example.com 993” fails. I’ve figured out this is most probably because I’m using nginx as a proxy.
How do i need to set up nginx.conf to make this work?
In the nginx documentation you can find “Configuring NGINX as a Mail Proxy Server”. https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/
Is that what i need to do? What is “auth_http” in my case, though?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hi @carnifex,
Let’s start with the unknowns.
In your case Auth_http should just be ‘localhost’ as you’ll be using your server for the authentications.
Additionally, make sure you have access to the 993 port and that something is actually listening on it. You can do that with the command
netstat -tulpen | grep 993
If nothing is listening on the port, then you’ll need to configure it in your Postfix service.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.