config/auth/policy.html was: tcpwrappers / libwrap
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
Jim Pazarena via dovecot said on Sun, 29 Nov 2026 15:30:23 -0700
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, what alternatives to Dovecot have you investigated? Pretty soon I need to decide whether to upgrade to 2.4.x, or go with an alternative IMAP server. Frankly, I'm not a fan of the way everything was changed and often made worse by the 2.4.x version.
SteveT
Steve Litt
Jim Pazarena via dovecot said on Sun, 29 Nov 2026 15:30:23 -0700
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, what alternatives to Dovecot have you investigated? Pretty soon I need to decide whether to upgrade to 2.4.x, or go with an alternative IMAP server. Frankly, I'm not a fan of the way everything was changed and often made worse by the 2.4.x version.
This tcp-wrappers was initially being dropped by redhat, they are fucking things up to push own stuff like freeipa etc. Or maybe there were bigger issues with tcp-wrappers.
FYI coding and software are not issues any more. If you dump into AI what you want, you get pretty much what you need, and for now I have to admit that even local AI results are better than the freelance coders we had for Wordpress, PHP and Java. And some c++ work (for a by redhat fucked up daemon plugin) that nobody wanted to do, is now after years finally done. Software and functionality are not problems any more. I did not look at dovecot (yet) but I think with their modular structure you can do quite a lot. I have the impression that the coming years projects like dovecot will flourish and have many more enterprise features.
participants (3)
-
Jim Pazarena
-
Marc
-
Steve Litt