Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the ROUNDCUBEMAIL_USERNAME_DOMAIN env var #240

Merged
merged 1 commit into from
May 16, 2024

Conversation

Clemenk
Copy link
Contributor

@Clemenk Clemenk commented Mar 6, 2024

Added ROUNDCUBEMAIL_USERNAME_DOMAIN which sets the username_domain config option.

I think this could be useful for people whose mail domain isn't the same as the IMAP server hostname (which is really common).

For example, if the IMAP hostname is mail.example.com and someone tries to connect using only the username, roundcube will autocomplete with mail.example.com for the sender address (instead of example.com). In this case, the email address will be [email protected] instead of [email protected].
If the SMTP server only accepts emails owned by the account, the email will not be sent. It addresses issue #231, which suggests using the mail_domain config option. By the way, I tested the mail_domain option but it only works for new users, that's why I chose to use the username_domain config option.

It could also simplify the login process for people whose mail server only accepts emails as username.

@Clemenk
Copy link
Contributor Author

Clemenk commented Mar 26, 2024

Any thoughts on this? @thomascube

@thomascube thomascube merged commit 52f39a6 into roundcube:master May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants