We are experiencing an intermittent issue when connecting to the SMTP server. The error displayed is “421 4.3.2 smtp.domain.com idle too long.” This issue does not occur consistently but appears randomly, which could potentially affect our production server’s performance.
Could you please investigate this matter and provide a resolution at your earliest convenience?
Where and when are you seeing that error? Is it in your kumomta logs, or in your connecting client? Is ‘smtp.domain.com’ your injecting server or the KumoMTA server? Configs would be helpful. Please read the instructions above and provide more detail.
It sounds like KumoMTA idles out waiting for the injector to finish a command. Your init.lua appears to have been truncated. Can you share in a gist or file upload?
Specific code review by the core team is reserved for Gold support customers. I was asking more so the community would be able to assist.
Is it possible to obfuscate the proprietary bits?
I cannot fix your injector nor am I convinced there is an actual problem. KumoMTA idled out waiting for input. That is what it is supposed to do. Why do you think it is a problem?
I would recommend tailing the journal as you are injecting. You seem to have some complex Lua that could be blocking message processing.
You may want to start here