> On 30 Apr 2019, at 4.56, Zhang Huangbin via dovecot <dovecot@dovecot.org> > wrote: > > Dear all, > > We use `allow_nets`[1] to restrict login clients, it works fine. > Recently we need to allow some users to login from everywhere except some > IP/networks, how can we accomplish this with "allow_nets"? > > Tried allow_nets="!a.b.c.d", but Dovecot reports error "allow_nets: Invalid > network '!a.b.c.d'". > > Can we have this feature? Just create another passdb for these premium users before the actual passdb and add skip = authenticated to the actual passdb. Sami
- Feature request: exclude IP/network in allow_ne... Zhang Huangbin via dovecot
- Re: Feature request: exclude IP/network in... @lbutlr via dovecot
- Re: Feature request: exclude IP/networ... Zhang Huangbin via dovecot
- Re: Feature request: exclude IP/ne... Malcolm via dovecot
- Re: Feature request: exclude I... Zhang Huangbin via dovecot
- Re: Feature request: exclude IP/ne... @lbutlr via dovecot
- Re: Feature request: exclude IP/network in... Sami Ketola via dovecot
- Re: Feature request: exclude IP/networ... Zhang Huangbin via dovecot
- Re: Feature request: exclude IP/network in... andre via dovecot
- Re: Re: Feature request: exclude IP/ne... andre via dovecot
- Re: Feature request: exclude IP/networ... Zhang Huangbin via dovecot
- Re: Feature request: exclude IP/network in... A. Schulze via dovecot