[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Viktor Dukhovni via Postfix-users
On Sun, May 21, 2023 at 06:26:34PM -0400, Alex via Postfix-users wrote: > I don't have any content filters set up in the front-end postfix. How do I > connect the front-end postfix with the filters? For per-domain message content modification you need to first "split the envelope", so that each

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Alex via Postfix-users
Hi, > According to the subject, you appear to be looking for per-domain > header/body check. That is not the right tool, and I would not > spend my cycles on a design for that. > > Instead I recommend filters between a front and back-end instance, > using transport_maps to select a filter

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Wietse Venema via Postfix-users
Alex via Postfix-users: > Hi, > > > > > > internet -> front-end Postfix instance -> filter -> back-end > > > > Postfix > > > > > > instance > > > > > > > > > > > > The front-end Postfix instance uses transport_maps to select a > > suitable > > > > > > filter. > > > > > > > > > > > >

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Alex via Postfix-users
Hi, > > > > internet -> front-end Postfix instance -> filter -> back-end > > > Postfix > > > > > instance > > > > > > > > > > The front-end Postfix instance uses transport_maps to select a > suitable > > > > > filter. > > > > > > > > > > example.com: smtp: > > > > > example.org: smtp:

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Wietse Venema via Postfix-users
Alex via Postfix-users: > Hi, > > On Sun, May 21, 2023 at 4:41?PM Wietse Venema via Postfix-users < > postfix-users@postfix.org> wrote: > > > Alex via Postfix-users: > > > > > I'd say, start with one instance per domain. The 'cost' of doing so > > > > > is really small. > > > > > > > > Once you

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Alex via Postfix-users
Hi, On Sun, May 21, 2023 at 4:41 PM Wietse Venema via Postfix-users < postfix-users@postfix.org> wrote: > Alex via Postfix-users: > > > > I'd say, start with one instance per domain. The 'cost' of doing so > > > > is really small. > > > > > > Once you run out of IP addresses, you will need

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Wietse Venema via Postfix-users
Alex via Postfix-users: > > > I'd say, start with one instance per domain. The 'cost' of doing so > > > is really small. > > > > Once you run out of IP addresses, you will need policy selection > > based on the recipient domain. For example: > > > > internet -> front-end Postfix instance ->

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread postfix--- via Postfix-users
I'm using multi-instance postfix-3.7.2 on fedora37 and would like to be able to control which header and body checks apply to which domain in a specific instance. I'm looking for advice on the best way to do this. I'd say, start with one instance per domain. The 'cost' of doing so is really

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Alex via Postfix-users
Hi, On Sun, May 21, 2023 at 12:39 PM Wietse Venema via Postfix-users < postfix-users@postfix.org> wrote: > Wietse Venema via Postfix-users: > > Alex via Postfix-users: > > > Hi, > > > I'm using multi-instance postfix-3.7.2 on fedora37 and would like to be > > > able to control which header and

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > Alex via Postfix-users: > > Hi, > > I'm using multi-instance postfix-3.7.2 on fedora37 and would like to be > > able to control which header and body checks apply to which domain in a > > specific instance. I'm looking for advice on the best way to do this. > >

[pfx] Re: per-domain header/body checks?

2023-05-21 Thread Wietse Venema via Postfix-users
Alex via Postfix-users: > Hi, > I'm using multi-instance postfix-3.7.2 on fedora37 and would like to be > able to control which header and body checks apply to which domain in a > specific instance. I'm looking for advice on the best way to do this. > > I have about ten domains right now, and