Increase clarity of the IMAP seaction in README.md

The previous explanation was somewhat inaccurate.
This commit is contained in:
0x47
2019-04-01 22:36:49 +00:00
committed by GitHub
parent 77fb18b66f
commit 35ea856d06

View File

@@ -74,7 +74,10 @@ Add the following to your `config.php`:
),
This connects to the IMAP server on IP `127.0.0.1`.
The default port is 143; however if you want to restrict the domain, you need to specify the port and set sslmode to `null`.
The default port is 143. However, note that parameter order matters and if
you want to restrict the domain (4th parameter), you need to also specify
the port (2nd parameter) and sslmode (3rd parameter; set to `null` for
insecure connection).
If a domain name (e.g. example.com) is specified, then this makes sure that
only users from this domain will be allowed to login. After successfull
login the domain part will be striped and the rest used as username in