You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,16 +239,18 @@ Or use it directly in the Apache configuration
239
239
240
240
### Specific environment variables for IMAP and LDAP authentication methods
241
241
242
-
In case you use the `IMAP` auth type, you must specify the auth url (_the "mailbox" url_) in `IMAP_AUTH_URL`.
242
+
In case you use the `IMAP` auth type, you must specify the auth url (_the "mailbox" url_) in `IMAP_AUTH_URL` as `host:port`, the encryption method (SSL, TLS or None) and whether the certificate should be validated.
243
243
244
-
You should also explicitely define whether you want new authenticated to be created upon login:
244
+
You should also explicitely define whether you want new authenticated users to be created upon login:
245
245
246
246
```shell
247
-
IMAP_AUTH_URL="{imap.gmail.com:993}"
247
+
IMAP_AUTH_URL=imap.mydomain.com:993
248
+
IMAP_ENCRYPTION_METHOD=ssl # ssl, tls or false
249
+
IMAP_CERTIFICATE_VALIDATION=true
248
250
IMAP_AUTH_USER_AUTOCREATE=true # false by default
249
251
```
250
252
251
-
Same goes for LDAP, where you must specify the LDAP server url, the DN pattern, the Mail attribute, as well as whether you want new authenticated to be created upon login (_like for IMAP_):
253
+
Same goes for LDAP, where you must specify the LDAP server url, the DN pattern, the Mail attribute, as well as whether you want new authenticated users to be created upon login (_like for IMAP_):
252
254
253
255
```shell
254
256
LDAP_AUTH_URL=ldap://127.0.0.1:3890 # default LDAP port
0 commit comments