-
I am having a weird issue with my docker-mailserver deployment. IMAP logins are sometimes "fast" (~150ms), sometimes they are "slow" (~4.150sec, or ~8.150sec). I cannot find anything related reported in mail.log, mail.warn or mail.err. Context:
This is my testcase:
This is the good result:
These are the bad results:
or
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Please note that this response was created using generative AI, leveraging previously available information from the repository. This information may be helpful. However, it is our strong recommendation that you carefully consider the information before blindly applying it. This response is generated only once - you will not be able to interact with the glime-ai. It seems like you are experiencing intermittent delays in IMAP logins, which could be related to timeouts or retries in the authentication process. Here are a few steps and considerations to help diagnose and potentially resolve the issue:
For more detailed steps and troubleshooting, you can refer to the following documentation: This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
Found the source of the delay. A combination of the following three: Fixed, by adding:
To my k8s Service definition (type: LoadBalancer) |
Beta Was this translation helpful? Give feedback.
Found the source of the delay.
A combination of the following three:
1: Dovecot failed auth penalties: https://doc.dovecot.org/configuration_manual/authentication/auth_penalty/
2: An ongoing bruteforce imap login attack from various IPs
3: My kubernetes service definition somehow not forwarding real remote IPs of clients, rendering all login attempts originating from the same (internal cluster) IP.
Fixed, by adding:
To my k8s Service definition (type: LoadBalancer)