From c1ab197ea66d56ff3ee6470da391d76382bdcd9e Mon Sep 17 00:00:00 2001 From: carazzim0 Date: Thu, 16 Feb 2017 14:30:09 +0100 Subject: [PATCH 1/3] fix broken autodiscover --- data/web/autodiscover.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/web/autodiscover.php b/data/web/autodiscover.php index 6651ef34..d729306f 100644 --- a/data/web/autodiscover.php +++ b/data/web/autodiscover.php @@ -1,4 +1,7 @@ + 'yes', From b0d8f6cd469bb3beb05ad899fb1e172a53151803 Mon Sep 17 00:00:00 2001 From: carazzim0 Date: Thu, 16 Feb 2017 19:55:04 +0100 Subject: [PATCH 2/3] add static address for nginx --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 34b917f6..26c78fdf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -222,6 +222,7 @@ services: restart: always networks: mailcow-network: + ipv4_address: 172.22.1.251 aliases: - nginx From d295435cad0381f08fe92ced9589ad9a5bfe253d Mon Sep 17 00:00:00 2001 From: carazzim0 Date: Thu, 16 Feb 2017 19:55:07 +0100 Subject: [PATCH 3/3] use ip address instead of alias name --- data/conf/rspamd/lua/rspamd.local.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/conf/rspamd/lua/rspamd.local.lua b/data/conf/rspamd/lua/rspamd.local.lua index 0d74e9d0..341046d4 100644 --- a/data/conf/rspamd/lua/rspamd.local.lua +++ b/data/conf/rspamd/lua/rspamd.local.lua @@ -12,13 +12,13 @@ rspamd_config.MAILCOW_MOO = function (task) end local modify_subject_map = rspamd_config:add_map({ - url = 'http://nginx:8081/tags.php', + url = 'http://172.22.1.251:8081/tags.php', type = 'map', description = 'Map of users to use subject tags for' }) local auth_domain_map = rspamd_config:add_map({ - url = 'http://nginx:8081/authoritative.php', + url = 'http://172.22.1.251:8081/authoritative.php', type = 'map', description = 'Map of domains we are authoritative for' })