From 48d736feefd75f2315cbeb044a400c21a4501281 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Mon, 4 Dec 2017 20:28:54 +0100 Subject: [PATCH] Configure a resolver for the mail server to populate xclient hostnames --- core/nginx/conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index 96a0458d..70bd87c4 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -141,6 +141,7 @@ mail { server_name {{ HOSTNAMES.split(",")[0] }}; auth_http http://127.0.0.1:8000/auth/email; proxy_pass_error_message on; + resolver {{ RESOLVER }} valid=30s; {% if TLS and not TLS_ERROR %} include /etc/nginx/tls.conf;