Skip to content

IMAP logins intermittently slow. Sometimes fast, sometimes +4sec, or +8sec #4065

Closed Answered by saaby
saaby asked this question in Q&A
Discussion options

You must be logged in to vote

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:

"externalTrafficPolicy: Local"

To my k8s Service definition (type: LoadBalancer)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@polarathene
Comment options

@saaby
Comment options

Answer selected by saaby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants