Skip to content

How to use usermap? #57

@hemml

Description

@hemml

I'm using ldap auth and users can login with their usernames (without @domain component), but I want also allow them to use "username@mydomain" logins, because some imap clients using this in auto-configuration.

I have added a record into dbmail_usermap:

 login | sock_allow | sock_deny |    userid
-------+------------+-----------+--------------
 ANY   |            |           | %s@mydomain

but after that users just cannot login with any login (username or username@mydomain).
What is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions