Hi, I'm using a Postfix 2.9.6 and Cyrus IMAP mail system connected to an OpenLDAP directory managed by Gosa 2.7.4.
Now I have a user (user1) which has set up e-mail forward in gosa, which is stored in the ldap server as gosaMailForwardingAddress: user1...@gmail.com Now in my /etc/aliases I also have address: us...@example.com, us...@example.com The problem I am experiencing, is that when e-mail is send to addr...@example.com, the mail is delivered in user1 and user's 2 inbox, but it is not forwarded to user1...@gmail.com Mail is correctly being forwarded when it is sent directly to us...@example.com Relevant parts of my postfix main.cf: myhostname = example.com alias_maps = hash:/etc/aliases hash:/var/lib/mailman/data/aliases ldap:example alias_database = hash:/etc/aliases virtual_alias_domains = example1.com example2.com virtual_mailbox_maps = ldap:example virtual_alias_maps = hash:/etc/postfix/aliases.example1 hash:/var/lib/mailman/data/virtual-mailman ldap:example example_server_host = ldap://localhost example_search_base = dc=example,dc=com example_query_filter =(&(objectclass=gosaMailAccount)(|(gosaMailAlternateAddress=%s)(mail=% s))) example_result_attribute = uid,gosaSharedFolderTarget,gosaMailForwardingAddress example_version = 3 This is how the LDAP entry looks like for that user: dn: uid=example1,ou=People,dc=example,dc=com uid: example1 mail: us...@example.com gosaMailServer: Example Cyrus gosaMailQuota: 1000 gosaMailDeliveryMode: [L] gosaSpamSortLevel: 0 gosaSpamMailbox: INBOX gosaMailForwardingAddress: example1...@gmail.com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: gosaAccount objectClass: posixAccount objectClass: shadowAccount objectClass: gosaMailAccount objectClass: sambaSamAccount structuralObjectClass: inetOrgPerson Is there a way to get the second forward being done correctly? Regards, -- Frederik Himpe