postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Aliases LDAP maps from the MX ?

Re: Aliases LDAP maps from the MX ?

From: Frank Bonnet <f.bonnet_at_nospam>
Date: Fri Oct 08 2010 - 15:09:24 GMT
To: postfix-users@postfix.org

  Thank you !

On 10/08/2010 03:00 PM, Wietse Venema wrote:
> Frank Bonnet:
>> Hello
>>
>> I would like to use LDAP ( OpenLDAP ) aliases from our MX server
>> in order to forward emails to the internal mailhub.
>>
>> The MX use the transport utility to forward emails to the mailhub
>> and does not perform local deliveries.
> In that case you should be able to replace this:
>
> /etc/postfix/main.cf:
> transport_maps = mapping from example.com to smtp:mailhub.example.com
> relay_domains = example.com
> relay_recipient_maps = list of "good" recipients@example.com
>
> with:
>
> /etc/postfix/main.cf:
> transport_maps = mapping from example.com to smtp:mailhub.example.com
> relay_domains = example.com
> virtual_alias_maps =
> mappings from external-user@example.com to internal-user(s)@example.com
>
> Unless I am missing something obvious (in which case Victor will
> helpfully point out what's missing).
>
> Wietse