Nicolas JEAN:

Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> Hi everyone,
> 
> I'm trying to implement load balancing thanks to /transport_maps/ and 
> /randmap/ as described in postfix 3.0 release notes[1].
> 
> /etc/postfix/local_transport_map
> 
>     my.domain ?? :
>     .my.domain ? :
>
> (where myhostname = myorigin = virtual_mailbox_domains = my.domain)

Did notice any warnings from Postfix with "do not list domain XXX
in both YYY and ZZZ"?

> *Questions*:
> 
>   * How do I make sure that incoming mail for locally-managed domains is
>     delivered locally, not relayed?

With ":" lookup results in a transport map before the randmap.

The transport map must return ":" for the recipient domain AFTER
canonical and virtual alias mapping. As documented, canonical and
virtual alias mapping happen before transport map lookup.

Have you verified that the recipient domain after canonical and
virtual alias mapping matches the transport map? Does the lookup
return ":"? Postfix logs the recipient domain as "to-<xxx>".

        Wietse

Reply via email to