smartphone on the Bell network.
Original Message
From: Viktor Dukhovni
Sent: Thursday, June 18, 2015 5:54 PM
To: postfix-users@postfix.org
Reply To: postfix-users@postfix.org
Subject: Re: preference transport_maps and alias_maps
On Thu, Jun 18, 2015 at 07:53:58PM +, Steve Zeng wrote
On Thu, Jun 18, 2015 at 07:53:58PM +, Steve Zeng wrote:
> transport_maps = hash:/etc/postfix/transport
>
> /etc/postfix/transport
> ==
> trustedcompany.com :
> mycompany.com :
> * error:5.1.2 recipient domains not allowed
>
> It works quite well until it is reported that the
Steve Zeng:
> Is there any way to make the alias map take preference to the transport map?
Fundamentally not possible. The transport chooses the delkiery
agent. The local delivery agent expands alias_maps.
The precedence is described in ADDRESS_REWRITING_README a.k.a.
http://www.postfix.org/ADDRE
Greetings!
I implemented a rule with transport_maps to block all public email delivery
except whitelisted domains as below:
/etc/postfix/main.cf
=
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport
==
trustedcompany.com :
mycompany.com :
* error