https://github.com/lldap/lldap logo
Dave A68 - Hello, I doubt that this is an lldap...
# troubleshooting
d
Hello, I doubt that this is an lldap specific issue, but am posting here in case someone has experience/seen a similar issue. I am using Docker Mailserver. Users authenticate with LLDAP. Everything was working fine until I setup an email account to send email from Nextcloud and integrated Nextcloud with LLDAP. I got nextcloud to send a test email - this appears to have removed my mailboxes and stopped them from receiving email from any source other than Nextcloud. This is the error message from my logs:
Recipient address rejected: User unknown in virtual mailbox table; from=<prvs=52072ff83d=david@xyz.com> to=<xxxx@recognition-circular.org> proto=ESMTP helo=<mx07-0060ad01.pphosted.com>
If I do a
./setup.sh email list
, all the accounts now look like this: Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota 2025-04-22 15:03:32+02:00 ERROR listmailuser: Supplied non-number argument '' to '_bytes_to_human_readable_size()' 2025-04-22 15:03:32+02:00 ERROR listmailuser: Aborting 2025-04-22 15:03:32+02:00 ERROR listmailuser: Supplied non-number argument '' to '_bytes_to_human_readable_size()' 2025-04-22 15:03:32+02:00 ERROR listmailuser: Aborting *
cloud@recognition-circular.org
( / ) [%] Apart from the Nextcloud integration nothing has changed with my mailserver config or my lldap config. Maybe a longshot, but has anyone experienced something similar?
a
message has been deleted
n
(just to confirm, this doesn't seem to have anything to do with LLDAP)
d
Thought that might be the case, but thanks for the confirmation
I have managed to resolve the issue. I thought it might be worth mentioning that it was indirectly related to lldap. Basically, LDAP provisioning is not supported in Dovecot (or at least not fully), so changing ACCOUNT_PROVISIONER=LDAP to ACCOUNT_PROVISIONER=FILE fixed the issue. It might be worth updating this page to reflect that - https://github.com/lldap/lldap/blob/main/example_configs/mailserver.md
n
Sounds good! Do you want to send a PR to update it?
d
Ok - I've done that - hopefully that's ok.