After a bisect, here the possible commit that introduced the behaviour: https://gitlab.com/fetchmail/fetchmail/-/commit/4c2d5b3bb5f3a142cbd0ef95e41a8f807fe691f4