> On 18 Aug 2021, at 2:50 pm, post...@ptld.com wrote:
> 
> It is an all or nothing situation? To not "expand" that means not having 
> alias lookup at all even for incoming messages? The fact i have virtual alias 
> lookup for incoming that means postfix will by default use that for outgoing? 
> No way around that? To only expand aliases for incoming not outgoing messages?

A useful rubric to keep in mind is:

  * There's no such thing as outbound mail,
    all mail comes in, and then it goes out...

Any notion of incoming or outgoing is a mental model you overlay on
your use of the Postfix MTA, the actual MTA is just a message switch.

The expansion of virtual aliases happens for all recipient addresses
that transit the switch.

If you want different processing for inbound and outbound mail,
use separate Postfix instances configured appropriately to the
task at hand.

-- 
        Viktor.

Reply via email to