30 Nov
2026
30 Nov
'26
12:30 a.m.
On 2026-11-29 2:15 PM, Aki Tuomi via dovecot wrote:
On 29/11/2026 21:00 EET Marc via dovecot <[1]dovecot@dovecot.org> wrote: TCP wrapper support is deprecated in favour of using lua authentication database instead. When I looked into lua authentication I found it was a mechanism which allows a lot of customization of authentication logic, despite the potential drawback that it gets executed after an authentication request and not at connection time. I don't really get why tcp-wrappers is being dropped. I was using it to do lookups in a custom dns blacklist, this way I can protect multiple hosts from eg brute force password guessing, by just adding a single entry somewhere. What new technology that replaces tcp-wrappers is offering this? _______________________________________________ We support auth policy servers e.g. weakforced, which allows you to check and drop/tarpit connections prior authentication. See https://doc.dovecot.org/latest/core/config/auth/policy.html AkiReferences
Visible links 1. mailto:dovecot@dovecot.org 2. mailto:dovecot@dovecot.org 3. mailto:dovecot-leave@dovecot.org
After a quick read of the auth/policy, it seems that dovecot has re-invented Wietse Venema's tcp_wrappers. Sadly, I see no reason that dovecot could not have included a hook to the lib_wrap.
I can't consider a move to 2.4.x without an internal re-design of other security mechanisms. I strongly request that dovecot re-consider and re-implement support for lib_wrap.
-- Jim Pazarena dovecot@paz.bz Nanaimo - British Columbia - Canada