afterlogic / webmail-lite-8

Open-source webmail script for existing IMAP server

Home Page:https://afterlogic.org/webmail-lite-8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get messages error

maltboy opened this issue · comments

Hi,afterlogic-support
Use Obtains message list for specified account and folder.
I receive the following error.
Unknown error. (TAG6 BAD Invalid UID command: 'SORT' Command should be ' UID |||').
I tried to use UID sorting, the result still prompts the error, please help me, thanks!

So are you saying the issue only occurs for a particular account? That looks like an issue with mailserver, can you post the debug logs here? You can also send us the account details via HelpDesk so we can check what's going on there; and though WebMail Lite doesn't come with guaranteed free support from Afterlogic, we would still like to take a look.

1
2
3

This is a screenshot of the run.I did not find relevant information on the log.
The problem appears in this type of mailbox, and other functions are normal. When it is installed in the list of messages, it prompts that the sort field is wrong.

I'm afraid that's not enough information to provide any insight. We'll need either logs or the account credentials. Thanks.

This is a test mailbox.
@.com
password:***
You can use it for testing.
thanks!

Thank you. We've removed the credentials from the post for privacy reasons.
Can you please also provide IMAP host you're connecting to? Thanks.

This is the configuration information.

I hope you can tell me the test results and provide solutions.

Thank you.

imap:s18.cn4e.com port:993 SSL

smap: s18.cn4e.com port:465 SSL

Thanks. It looks like IMAP server you use advertises SORT extension but doesn't provide correct support for it. To work around that, locate the following section in data/settings/modules/Mail.config.json configuration file:

"MessagesSortBy": [
	{
		"Allow": true,
		"List": [],
		"DefaultSortBy": "arrival",
		"DefaultSortOrder": "desc"
	},
	"array"
],

and set "Allow" to false there.

Hope this helps.

Thank you. If it is changed to false, does it mean that the sorting function is disabled?
Will it affect my normal sort function.

By default, WebMail only sorts mail messages by date in reverse order. It's possible to configure message sorting but that requires IMAP SORT to work properly - which apparently isn't the case, so turning sorting off seems to be the only viable approach. If you wish to use sorting on that server, consider contacting email service provider in this regard.