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

View email accounts created directly with the Wildduck API #13

Open
DuredhelFinceleb opened this issue Dec 24, 2020 · 6 comments
Open
Labels
enhancement New feature or request

Comments

@DuredhelFinceleb
Copy link
Contributor

Hi,

Before installing the panel, I had created some accounts directly with wildduck-webmail
After installing the panel, I've added my domain.
New users are created just fine
However, I cannot see the accounts created before installing DuckyPanel & DuckyAPI
Is there any way to see them?

@louis-lau louis-lau transferred this issue from louis-lau/DuckyPanel Dec 24, 2020
@louis-lau
Copy link
Owner

DuckyAPI sets specific tags on accounts it creates to keep track of them efficiently. The accounts created in wildduck-webmail don't have these tags, so DuckyAPI doesn't see them.

I plan to write a script that adds these tags to existing accounts automatically, but currently DuckyAPI can't do this. You can however manually set the tags using the Wildduck API.

The tags are as follows:
Accounts: domain:example.com (for [email protected], replace example.com with whatever domain the account is on)
Forwarded addresses: domain:example.com, forwarder
Alias addresses: domain:example.com, alias
Alias domains: I suggest deleting the aliases and adding them again in DuckyAPI.

I'll keep this issue open until I write that script to automatically do this.

@louis-lau louis-lau changed the title View email accounts created directly with wildduck-webmail View email accounts created directly with the Wildduck API Dec 24, 2020
@louis-lau louis-lau added the enhancement New feature or request label Dec 24, 2020
@DuredhelFinceleb
Copy link
Contributor Author

I've added the domain:example.com tags manually & now I see the email addresses. Thanks! 🙂

@Jordan-Hall
Copy link

@DuredhelFinceleb where do you add the tags too? In the database directly

@louis-lau
Copy link
Owner

@Jordan-Hall Directly using the wildduck api:
https://docs.wildduck.email/api/#operation/updateUser

@Jordan-Hall
Copy link

Thank you. I've supported it now. Think i might see if i can sort a script out to automate it

@louis-lau
Copy link
Owner

If you make it a node.js typescript script, then please PR it so I can include it in the repo!

Of course if you write it in any other language please share it here in this issue :)

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

No branches or pull requests

3 participants