Topic: Connection via SOGo failing
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Centos
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi I am having problems to correspond to an email account via Outlook/ ActiveSync. The nginx error log lists:
2021/10/13 20:32:59 [error] 1348#1348: *253072 upstream prematurely closed connection while reading response header from upstream, client: 79.199.210.22, server: _, request: "POST /Microsoft-Server-ActiveSync?Cmd=Sync&User=jan@mydomain.com&DeviceId=7F46BB417B454B4386303A7DE41371BB&DeviceType=WindowsOutlook15 HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/Microsoft-S … sOutlook15", host: "mail.mydomain.com"
every time I try to connect. I had one issue where iredmail triggered fail2ban which I solved via unban. The connect via IMAP works. Yum update resolves in no new packages, so everything is in current state.
I can also not start the iredamin service:
sudo systemctl status iredadmin
● iredadmin.service - iRedAdmin daemon service
Loaded: loaded (/usr/lib/systemd/system/iredadmin.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2021-10-13 21:49:45 CEST; 6s ago
Process: 3809 ExecStopPost=/usr/bin/rm -rf /var/run/iredadmin (code=exited, status=0/SUCCESS)
Process: 3806 ExecStart=/usr/sbin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/iredadmin/iredadmin.pid (code=exited, status=1/FAILURE)
Process: 3803 ExecStartPre=/usr/bin/chmod 0755 /var/run/iredadmin (code=exited, status=0/SUCCESS)
Process: 3799 ExecStartPre=/usr/bin/chown iredadmin:iredadmin /var/run/iredadmin (code=exited, status=0/SUCCESS)
Process: 3798 ExecStartPre=/usr/bin/mkdir /var/run/iredadmin (code=exited, status=0/SUCCESS)
Main PID: 3806 (code=exited, status=1/FAILURE)
Oct 13 21:49:45 mydomain.org systemd[1]: Starting iRedAdmin daemon service...
Oct 13 21:49:45 mydomain.org systemd[1]: Started iRedAdmin daemon service.
Oct 13 21:49:45 mydomain.org uwsgi[3806]: realpath() of /opt/www/iredadmin/rc_scripts/uwsgi/rhel.ini failed: No such file or directory [core/utils.c line 3654]
Oct 13 21:49:45 mydomain.org systemd[1]: iredadmin.service: main process exited, code=exited, status=1/FAILURE
Oct 13 21:49:45 mydomain.org systemd[1]: Unit iredadmin.service entered failed state.
Oct 13 21:49:45 mydomain.org systemd[1]: iredadmin.service failed.
What can I do to fix this? Thx Jan
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.