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: [email protected] Now in my /etc/aliases I also have address: [email protected], [email protected] The problem I am experiencing, is that when e-mail is send to [email protected], the mail is delivered in user1 and user's 2 inbox, but it is not forwarded to [email protected] Mail is correctly being forwarded when it is sent directly to [email protected] 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: [email protected] gosaMailServer: Example Cyrus gosaMailQuota: 1000 gosaMailDeliveryMode: [L] gosaSpamSortLevel: 0 gosaSpamMailbox: INBOX gosaMailForwardingAddress: [email protected] 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
