Replies: 1 comment 2 replies
-
Hi, Try using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I cannot log into my test server over IMAP configured with a postgresql database. I changed config.toml as follows:
The queries have been left as default:
And finally set "sql" to be used:
The database has been created with the recommended layout:
I suppose that the role used by Stalwart does not require privileges to modify it.
When I try to log in, I get the following error:
WARN directory: SQL directory error context="directory" event="error" protocol="sql" reason=error returned from database: syntax error at or near "AND"
So far I could not find the issue. The queries look valid to me. Setting log level to trace also does not show more information directly related to it. Is there any way to log the queries? Did I miss something obvious?
Should users log in with their name or their email address?
Beta Was this translation helpful? Give feedback.
All reactions