1 (edited by simonleung 2025-02-14 10:18:27)

Topic: Failure to Create Mailbox on 2nd Server of iRedMail Cluster

I am building iredmail system with high availability referring to docs.iredmail.org/haproxy.keepalived.glusterfs.htm. After installation and configuration,  I could create a mailbox on the iredamin of first email server with syncing it to second email server. However, I could not create a mail box on the second email server(see attached photo). I have enabled the debug mode of LDAP log on both email serves, but did not find any errors.  The configuration of LDAP on both email servers is as follows. How do I solve the problem?

1st mail server:

/etc/ldap/slapd.conf:

moduleload syncprov
index entryCSN,entryUUID eq
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 200
"/etc/ldap/slapd.conf" 248L, 8807B


2nd mail server:

/etc/ldap/slapd.conf:

syncrepl rid=001
         provider=ldap://mail1:389
         searchbase="dc=example,dc=com"
         bindmethod=simple
         binddn="cn=vmail,dc=example,dc=com"
         credentials=password
         schemachecking=on
         type=refreshOnly
         retry="60 +"
         scope=sub
         interval=00:00:01:00
         attrs="*,+"

Post's attachments

iredadmin2.png
iredadmin2.png 26.15 kb, 1 downloads since 2025-02-13 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: Failure to Create Mailbox on 2nd Server of iRedMail Cluster

I have found the solution on bitbucket.org/jrt10/catatan/src/72d4580e9f602614b62f096e5d2b1e0e977bace1/1-haproxy.keepalived.glusterfs.md?at=master&fileviewer=file-view-default#markdown-header-configure-ldap-replication-master-slave