> On Apr 30, 2019, at 2:32 PM, Malcolm via dovecot <dovecot@dovecot.org> wrote: > > On 4/29/2019 11:20 PM, Zhang Huangbin via dovecot wrote: >> I understand what "allow" means. But it will be very handy to support >> something like "!a.b.c.d" to allow all but just exclude few >> IPs/networks. Isn't it? :) > I'm not sure why: > > iptables -A INPUT -p tcp --match multiport --syn ! -s a.b.c.d/netmask \ > --dports 110,143,993,995 -j REJECT Dear Malcolm, Thanks for your reply. As mentioned earlier, this per-user access control, not for all users. This firewall rule blocks all users, not just few users.
- 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