Skip to content

Commit a54f690

Browse files
author
Zoe Slattery
committed
README for ext/imap tests
1 parent e780773 commit a54f690

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

ext/imap/tests/README

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
Many 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+
4+
To 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+
7+
The 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+
9+
The 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+
--------------------------------------------------
12+
protocols = imap imaps
13+
14+
listen = *
15+
16+
ssl_disable = yes
17+
18+
disable_plaintext_auth=yes
19+
20+
## Mailbox locations and namespaces
21+
22+
mail_location = maildir:/home/vmail/mail/%d/%n/Maildir
23+
24+
auth_verbose = yes
25+
26+
auth_debug = yes
27+
28+
auth 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+

0 commit comments

Comments
 (0)