Is there something like an API which allows me to write a webapp that can perhaps communicate with maddy to like, reset passwords? #593
Replies: 2 comments 1 reply
-
Maybe? The public API of the maddy go module seems like it might have the capability. First, you'd need to load and parse the config file like the CLI does. Then you can import |
Beta Was this translation helpful? Give feedback.
-
table.sql_query, table.sql_table modules can be used to read usernames, passwords and so on from any supported SQL database. Such DB in turn can be managed by a simple webapp. The only issue is keeping it in sync with IMAP accounts. The only currently possible way is to replicate how maddyctl works - "framework" package is considered a public Go API. Config initialization routines are not, but that's the minor part and they are unlikely to change anyway. |
Beta Was this translation helpful? Give feedback.
-
I have a mail server running maddy(runs great and does the job perfectly), however i have users that want to reset their passwords without telling me their new password directly, is there currently a way to interact with maddy to like change passwords from like an API i can implement in a web page?
Beta Was this translation helpful? Give feedback.
All reactions