Topic: ActiveSync: nginx upstream connection refused
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2021020901 (Backend: mariadb, Date: 2021-02-10 13:36:19) iRedMail Easy
- Linux/BSD distribution name and version: Ubuntu 20.04
- Web server (Apache or Nginx): nginx
====
Hi,
my nginx error.log is full of this:
2021/02/19 07:38:33 [error] 8212#8212: *263183 connect() failed (111: Connection refused) while connecting to upstream, client: 84.189.x.y, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser@example.com&DeviceId=FFBC9B4AB6BA4D61BAD05DFF6405AFA1&DeviceType=WindowsOutlook15 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=testuser@example.com&DeviceId=FFBC9B4AB6BA4D61BAD05DFF6405AFA1&DeviceType=WindowsOutlook15", host: "mail.example.com"
2021/02/19 07:38:33 [error] 8212#8212: *264154 connect() failed (111: Connection refused) while connecting to upstream, client: 84.189.x.y, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=testuser@example.com&DeviceId=FFBC9B4AB6BA4D61BAD05DFF6405AFA1&DeviceType=WindowsOutlook15 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=testuser@example.com&DeviceId=FFBC9B4AB6BA4D61BAD05DFF6405AFA1&DeviceType=WindowsOutlook15", host: "mail.example.com"
2021/02/19 07:38:33 [error] 8212#8212: *264154 connect() failed (111: Connection refused) while connecting to upstream, client: 84.189.x.y, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=testuser@example.com&DeviceId=FFBC9B4AB6BA4D61BAD05DFF6405AFA1&DeviceType=WindowsOutlook15 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=testuser@example.com&DeviceId=FFBC9B4AB6BA4D61BAD05DFF6405AFA1&DeviceType=WindowsOutlook15", host: "mail.example.com"
The client is Outlook 2016. Any idea what is causing this?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.