1

Topic: Outlook cannot synchronize subscribed folders

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Users getting "Synchronizing subscribed folders for [user@domain] reported error (0x800CCC0E): 'Outlook cannot synchronize subscribed folders for [user@domain]. Error: cannot connect to the server."

No user can connect to the IMAP server, however, I can ping the server, ssh works as well.  Can't see error messages in the postfix, dovecot or in the system log files, top shows no load issues.

Rebooting the server quickly fixes the issue.

It is happening randomly, there are days (weeks) passes without errors.

MySQL backend.
/etc/iredmail-release:  0.9.5-1
uname -a: OpenBSD [hostname.doamin.name] 5.9 GENERIC.MP#1888 amd64

Can I suspect a database issue?

Any hints?

Regards,

Ioan

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Outlook cannot synchronize subscribed folders

It sounds like a firewall issue caused by Fail2ban, but with default iRedMail settings, OpenBSD doesn't run fail2ban at all. Do you have Fail2ban running on this OpenBSD server?

3

Re: Outlook cannot synchronize subscribed folders

ZhangHuangbin wrote:

It sounds like a firewall issue caused by Fail2ban, but with default iRedMail settings, OpenBSD doesn't run fail2ban at all. Do you have Fail2ban running on this OpenBSD server?

No, no firewall (pf or Fail2ba, or otherwise) is running on the box.  The firewall is managed by the ISP.

bash-4.3# pfctl -sr

bash-4.3# pfctl -ss

bash-4.3# pfctl -sa | grep Status
Status: Disabled                                 Debug: err

bash-4.3# pfctl -sa
FILTER RULES:

INFO:
Status: Disabled                                 Debug: err

State Table                          Total             Rate
  current entries                        0               
  searches                               0            0.0/s
  inserts                                0            0.0/s
  removals                               0            0.0/s
Counters
  match                                  0            0.0/s
  bad-offset                             0            0.0/s
  fragment                               0            0.0/s
  short                                  0            0.0/s
  normalize                              0            0.0/s
  memory                                 0            0.0/s
  bad-timestamp                          0            0.0/s
  congestion                             0            0.0/s
  ip-option                              0            0.0/s
  proto-cksum                            0            0.0/s
  state-mismatch                         0            0.0/s
  state-insert                           0            0.0/s
  state-limit                            0            0.0/s
  src-limit                              0            0.0/s
  synproxy                               0            0.0/s
  translate                              0            0.0/s
  no-route                               0            0.0/s

TIMEOUTS:
tcp.first                   120s
tcp.opening                  30s
tcp.established           86400s
tcp.closing                 900s
tcp.finwait                  45s
tcp.closed                   90s
tcp.tsdiff                   30s
udp.first                    60s
udp.single                   30s
udp.multiple                 60s
icmp.first                   20s
icmp.error                   10s
other.first                  60s
other.single                 30s
other.multiple               60s
frag                         60s
interval                     10s
adaptive.start             6000 states
adaptive.end              12000 states
src.track                     0s

LIMITS:
states        hard limit    10000
src-nodes     hard limit    10000
frags         hard limit     1536
tables        hard limit     1000
table-entries hard limit   200000

Regards,

Ioan

4

Re: Outlook cannot synchronize subscribed folders

inemes wrote:

Rebooting the server quickly fixes the issue.

It doesn't make much sense to me.

- If rebooting fixes the issue, it might be a firewall issue. But you don't fail2ban + pf on box.
- If it's a software issue, Dovecot or SOGo (if your outlook is configured to use ActiveSync) should have some log.

Question: do you configure Outlook to access mailbox via IMAP protocol or ActiveSync?