Roundcube Community Forum

 

pull identitties from hmailserver

Started by iburnthings, September 07, 2014, 06:30:31 PM

Previous topic - Next topic

iburnthings

I've been searching this and other forums for a way to auto populate the identities for a new user with the appropriate [email protected] information and I figured out how to set the default identity to what I want. I also discovered how to lock out editing the email form from being edited.

Now what I'd like is for all 'Names' and 'Aliases' in hmailserver to be pulled into the identities section in roundcube. It would be nice if it could share the same table in mySql database so that if I add a new domain in hmailserver it also updates the identities for everyone in roundcube. I understand this is possible if I setup a DB table and a hook for it; maybe even by adding a static code that would need to be updated and injected to the database any time I wanted to add a new domain.

I've seen where I can connect to LDAP but don't plan on implementing that. I've seen the new_user_identity plugin mentioned but there doesn't seem to be any documentation or even a recent version I can find. Any input would be appreciated.

Thanks for your time.

SKaero

The new_user_identity plugin comes with Roundcube, it wont automatically import information but it would be a good base to modify.

iburnthings

Thanks for the reply.
It looks like virtuser_query may be what I need instead.
Now to figure out how to allow it to connect to the right table entries in hmails mysql db..