I have a LDAP and a Dovecot running on my server, the Dovecot uses LDAP as userdb and authdb, postfix is using LDA (deliver) to deliver the mails to the user. Now I want to have group email addresses like email@example.com. This group is in my ldap like this:
objectClass: extensibleObject objectClass: groupOfUniqueNames objectClass: top cn: group1 uniqueMember: uid=user1,ou=people,dc=example,dc=com uniqueMember: uid=user2,ou=people,dc=example,dc=com (...) mail: firstname.lastname@example.org
How can I get my dovecot LDA to except emails sent to email@example.com and then send the mail to the uniqueMembers of the group?