Displaying 1 result from an estimated 1 matches for "addr_maps".
2017 Oct 10
1
How to map email addresses to usernames?
...he login name), so it
fails. I miss a third query that maps one user to each email address for
delivery, prior to the userdb lookup. For Example:
bob at example.org => user-1
eve at example.org => user-1
ted at example.org => user-2
@catchall.org => user-3
"select username from addr_maps where addr='%n@%d'".
What is the correct setup for this szenario?
I've found two solutions that seem to work, but i'm not sure if they are
really failsafe.
I) I use driver=prefetch as a first userdb, so for authentication, only the
password_query from passdb is relevant and...