Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (multiple) accounts using API/Etc.. ? #407

Open
Yamakasi opened this issue Jun 15, 2020 · 7 comments
Open

Add (multiple) accounts using API/Etc.. ? #407

Yamakasi opened this issue Jun 15, 2020 · 7 comments
Assignees
Labels
enhancement suggest an improvement

Comments

@Yamakasi
Copy link

I'm looking into a way to add accounts for a user so he doesn't need to add them himself.

Now I login using API against LDAP which adds the account perfectly but I'm in need of adding multiple using LDAP AUTH or a request/DB insert for Cypht.

For Dovecot I was thinking of using a master user for multi account access which seems to do the job for it.

Any idea ?

@jasonmunro jasonmunro self-assigned this Jun 19, 2020
@jasonmunro jasonmunro added the enhancement suggest an improvement label Jun 19, 2020
@jasonmunro
Copy link
Member

This is a complicated request and maybe outside the scope of a webmail project? I understand the need but not sure it's the right place for this kind of functionality.

@Yamakasi
Copy link
Author

Yamakasi commented Jun 19, 2020

This is a complicated request and maybe outside the scope of a webmail project? I understand the need but not sure it's the right place for this kind of functionality.

I'm trying to find a decent way from a middle-ware point of view. Not that Cypht has lack on it but more to see if there are standards.

Extra accounts adding could be actually an automated ways, API end point or even direct SQL inserts, like the user does it by himself in Cypht. Issue there is the serialization of settings and such. Can't we "outscope" that process to a simple API ?

Just thinking loudly :)

@marclaporte
Copy link
Member

@Yamakasi which mail servers do you use?

@Yamakasi
Copy link
Author

Yamakasi commented Nov 2, 2020

@Yamakasi which mail servers do you use?

I suppose you mean IMAP servers ?

Storage: Dovecot
MTA: Postfix

I can do do some magic with SQL if needed.

What are you suggesting then ?

@marclaporte
Copy link
Member

I have no clear plan yet but just some ideas. I would like ad hoc creation of email addresses. Ex.: A team member starts a new project and creates a mailbox and sets permissions for it.

I have no idea how we can make this generic. I suspect it will end up being a specific process for each server.

@Yamakasi
Copy link
Author

Yamakasi commented Nov 3, 2020

I have no clear plan yet but just some ideas. I would like ad hoc creation of email addresses. Ex.: A team member starts a new project and creates a mailbox and sets permissions for it.

I have no idea how we can make this generic. I suspect it will end up being a specific process for each server.

Yes sounds like custom. That's why I don't like glue things together as in your wiki, I write such things from scratch, webmail is just a client.

@marclaporte
Copy link
Member

Related: #470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement suggest an improvement
Projects
None yet
Development

No branches or pull requests

3 participants