[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Viktor Dukhovni via Postfix-users
On Tue, Mar 26, 2024 at 02:20:55PM -0400, Wietse Venema via Postfix-users wrote: > Viktor Dukhovni via Postfix-users: > > That's fine, the SRV records can be keyed by destination domain. > > Locally-managed SRV records, keyed by the final destination domain > name, to select a local relay host?

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Wietse Venema via Postfix-users
Viktor Dukhovni via Postfix-users: > That's fine, the SRV records can be keyed by destination domain. Locally-managed SRV records, keyed by the final destination domain name, to select a local relay host? Wietse ___ Postfix-users mailing list

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Viktor Dukhovni via Postfix-users
On Tue, Mar 26, 2024 at 05:22:52PM +, Colin McKinnon wrote: > > What kind of "load balancing"? Why won't MX records do? For uneven > > weights, you can even use SRV records: > > I'm trying to setup load balancing across a cluster of relays for a > SAAS application. There's several problems

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Colin McKinnon via Postfix-users
Hi Viktor, Wietse also replied to say I wasn't able to solve this with Postfix. > > What kind of "load balancing"? Why won't MX records do? For uneven > weights, you can even use SRV records: > I'm trying to setup load balancing across a cluster of relays for a SAAS application. There's

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Viktor Dukhovni via Postfix-users
On Tue, Mar 26, 2024 at 01:52:42PM +, Colin McKinnon via Postfix-users wrote: > I want to provision load balancing for my relays. What kind of "load balancing"? Why won't MX records do? For uneven weights, you can even use SRV records: use_srv_lookup = smtp relayhost =

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Wietse Venema via Postfix-users
Colin McKinnon via Postfix-users: > Hi, > > I want to provision load balancing for my relays. The catch is that > there is already some customized routing in place based on recipient > domain and large block lists. These are currently handled by a > transport map. > > I would prefer not to

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Colin McKinnon via Postfix-users
Hi, Stuck again. Using smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:8822 smtpd_policy_service_default_action = DUNNO I get: Mar 26 15:49:03 test106 postfix/smtpd[163532]: warning: access table inet:127.0.0.1:8822 has entry with lookup table:

[pfx] Re: check_policy_service for customizing routing & load balancing

2024-03-26 Thread Colin McKinnon via Postfix-users
Hi all, I found that check_policy_service works (maybe*) in `smtpd_end_of_data_restrictions =`. So I'm guessing it might work in any *_restrictions configuration. (*still having some issues getting this to work as expected, but I'll come back here if I get stuck) Colin On Tue, 26 Mar 2024 at

[pfx] check_policy_service for customizing routing & load balancing

2024-03-26 Thread Colin McKinnon via Postfix-users
Hi, I want to provision load balancing for my relays. The catch is that there is already some customized routing in place based on recipient domain and large block lists. These are currently handled by a transport map. I would prefer not to implement 2 layers of relays. If this were implemented