On Tue, 14 Jul 2020, gnd wrote:
[...] anyway, if there is anyway how to optimize dovecot for effective delivery of 20k+ emails within a few minutes, id be glad to know.
.. but in the first message you wrote:
Are there any optimizations or ways how to design the system around this problem ? Eg. is there a way how to deliver messages more slowly, and spread the load over longer time ?
So it is not clear whether you want to actually deliver the messages as fast as possible ("effective delivery .. within a few minutes") or if you'd rather have the process spread over longer time.
Generally it is recommended to let the system work as fast as it can, as otherwise you'll just make it slower for no reason (you will use your resources less efficiently).
Cheers.