Routing, Sending percentage

swaks --to anshukla60@gmail.com --from test@acl.pinchappmails.com --server 0.0.0.0 --port 587

{“type":“Delivery”,“id”:“b0d43481a0d111ee89e70aa6b44afef4”,“sender”:"test@acl.pinchappmails.com,“recipient”:"anshukla60@gmail.com",“queue”:"default-tenant@gmail.com",“site”:“ip-1->(alt1|alt2|alt3|alt4)?.gmail-smtp-in.l.google.com@smtp_client”,“size”:1780,“response”:{“code”:250,“enhanced_code”:{“class”:2,“subject”:0,“detail”:0},“content”:“OK 1703253299 iz5-20020a170902ef8500b001d37a3c20fdsi3167836plb.294 - gsmtp”,“command”:“.\r\n”},“peer_address”:{“name”:“gmail-smtp-in.l.google.com.”,“addr”:“142.251.12.26”},“timestamp”:1703253299,“created”:1703253297,“num_attempts”:0,“bounce_classification”:“Uncategorized”,“egress_pool”:“bestreputation”,“egress_source”:“ip-1”,“feedback_report”:null,“meta”:{},“headers”:{},“delivery_protocol”:“ESMTP”,“reception_protocol”:“ESMTP”,“nodeid”:“0d45e5bc-f144-461b-a219-f9b98dbcf813”,“tls_cipher”:“TLS13_AES_256_GCM_SHA384”,“tls_protocol_version”:“TLSv1_3”,“tls_peer_subject_name”:[“CN=mx.google.com”]}

I want the mail should be route to smtp.mailgun.org

but it’s not happening

Ok, well you have competing things going on now, you told the system in your queues.toml that you wanted anything sent from the default tenant to gmail to use the “bestreputation” pool, which contains ip-1, and that is exactly what happened. Where did you tell KumoMTA (or me) that you wanted gmail traffic to route via smtp.mailgun.org?

I cannot read minds.

So, here the things

I want that for the gmail.com taffic I want to use pools, where I will use my IP to send the 80% of traffic, now I want the remaining 20% to be route to mailgun or SES

so how can I achive that

that’s my question and challenge here

and when I am sending it to mail gun it is using smtp suth

auth*

Mike, I hope you have understand what I am trying to achieve here.

I understand the what, I wonder about the why.

I am really sorry Mike, i am bothering you to much, but that’s the task or requirement I have been asked to work on from my org.

Is there a list of these? Perhaps your org would like a PS consultation where we prepare all of them and help with testing?

Sorry, if required I’ll let you know.

Ok, let me consider this, it may not be doable with the helpers, I need to check a couple of things.

So, I hope there must be script required.

Yes, if nothing else this will need some Lua added outside the helpers.