S
Saleh

  • 11 hours ago
  • Joined 13 days ago
  • 0 discussions
  • 4 posts
  • 0 best answers
  • Post posted... wait what?
  • You need to specifies an LDAP attribute in your Active Directory. That LDAP attribute holds a value for the name of the Mailbox Template that mapped to a mailbox. I mean the Mailbox Template name that used for updates the mailbox settings like the example in the images above. This value indicates what Mailbox Template used for updates the mailbox settings for the user.

    When this attribute is exist in your Active Directory for the user. The “MailCow LDAP integration” will create the user in the MailCow automatically.

  • Your need to understand the way how that is working. The necessary thing in this is the “Attribute Field

    Attribute Field: Specifies an LDAP attribute that holds a specific value which can be mapped to a mailbox

    Attribute Mapping:

    Attribute: Defines the LDAP attribute value that should be mapped.
    Template: Specifies which mailbox template should be applied for the defined LDAP attribute value

    Mailcow Example Configuration¶

    The user has an LDAP attribute otherMailbox with the value default.
    In mailcow, set Attribute Field to "othermailbox".
    Under Attribute Mapping, set Attribute to default and select an appropriate mailbox template.

    Our Example Configuration
    The user has an LDAP attribute “employeetype” with one value of those values (default, Sales, Removed) that we are configured on the MailCow LDAP confiugration.
    This mean you can definde many diffrent Mailbox Templates.

    Updates on Login¶

    Each time a user logs in, mailcow checks if the assigned template has changed. If so, it updates the mailbox settings accordingly.

  • I have the same issue on the latest stable MailCow version.

    MailCow LDAP Integration
    We have created a new “Identity Provider” using LDAP. The mailboxes for new users are created correct but the update for existing users or new created users not working. In the “Crontasks” logs we found the below log message:

    No matching attribute mapping found for user xxxx

    The above log message appears for the existing users and new created users.
    Any idea what goes wrong?
    Thank you.