Recently, I’ve been puzzled by an issue in my daily work. I’m conducting an in-depth investigation, but before that, I’m posting it to the community to seek ideas and suggestions.
I have been using Kumomta for several months, and its outstanding performance has made me very confident in it.
However, during my routine checks (monitoring the remaining capacity of queues) recently, I noticed that the queue data for several items has not been decreasing.
In shaping.toml, I configured vip01 (and the corresponding source.name) without any suspend entries.
I integrated webhook with ELK for log analysis and found no spam-related entries for qq.com. Before sending stopped, the status was always 250.
3.To resume sending, I just need to call rebind.
What is your rate to sending to qq.com? Personally it’s just really hard to deliver to Chinese inboxes. Especially if they determine they don’t like you very much. We deliver mail incredibly slow to qq.com and try to limit as connections to as few as possible. That tends to work but is still very slow.
Yes, it is indeed difficult. The speed for each IP is 50 to 60 per minute, and after some time it can be adjusted to 120 per minute, but there is also a daily sending volume limit. That’s why we have many IPs delivering to China’s qq.com.
I haven’t encountered any issues with other ISPs, but for qq.com, I’m not sure why the queue often stops sending, and there is no spam involved.
Sorry if this is obvious, but you didn’t mention it so thought it would be worth mentioning. Have you tried ‘kcli trace-smtp-client’? That should give you clues in what is happening when the connection is being made. Your limits sound reasonable to me, but maybe it needs to be lower. For example if qq is doing this based on the domain rather than the IP, per IP may be too much.
After restarting kumomta, there have been no issues for several hours. Yesterday, before the restart, the problem occurred several times every few hours.
Thanks for the reply. Although I have multiple kumomta instances, I haven’t set up a cluster with Redis, nor have I used throttle. Of course, if throttle were the cause, rebind would also be restricted.
I did not log delayed logs (including local logs) because qq.com’s rate limiting would likely generate a large number of delayed logs. qq.com has a daily sending volume of 10 million, and each IP can send only 80 messages per minute.