From 2220655c5c8dd5b6ca6a9f3011140d1d9c0d949f Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Tue, 7 Apr 2015 20:18:58 +0800 Subject: [PATCH] Typo --- ...restrict.mail.user.to.login.from.specified.ip.or.networks.md | 2 +- ...strict.mail.user.to.login.from.specified.ip.or.networks.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/howto/restrict.mail.user.to.login.from.specified.ip.or.networks.md b/howto/restrict.mail.user.to.login.from.specified.ip.or.networks.md index abd3113a..45b51da6 100644 --- a/howto/restrict.mail.user.to.login.from.specified.ip.or.networks.md +++ b/howto/restrict.mail.user.to.login.from.specified.ip.or.networks.md @@ -17,7 +17,7 @@ To remove this restriction (allow to login from anywhere), just set value of SQL column `mailbox.allow_nets` to NULL. WARNING: It must be NULL, not empty string. -## How to restrict with OpenLDAP backend +## OpenLDAP backend To allow user `user@domain.com` to login from IP `172.16.244.1` and network `192.168.1.0/24`, please add new attribute `allowNets` to this user: diff --git a/html/restrict.mail.user.to.login.from.specified.ip.or.networks.html b/html/restrict.mail.user.to.login.from.specified.ip.or.networks.html index 84e54e54..83a12245 100644 --- a/html/restrict.mail.user.to.login.from.specified.ip.or.networks.html +++ b/html/restrict.mail.user.to.login.from.specified.ip.or.networks.html @@ -23,7 +23,7 @@ sql> UPDATE mailbox SET allow_nets='172.16.244.1,192.168.1.0/24' WHERE userna

To remove this restriction (allow to login from anywhere), just set value of SQL column mailbox.allow_nets to NULL. WARNING: It must be NULL, not empty string.

-

How to restrict with OpenLDAP backend

+

OpenLDAP backend

To allow user user@domain.com to login from IP 172.16.244.1 and network 192.168.1.0/24, please add new attribute allowNets to this user:

allowNets: 192.168.1.10,192.168.1.0/24