7
7
If the vpopmail database contains plaintext passwords, it can be used for
8
8
non-plaintext authentication as well.
10
You can use auth_cache with VPopMail if you give 'cache_key' parameter. See
11
<PAM> [PasswordDatabase.PAM.txt] for more information about it.
12
* cache_key: If set, you can use 'auth_cache' with VPopMail. See <PAM>
13
[PasswordDatabase.PAM.txt] for more information about it.
14
* webmail=IP: If IP address is specified, connections from it are assumed to
15
come from webmail and VPopMail's webmail usage restrictions apply.
16
20
Alternatively, you can use the SQL backend with the following configuration:
18
* ---%<----------------------------------------------------------------------
21
connect = host=/var/run/mysqld/mysqld.sock user=vpopmail
22
password=YOURPASSWORDHERE dbname=vpopmail
24
default_pass_scheme = PLAIN
26
password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user,
27
pw_clear_passwd AS password FROM vpopmail WHERE pw_name = '%n' AND pw_domain
30
user_query = SELECT pw_dir as home, 64020 AS uid, 64020 AS gid FROM vpopmail
31
WHERE pw_name = '%n' AND pw_domain = '%d'
32
---%<----------------------------------------------------------------------
22
---%<-------------------------------------------------------------------------
25
connect = host=/var/run/mysqld/mysqld.sock user=vpopmail
26
password=YOURPASSWORDHERE dbname=vpopmail
28
default_pass_scheme = PLAIN
30
password_query = SELECT CONCAT(pw_name, '@', pw_domain) AS user,
31
pw_clear_passwd AS password FROM vpopmail WHERE pw_name = '%n' AND pw_domain =
34
user_query = SELECT pw_dir as home, 64020 AS uid, 64020 AS gid FROM vpopmail
35
WHERE pw_name = '%n' AND pw_domain = '%d'
36
---%<-------------------------------------------------------------------------
35
38
Most vpopmail installations use 89 as the uid/gid, not 64020.
37
(This file was created from the wiki on 2008-06-20 04:42)
40
(This file was created from the wiki on 2009-01-05 04:42)