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: Wietse Venema <wietse_at_nospam>
Date: Fri Oct 08 2010 - 16:50:42 GMT
To: Postfix users <postfix-users@postfix.org>

Victor Duchovni:
> I avoid the need for such empty relay tables, by making all my
> externally-facing domains (the domains in which users get their
> primary email addresses) be virtual alias domains. All internal
> delivery is to "mailbox" domains that are the result of virtual
> alias rewrites:
>
> main.cf:
> virtual_alias_domains = example.com
>
> indexed = ${default_database_type}:${config_directory}/
> virtual_alias_maps = ${indexed}virtual
> transport_maps = ${indexed}transport
>
> virtual:
> user@example.com user@mbox-domain.example.com
...

That is simpler, but I tried to avoid this, because sometimes the
back-end MTA is configured to accept user@example.com but not
user@server.example.com.

        Wietse