Is there a way to map an email to the namespace(whose value is the email string) automatically? #100

Closed
opened 2025-12-29 01:23:12 +01:00 by adam · 2 comments
Owner

Originally created by @chaosong on GitHub (Jan 17, 2022).

Something like:

domain_map:
     ".*": <email-itself>
Originally created by @chaosong on GitHub (Jan 17, 2022). Something like: ``` domain_map: ".*": <email-itself> ```
adam added the enhancement label 2025-12-29 01:23:12 +01:00
adam closed this issue 2025-12-29 01:23:12 +01:00
Author
Owner

@ptman commented on GitHub (Jan 27, 2022):

Maybe it could use regex capture groups:

domain_map:
  '(.*)': '\1'
@ptman commented on GitHub (Jan 27, 2022): Maybe it could use regex capture groups: domain_map: '(.*)': '\1'
Author
Owner

@kradalby commented on GitHub (Feb 26, 2022):

Fixed in beta 0.15.0

@kradalby commented on GitHub (Feb 26, 2022): Fixed in beta 0.15.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#100