mail server and nginx proxy

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 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”.

Is that what i need to do? What is “auth_http” in my case, though?

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
May 4, 2020
Accepted Answer

Hi @carnifex,

Let’s start with the unknowns.

  • Auth_http sets the URL of the HTTP authentication serve

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