allow_nets equivalent for all users?

Aki Tuomi aki.tuomi at open-xchange.com
Mon Mar 14 16:33:16 UTC 2022


> On 14/03/2022 18:31 Bryan K. Walton <bwalton.21225 at leepfrog.com> wrote:
> 
>  
> Hi,
> 
> It is my understanding that allow_nets is a field that gets used in a
> password database, and therefore is a per-user setting.
> 
> Is there an equivalent method for defining allowed network(s) for ALL
> users? In other words, a single setting that applies to every user?
> 
> Thanks,
> Bryan

If you really want, you can add default_fields = allow_nets=value or override_fields = allow_nets=value to the passdb.

But question arises, why not just firewall the machine and allow connections from trusted networks only?

Aki


More information about the dovecot mailing list