Skip to content

Navigation Menu

Sign in
Sign up

Configuring NetAuth #831

Unanswered
Tachi107 asked this question in Q&A
Discussion options

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

You must be logged in to vote

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
Comment options

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 using auth_map in
endpoint.smtp/imap configuration (recommended) or you would need to use
storage_map in storage backend configuration to map NetAuth Entity ID
specified by user back to appropriate storage backend account names.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /