On Wed, Sep 24, 2014 at 01:55:03PM -0400, leam hall wrote:

> I'm trying to send root's mail on a linux box to my regular host. In
> /etc/aliases I have:
> 
> root:    my.m...@example.com
> 
> If I manually send to my.m...@example.com I get the mail. With the
> alias above if I "mail root" it does not make it.
> 
> Thoughts?

The answer is in the logs.

  root ->
  root@$myorigin ->
  possible input stage rewrites, such as: canonical(5), virtual(5) ->
  (localpart@somedomain, transport, nexthop)

So if transport is not "local" or "localpart" is not "root" or you
never ran "postalias" to update your aliases database, then the
alias is not seen.

See also:

    http://www.postfix.org/MULTI_INSTANCE_README.html#quick

For a null-client configuration example with rewriting for root,
and the like.

-- 
        Viktor.

Reply via email to