Ellie via Postfix-users:
> On 2/6/25 7:10 PM, Wietse Venema via Postfix-users wrote:
> > You can force this witH;
> > 
> > /etc/postfix/master.cf
> >      relay .. .. .. .. .. .. smtp
> >     flags=O
> > 
> > /etc/postfix/main.cf:
> >      relay_destination_recipient_limit = 1
> >      transport_maps = hash:/etc/postfix/transport
> > 
> > /etc/postfix/transport
> >       example.com relay:[internal-mailhub.example]
> 
> Since I use virtual_alias_maps rather than relaying entire domains as 
> relay_domains apparently would do, I haven't quite wrapped my head 
> around yet how this interacts. If anybody else finds it interesting, 
> this *doesn't* work:
> 
> /etc/postfix/master.cf
>      virtual .. .. .. .. .. .. virtual
>          flags=O

RTFM. 

- the virtual delivery agent always prepends X-Original-To.

- flags is not an option for the virtual delivery agent.

How were you delivering the messages that had NO
X-Original-To header?

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to