Please tell me how to add more auth in delivery destination
Hey there @youthful-zorse, thanks for posting. To ensure the fastest resolution to your issue, please review the following and follow all the steps:
['smtp.mailgun.org']
smtp_port = 587
mx_rollup = false
enable_tls = 'Required'
smtp_auth_plain_username ='sdsdsdsd'
smtp_auth_plain_password = { key_data = '87sdsd }
this is my shaping.toml file, I wan to add more auth in the username and password can you please help me to add that
More auth as in more usernames and more passwords?
And what is the logic to choose one or another?
yes more user name and respective password
because the mailgun accept based on the domain auth
that what I want to use
Then create egress source for each, and add more granularity to the toml file, one per credential
any example?
I have implemented that I am getting is the error below
Dec 27 21:24:04 ip-10-4-1-71 kumod[1868]: stack traceback:
Dec 27 21:24:04 ip-10-4-1-71 kumod[1868]: [C]: in function ‘kumo.make_egress_path’
Dec 27 21:24:04 ip-10-4-1-71 kumod[1868]: [string “/opt/kumomta/etc/policy/init.lua”]:41: in function <[string “/opt/kumomta/etc/policy/init.lua”]:40>
Dec 27 21:24:04 ip-10-4-1-71 kumod[1868]: caused by: deserialize error: data did not match any variant of untagged enum KeySource, while processing [“ashu@custd.pinchappmails.com”]
Dec 27 21:24:04 ip-10-4-1-71 kumod[1868]: 2023-12-27T15:54:04.920704Z INFO localset-0 kumod::spool: start_spool: enumeration done, spooled in 1 msgs over 4.766114ms
Dec 27 21:25:04 ip-10-4-1-71 kumod[1868]: 2023-12-27T15:55:04.920781Z DEBUG localset-2 maintain_named_queue: kumod::queue: maintaining queue default-tenant@gmail.com!smtp.mailgun.org which has 1 entries
The error without the config doesn’t allow for help.
ok
auth
Auth
I understand that shaping.toml will pick only one user name and password, so if I want to use more user name and password I need to add more shaping.toml file
I hope my understanding is correct mike?
No, you are more egress sources and assign auth u/p for each