let me try that
I am having trouble using queue helper
can you please help with it
I want to route mail to sender smtp.example.com using port 587
which I am unable to do so using shaping
my config are above
I ahve add the folloing lines below
["smtp.mailgun.org"]
mx_rollup = false
smtp_auth_plain_username = "admin"
smtp_auth_plain_password = "admin"
the above is my toml file
local shaping = require 'policy-extras.shaping'
kumo.on('get_egress_path_config', shaping:setup())
this is my line added in init file for toml
Outbound SMTP_PORT is set by the make_egress_path event, so if you are using helpers, set that in the shaping file, so set
[smtp.example.com]
smtp_port = 587
Then you can smarthost your message using the meta data.
msg:set_meta(‘routing_domain’, ‘my.smarthost.com’)
make_egress_path - KumoMTA Docs
ok let me try that