mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Re-enable the built-in nginx resolver for traffic going through the mail plugin.
This is required for passing rDNS/ptr information to postfix. The mail proxy uses the resolver info for passing XCLIENT info. See http://nginx.org/en/docs/mail/ngx_mail_proxy_module.html#xclient Without this info rspamd will flag all messages with DHFILTER_HOSTNAME_UNKNOWN due to the missing rDNS/ptr info.
This commit is contained in:
parent
519ef804a7
commit
4b491d9de5
@ -277,6 +277,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;
|
||||
error_log /dev/stderr info;
|
||||
|
||||
{% if TLS and not TLS_ERROR %}
|
||||
|
3
towncrier/newsfragments/2368.bugfix
Normal file
3
towncrier/newsfragments/2368.bugfix
Normal file
@ -0,0 +1,3 @@
|
||||
Re-enable the built-in nginx resolver for traffic going through the mail plugin.
|
||||
This is required for passing rDNS/ptr information to postfix.
|
||||
Without this rspamd will flag all messages with DHFILTER_HOSTNAME_UNKNOWN due to the missing rDNS/ptr info.
|
Loading…
Reference in New Issue
Block a user