-
What happened?In the case MySQL as storage backend and the authentication directory, when a user is assigned a primary address and an alias address through the database, the Stalwart seems to display the alias as the primary address and the primary address as the alias. This seems more like a display/cosmetic problem, not affecting real login/usage though. How can we reproduce the problem?
DB Schema: Relevant data entries: Stalwart admin portal: Versionv0.11.x What database are you using?mySQL What blob storage are you using?mySQL Where is your directory located?SQL What operating system are you using?Linux Relevant log outputCode of Conduct
|
Beta Was this translation helpful? Give feedback.
Answered by
andreymal
Jan 23, 2025
Replies: 1 comment 3 replies
-
Please provide the SQL queries you are currently using to obtain account details and email addresses. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well,
ORDER BY address ASC
obviously moves@example.com
before[email protected]
The documentation suggests
ORDER BY type DESC, address ASC
(but personally I'd replace the
type
column with a numeric column for ordering)