Boss, help me!
Mailcow backend tests the connection, and the connection is normal.
Connection successful
My setup is

My openldap structure is
root@mail:~# ldapsearch -x -b “dc=amelia,dc=xyz” -s sub “(objectClass=*)”
extended LDIF
#
LDAPv3
base <dc=amelia,dc=xyz> with scope subtree
filter: (objectClass=*)
requesting: ALL
#
amelia.xyz
dn: dc=amelia,dc=xyz
objectClass: top
objectClass: dcObject
objectClass: organization
o: amelia.xyz
dc: amelia
users, amelia.xyz
dn: ou=users,dc=amelia,dc=xyz
objectClass: organizationalUnit
ou: users
user1, users, amelia.xyz
dn: uid=user1,ou=users,dc=amelia,dc=xyz
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: user1
cn: User One
sn: One
uidNumber: 1000
gidNumber: 1000
homeDirectory: /home/user1
loginShell: /bin/bash
mail: user1@amelia.xyz
admin, amelia.xyz
dn: cn=admin,dc=amelia,dc=xyz
objectClass: organizationalRole
objectClass: simpleSecurityObject
cn: admin
search result
search: 2
result: 0 Success
numResponses: 5
numEntries: 4
But the login fails, the username without the email suffix does not work, and the username with the suffix does not work either
I can’t see it in the logs, I can only see the database query. It’s so annoying, I’ve been working on it for an entire afternoon