Roundcube Community Forum

 

add all users

Started by BlScOfDe, September 12, 2023, 07:49:07 AM

Previous topic - Next topic

BlScOfDe

Hello,

my setup is a Mailu 2.0 https://mailu.io/2.0/ installation with Roundcube as webmail.

I'd like to migriate some mail users to the system and add some data to roundcube users after the migration, but at that point no roundcube users exist yet. I also can't wait for them to login in order to create a roundcube user.

So does anyone know a way to initially create a roundcube user for all mail users?
If inecessary user passwords can be aquired (i'd rather not :D)




BlScOfDe

It looks like i can just create the users in the users table with their email address and leave "preferences" empty (NULL). That field will be filled with the client_hash upon the first login of the users.
But in the meantime i have a user / an user id i can work with.

That looks like the best and easiest solution.
Any objections? :D



SKaero

That would be the correct way to handle it for importing data.

BlScOfDe

Thanks for the confirmation