[pfx] Re: choose relay host for specific messages based on several headers and not envelope

2023-06-11 Thread Wietse Venema via Postfix-users
Wietse: > Indeed, a FILTER action takes precedence over other Postfix routing > mechansms. > > You'd use a rule like: > > Key Value > === === > pattern FILTER smtp:nexthop > > Where 'nexthop' equals the sender_dependent_relayhost_maps info for > the auto-respo

[pfx] Re: choose relay host for specific messages based on several headers and not envelope

2023-06-11 Thread Viktor Dukhovni via Postfix-users
On Sun, Jun 11, 2023 at 11:28:46AM +0200, spi via Postfix-users wrote: > My users have a local mail address user@internal.local with different > aliases (virtual_mailbox_maps, virtual_alias_maps). Receiving and > sending mails through different relay hosts (am using > sender_dependent_relayhost_ma

[pfx] Re: choose relay host for specific messages based on several headers and not envelope

2023-06-11 Thread spi via Postfix-users
Am 11.06.23 um 16:20 schrieb Wietse Venema via Postfix-users: spi via Postfix-users: Hi all My users have a local mail address user@internal.local with different aliases (virtual_mailbox_maps, virtual_alias_maps). Receiving and sending mails through different relay hosts (am using sender_depe

[pfx] Re: choose relay host for specific messages based on several headers and not envelope

2023-06-11 Thread Wietse Venema via Postfix-users
spi via Postfix-users: > Hi all > > My users have a local mail address user@internal.local with different > aliases (virtual_mailbox_maps, virtual_alias_maps). Receiving and > sending mails through different relay hosts (am using > sender_dependent_relayhost_maps) works without issues. As MDA I us

[pfx] choose relay host for specific messages based on several headers and not envelope

2023-06-11 Thread spi via Postfix-users
Hi all My users have a local mail address user@internal.local with different aliases (virtual_mailbox_maps, virtual_alias_maps). Receiving and sending mails through different relay hosts (am using sender_dependent_relayhost_maps) works without issues. As MDA I use dovecot with lmtp transport. Re