stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
3.53k stars 135 forks source link

[bug]: cannot add member to list or group #509

Open clandmeter opened 4 weeks ago

clandmeter commented 4 weeks ago

What happened?

Cannot add member to list or group

How can we reproduce the problem?

trying to add a member by using the web interface

Version

v0.8.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

Internal

What operating system are you using?

Docker

Relevant log output

Trying to add a member results in: Principal does not exist

Code of Conduct

Cornelicorn commented 4 weeks ago

I guess you're trying to add an external mail address, then that's a duplicate of https://github.com/stalwartlabs/mail-server/issues/152

Or is it a local user?

clandmeter commented 4 weeks ago

I guess you're trying to add an external mail address, then that's a duplicate of #152

Or is it a local user?

I tried both Groups and Lists and both local users or remote. I tried usernames or email addresses and both dont work. You can however edit a user and make them a member of a group. I assume Groups and Lists are the same type of entity as I can add the user to both Groups or Lists from the "Member of" function in the account dialog.

I tried to do this from the cli as well but it also resulted in an error.

The only issue that looks similar is #435

clandmeter commented 3 weeks ago

This seems to be related to the account type. If the user is a Superuser the user cannot be added to a group or lists except via the user account dialog.