Does the 2.4.x version allow the use of libwrap as does 2.3.x ?
-- Jim Pazarena dovecot@paz.bz Nanaimo - British Columbia - Canada
On 28/11/2026 14:44, Jim Pazarena via dovecot wrote:
Does the 2.4.x version allow the use of libwrap as does 2.3.x ?
Hi Jim
from here:
https://doc.dovecot.org/main/installation/upgrade/2.3-to-2.4.html
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.
John
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?
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?
_______________________________________________
dovecot mailing list -- [2]dovecot@dovecot.org
To unsubscribe send an email to [3]dovecot-leave@dovecot.org
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
Aki
References
Visible links
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
On 29/11/2026 22:15, 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? _______________________________________________ dovecot mailing list -- [2]dovecot@dovecot.org To unsubscribe send an email to [3]dovecot-leave@dovecot.org 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
Hi Aki
that's useful to know, especially the part about before auth checks.
Currently I'm doing everything with lua and an external policy server.
@Marc, I have implemented dnsbl lookups (to multiple lists), and whitelisting with this approach. I will take a look into the auth policy servers though.
John
On 30/11/2026 14:35 EET John Fawcett via dovecot
<[1]dovecot@dovecot.org> wrote:
On 29/11/2026 22:15, Aki Tuomi via dovecot wrote:
>
On 29/11/2026 21:00 EET Marc via dovecot <[1][2]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?
_______________________________________________
dovecot mailing list -- [2][3]dovecot@dovecot.org
To unsubscribe send an email to [3][4]dovecot-leave@dovecot.org
>
We support auth policy servers e.g. weakforced, which allows you to
check
and drop/tarpit connections prior authentication. See
[5]https://doc.dovecot.org/latest/core/config/auth/policy.html
Aki
References
Visible links
1. mailto:[6]dovecot@dovecot.org
2. mailto:[7]dovecot@dovecot.org
3. mailto:[8]dovecot-leave@dovecot.org
Hi Aki
that's useful to know, especially the part about before auth checks.
Currently I'm doing everything with lua and an external policy server.
@Marc, I have implemented dnsbl lookups (to multiple lists), and
whitelisting with this approach. I will take a look into the auth policy
servers though.
John
If you already have an external policy server, it should be trivial to support auth_policy_server instead. It sends JSON request and expects simple JSON reply.
Aki
References
Visible links
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
- https://doc.dovecot.org/latest/core/config/auth/policy.html
- mailto:dovecot@dovecot.org
- mailto:dovecot@dovecot.org
- mailto:dovecot-leave@dovecot.org
participants (4)
-
Aki Tuomi
-
Jim Pazarena
-
John Fawcett
-
Marc