Increase clarity of the IMAP seaction in README.md
The previous explanation was somewhat inaccurate.
This commit is contained in:
@@ -74,7 +74,10 @@ Add the following to your `config.php`:
|
|||||||
),
|
),
|
||||||
|
|
||||||
This connects to the IMAP server on IP `127.0.0.1`.
|
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
|
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
|
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
|
login the domain part will be striped and the rest used as username in
|
||||||
|
|||||||
Reference in New Issue
Block a user