Hallo,
that's my (legacy) setup:
a script generate 10k message files, same sender, different receiver.
they are injected using "sendmail -t -f sender < messagefile" in the local MTA
The MTA is configured to forward all messages to a central MSA.
This MSA require authentication and STARTTLS
All works fine, except speed.
The MTA uses one SMTP-Session per message. I think the reason is documented:
http://www.postfix.org/CONNECTION_CACHE_README.html#limitations, first bullet
as expected, even "smtp_connection_cache_destinations = static:all"
doesn't help.
So what may be the strategy to speed up?
Thanks for ideas!
Andreas