1 May
2019
1 May
'19
5:21 a.m.
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.