xref: /PHP-5.6/ext/imap/tests/README (revision fee9ce41)
1
2Many of the tests in this directory require a mail server to be running, if there is no mail server the test will skip and warn, see skipif.inc for details.
3
4To make the tests run parameters in the skipif.inc and imap_include.inc file will need to be changed to match the local mailserver configuration.
5
6
7The tests have been checked using dovecot (on Linux 32 and 64 bit systems) and hMailServer on Windows. The tests are intended to be mailserver agnostic.
8
9The tests can be run without modification with a fairly minimal dovecot installation. For information, the dovecot.conf file used in running the tests is given below (after -----). The dovecot password file (dovecotpass) requires a password for one user, webmaster@something.com. It's also necessary to set up one additional user ID (vmail) to own the mail directory.
10
11--------------------------------------------------
12protocols = imap imaps
13
14listen = *
15
16ssl_disable = yes
17
18disable_plaintext_auth=yes
19
20## Mailbox locations and namespaces
21
22mail_location = maildir:/home/vmail/mail/%d/%n/Maildir
23
24auth_verbose = yes
25
26auth_debug = yes
27
28auth default {
29
30  mechanisms = login
31
32  passdb passwd-file {
33    args = /etc/dovecot/dovecotpass
34  }
35
36  userdb static {
37    args = uid=11459 gid=1002 home=/home/vmail/dovecot/mail/%d/%n
38  }
39
40  user = root
41}
42
43
44
45
46