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
@@ -226,16 +226,18 @@ Or use it directly in the Apache configuration
226
226
227
227
### Specific environment variables for IMAP and LDAP authentication methods
228
228
229
-
In case you use the `IMAP` auth type, you must specify the auth url (_the "mailbox" url_) in`IMAP_AUTH_URL`.
229
+
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.
230
230
231
-
You should also explicitely define whether you want new authenticated to be created upon login:
231
+
You should also explicitely define whether you want new authenticated users to be created upon login:
232
232
233
233
```shell
234
-
IMAP_AUTH_URL="{imap.gmail.com:993}"
234
+
IMAP_AUTH_URL=imap.mydomain.com:993
235
+
IMAP_ENCRYPTION_METHOD=ssl # ssl, tls or false
236
+
IMAP_CERTIFICATE_VALIDATION=true
235
237
IMAP_AUTH_USER_AUTOCREATE=true # false by default
236
238
```
237
239
238
-
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_):
240
+
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_):
239
241
240
242
```shell
241
243
LDAP_AUTH_URL=ldap://127.0.0.1:3890 # default LDAP port
0 commit comments