On 29 Apr 2019, at 19:56, Zhang Huangbin via dovecot <dovecot@dovecot.org> wrote: > Recently we need to allow some users to login from everywhere except some > IP/networks,
Can you use firewall rules for this? > how can we accomplish this with "allow_nets"? Allow_nets specifies allowed networks. Doesn't say anything else about any other use. "The allow_nets field is a comma separated list of IP addresses and/or networks where the user is allowed to log in from."