Hi team, IP rotation not working — all emails go from one IP only

kumo.on(‘get_egress_pool’, function()
return { ‘mail1’, ‘mail2’, …, ‘mail10’ }
end)

kumo.on(‘get_egress_source’, function(pool)
local sources = { mail1 = { source_address = ‘IP’, ehlo_hostname = ‘mail1.domain.net’ }, … }
return sources[pool]
end)

kumo.on(‘get_queue_config’, function()
return kumo.make_queue_config { egress_pool = ‘rotation_pool’ }
end)
Logs:
json"egress_pool": “unspecified”
Version: 2025.10.06
Why is pool unspecified? How to rotate 10 IPs properly?
Thanks!

Your code is AI slop, read the documentation and write your own Lua.

does someone have any specific link or reference

AI’s assumptions about Kumomta are mostly incorrect. It’s recommended to review the KUMO documentation several more times. As for the rotation of 10 IPs, you don’t need to write any Lua code—just configure the queue/source helper according to the documentation; it’s very simple.
If you’re really into AI, I also recommend using DeepWiki—it’s much better than ChatGPT.

Thanks jack

The whole concept of “IP Rotation” turns my stomach. Are you sure that is what you meant? Because that is a really bad idea.

No, Tom, my intention is not to do IP Rotation. I meant to say round-robin through my pool of IPs so that my high-quality email will be well received by MBPs, who will allow higher deliverability because you are using tools like KumoMTA that will deliver based on their rules.

Glad to hear it

The documentation here:

and in multiple tutorials like this one :

very clearly show how to place multiple IPs in a pool that will automatically round robin.

Thanks Tom