[GH-ISSUE #1400] Password reset to backup-mailaddress #485

Closed
opened 2026-02-27 08:17:31 +03:00 by kerem · 2 comments
Owner

Originally created by @JacksonYuuki on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/lldap/lldap/issues/1400

Hi!

I only found out about this tool a few days ago. I configured it with docker-mailserver and roundcube, and it works great for my small group of people!
There's just one thing I can't find in the configuration, documentation or issues section, and I don't know if it just doesn't exist or if there's another way to achieve it.

I configured a mail address for each user, and this field is also used to log in to the mail client. I created another field called "backup-mail", where I entered the email address for the password recovery function.
Is there an option where I can select the field to which the password recovery function sends the reset link?

Originally created by @JacksonYuuki on GitHub (Feb 20, 2026). Original GitHub issue: https://github.com/lldap/lldap/issues/1400 Hi! I only found out about this tool a few days ago. I configured it with docker-mailserver and roundcube, and it works great for my small group of people! There's just one thing I can't find in the configuration, documentation or issues section, and I don't know if it just doesn't exist or if there's another way to achieve it. I configured a mail address for each user, and this field is also used to log in to the mail client. I created another field called "backup-mail", where I entered the email address for the password recovery function. Is there an option where I can select the field to which the password recovery function sends the reset link?
kerem closed this issue 2026-02-27 08:17:31 +03:00
Author
Owner

@nitnelave commented on GitHub (Feb 20, 2026):

No, LLDAP always sends the recovery email to the main email address. You can swap the 2 fields, though: have the main address be the independent address that can be used for recovery, and have a "roundcube-address" field for logging in. You'll need to adjust the roundcube login filters, but that should be doabl.

<!-- gh-comment-id:3930909158 --> @nitnelave commented on GitHub (Feb 20, 2026): No, LLDAP always sends the recovery email to the main email address. You can swap the 2 fields, though: have the main address be the independent address that can be used for recovery, and have a "roundcube-address" field for logging in. You'll need to adjust the roundcube login filters, but that should be doabl.
Author
Owner

@JacksonYuuki commented on GitHub (Feb 20, 2026):

Roundcube is not the only problem. I have to reconfigure Dovecot, and after two hours of testing, I think Postfix also has a problem with the differently named field. Now, I'm getting an error saying that the user is not allowed to send emails from their own address...
I think I'll take the easy way out and not use this feature for resetting passwords.

<!-- gh-comment-id:3931151130 --> @JacksonYuuki commented on GitHub (Feb 20, 2026): Roundcube is not the only problem. I have to reconfigure Dovecot, and after two hours of testing, I think Postfix also has a problem with the differently named field. Now, I'm getting an error saying that the user is not allowed to send emails from their own address... I think I'll take the easy way out and not use this feature for resetting passwords.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#485
No description provided.