On Mon, Sep 02, 2019 at 03:00:01PM +0200, [email protected] wrote:

> I have problem with postfix, which ignore /etc/aliases file.

As expected based on your configuration.

> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> local_transport = lmtp:unix:private/dovecot-lmtp
> mydestination = $myhostname, localhost.$mydomain, localhost

The aliases(5) database is used by the local(8) delivery agent,
which your setting of local_transport preƫmpts, by directly going
with LMTP.  The best solution is to use virtual(5) aliases instead.
If you really must use local aliases(5), then you need to use

        mailbox_transport = lmtp:unix:private/dovecot-lmtp

instead of:

        local_transport = lmtp:unix:private/dovecot-lmtp

See the manpages for aliases(5), virtual(5) and local(8),

-- 
        Viktor.

Reply via email to