Chatmail relay: private invites

Hello. Quick search didn’t reveal the answer, I hope to get it here.

I would like to run a chatmail relay server for friends on a public vps. Are there ways to limit who can join without manually switching registration on/off for every incoming user? (Imagine the meme “Raise the gates, lower the gates” here).
Something like private invitational links that I can share. And make registering from the outer wilds impossible even if the domain / ip are known :slight_smile:

AI vaguely suggested manual mail account creation inside the server. Or accounts subdomain separation for “chosen few” thus allowing removal of unwanted accounts if such appear. But no further details on either approach.

1 Like

You could either create the accounts manually or replace the endpoint for /new to a long, random path, change it regularly and never share it outside your friends:

Related: