Re: rewrite recipients after /etc/aliases is processed
- On Wed, 2008-12-31 at 08:50 -0500, Wietse Venema wrote:
> Hanspeter Kunz:sure.
> > well, my intention was to use /etc/aliases for forwarding mail adresses
> > like root, webmaster, logcheck, etc. to real users. This would be
> > different users on every host. That's why I want first to
> > process /etc/aliases and then route the mail to our central mail server.
> /etc/aliases is used only for domains in $mydestination. This
> is documented behavior, and will not be changed.
> To rewrite address that don't deliver locally, use virtual_alias_mapsthanks for your inputs (also to mouss).
> (NOT virtual_alias_domains) to rewrite root etc, into real recipients.
For the record, I decided to do it the other way round:
* mail is delivered locally (so that /etc/aliases is processed)
* an additional ldap-aliases-table reroutes mails for "real" users to
the central mail server.