I have set up Postfix, Dovecot, and Roundcube. My problem is how to access the same mailbox when I create an alias in Roundcube. MS Active Directory is the backend, and the dovecot-ldap.conf is below:
hosts = example.com
ldap_verion =3
scope =subtree
dn = cn=myuser,dc=example,dc=com
dnpass = P@ss123
base = cn=users,dc=example,dc=com
auth_bind = yes
user_attrs = sAMAccountName=mail=maildir:/var/mail/vhosts/%d/%Ln,uidNumber=uid, gidNumber=gid
pass_filter = (&(objectClass=person)(|(mail=%u)(proxyAddresses=%u)))
pass_attrs = userPassword=password
Where proxyAddresses is the alias