creating a mailbox via imap

dovecot at ptld.com dovecot at ptld.com
Thu Feb 23 17:56:34 UTC 2023


> is there any way with Dovecot to open an admin imap connection and create a brand new mailbox?
> With Cyrus imapd I can do this by connecting as the Cyrus admin user and then create a folder "user/newuser at domain.tld".


Wouldn't that be dependent on how Dovecot auth worker verifies a user exist and is valid? Such as for one method, database queries. How would Dovecot know what query to run to add another user to your database? Plus update any other related DB tables needed for your custom setup? I would imagine too many edge cases for Dovecot to worry about for creating accounts.


More information about the dovecot mailing list