Mail Forwarding broken

Christian Hügel christian.huegel at stonebyte.de
Fri Dec 13 00:59:44 CET 2013


Hi Daniel,

thank you for the file. Well it works only when using the mail as 
"Primary Mail Address" but then also the mailboxes (inbox,spam,trash 
etc) for the user are created. (see a couple of mails above)

Is this the way to go for a "Forwarding only account"?
Thx

Christian



Am 13.12.2013 00:39, schrieb Daniel Hoffend:
> Here's what the the configuration file should look like
>
> # /etc/postfix/ldap/virtual_alias_maps_forwarding.cf
> --------------------------------------
> server_host = localhost
> server_port = 389
> version = 3
> search_base = <your_base_dn>
> scope = sub
>
> domain = ldap:/etc/postfix/ldap/mydestination.cf
>
> bind_dn = <your_service_bind_dn>
> bind_pw = <your_service_bind_pw>
>
> query_filter = (&(|(mail=%s)(alias=%s))(objectclass=inetorgperson))
> result_attribute = mailForwardingAddress
> --------------------------------------
>
> you should place it in the postfix/main.cf *after* the
> virtual_alias_maps.cf
>
>
> --
> Daniel Hoffend
>
>




More information about the users mailing list