Closed pydubreucq closed 1 year ago
The example is a JavaScript object. 1/2 == 0.5. I don't think toml does math. Have you tried 0.5?
The ratio
needs to be a numeric value. In the javascript config file, you can use math, but in toml, you must provide final values
ratio = 0.5
Thanks, that's work with:
[[ipWarm]]
address="xxx.xxx.xxx.xx1"
name="my.first-fqdn.com"
[[ipWarm]]
address="xxx.xxx.xxx.xx2"
name="my.second-fqdn.com"
ratio="0.5"
Hey guys! Quick question in relation to the above: if we were to change this every x hours, do we need to restart ZoneMTA, or is there a silent way to refresh ZoneMTA to use a newer config, or would it automatically use a new config anytime we change it without needing a restart? Thanks
For this value you'd need to restart I think. You could run 2 instances. One which is only a feeder and one which is only a sender. That way restarting the sender wouldn't interrupt anyone sending through your MTA. Just the sending itself.
Ahaaaa! Thanks for that. That sounds like what I want to do. How would we go about doing that? Because at the moment, I am using the service file to setup a systemd service like follows:
/usr/bin/node index.js --config="/zone-mta-template/config/zonemta.toml"
You can create a second service that uses another config. In one config disable the feeder SMTP config, in the other remove all the IP pools. You could use toml includes to share same configs between them if you want. Because of the shared database one instance will add to the queue, the other will pick up and send from the queue.
Ahhh yup!
So, I am guessing one of them would have zonemta.toml file containing
[smtpInterfaces]
@include "interfaces/*.toml"
And the other would have another toml file containing only
[queue]
@include "queue.toml"
Hi, I'm trying to use Warmup feature for zone but it didn't work.
I would like to warm-up ip for a specific zone and not for all zone.
I saw in your doc on IP-Warmup that:
So I tried that:
I tried in the pools.toml file too like that:
Or like that:
Maybe it's not possible to warmup for a specific zone ?
Thanks by advance