Pascal Volk:
> On 01/16/2014 08:26 PM Michael Barrett wrote:
> > Hi, I was wondering if anyone had any luck with configuring postfix to
> > send all local mail, no matter to what user, to an external email address?
> > ?
> 
> Is luser_relay <http://www.postfix.org/postconf.5.html#luser_relay> you
> are looking for?

Alternatively, virtual_alias_maps (NOT: domains) can rewrite all
addresses in a specific domain.

/etc/postfix/main.cf:
    virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual:
    @example.com        user@other.example

Just fill in the example with real domains.

References:
http://www.postfix.org/virtual.5.html

        Wietse

Reply via email to