summaryrefslogtreecommitdiffstats
path: root/doc/wiki/PasswordDatabase.IMAP.txt
blob: 02f3db858488a66017e9bef02fc47e8637ca0e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Authentication via remote IMAP server
=====================================

Available driver settings:

 * host=<template> : IP address or hostname. Allows <%variables>
   [Variables.txt] (e.g.'host=imap.%d')
 * port=<port>
 * username=<template> : The default is %u, but this could be changed to for
   example '%n@example.com'
 * ssl=imaps / ssl=starttls
    * ssl_ca_dir=<path>
    * ssl_ca_file=<path> (v2.2.30+)
    * allow_invalid_cert=yes|no : Whether to allow authentication even if the
      certificate isn't trusted. For v2.2 it defaults to "yes". (v2.2.30+)
 * rawlog_dir=<path>

See also <HowTo.ImapcProxy.txt> for how to combine this with imapc storage.

Example
-------

Authenticates users against remote IMAP server in IP address 192.168.1.123:

---%<-------------------------------------------------------------------------
passdb {
  driver = imap
  args = host=192.168.1.123
}
---%<-------------------------------------------------------------------------

(This file was created from the wiki on 2019-06-19 12:42)