-
Notifications
You must be signed in to change notification settings - Fork 326
Hi all!
I'm trying to configure NetAuth configuration, but I'm struggling with the username-email mapping.
Instead of keep trying on my own and ending up with my own solution on my little server only, I thought that sharing it here would've be useful for others as well.
The NetAuth configuration docs mentions auth_map, but looking at the imapsql docs I see it's deprecated. What should I do?
Thanks :>
Cc: @the-maldridge
All reactions
Replies: 2 comments
auth_map was a confusing name, it is replaced by storage_map in endpoint.imap. See https://maddy.email/reference/endpoints/imap#storage_map-module-reference
All reactions
Looked into the issue better, here is the improved wording that specified how you could configure mapping between NetAuth identifiers and maddy usernames.
Note that storage backends conventionally use email addresses. Since NetAuth
recommends *nix compatible usernames. You will need to either map email
identifiers specified by user to NetAuth Entity IDs usingauth_mapin
endpoint.smtp/imap configuration (recommended) or you would need to use
storage_mapin storage backend configuration to map NetAuth Entity ID
specified by user back to appropriate storage backend account names.