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.
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