On Wed, Dec 14, 2022 at 06:07:41AM +0000, Sean Hennessey wrote: > Viktor and anyone else, > > I'd like your opinion on something I've come up with that seems to > work in my test box. What I've done is set things up so that instead > of % thresholds I'm using a count of sent email. I fully expect the > counting to not be 100% accurate, off by a couple of tens or even > hundreds isn't a big deal. What I did was create the following tables: > > [elided] > > I'm using this for the query: > > query = update send_counts ...
How exactly do you imagine integrating such a query into Postfix? [ Hint using this as a transport table may not do what you think it does. Transport lookups happen per-recipient and in both smtpd(8) and qmgr(8) where lookups happen each time a message enters the active queue (and before actual delivery). ] And is sending a small batch of messages and then stopping really a more effective approach to avoid problems due to lack of "reputation" with new new IPs? -- Viktor.