On 30/11/2026 14:35 EET John Fawcett via dovecot
     <[1][email protected]> wrote:


     On 29/11/2026 22:15, Aki Tuomi via dovecot wrote:
     >

       On 29/11/2026 21:00 EET Marc via dovecot <[1][2][email protected]>
       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][email protected]
       To unsubscribe send an email to [3][4][email protected]

     >

       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][email protected]
       2. mailto:[7][email protected]
       3. mailto:[8][email protected]

     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
   1. mailto:[email protected]
   2. mailto:[email protected]
   3. mailto:[email protected]
   4. mailto:[email protected]
   5. https://doc.dovecot.org/latest/core/config/auth/policy.html
   6. mailto:[email protected]
   7. mailto:[email protected]
   8. mailto:[email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to