php-src/ext/imap/tests
2008-12-24 11:50:42 +00:00
..
bug31142_1.phpt
bug31142_2.phpt
bug32589.phpt
bug35669.phpt
bug40854.phpt
bug45705_1.phpt
bug45705_2.phpt
bug46918.phpt - New test 2008-12-24 11:50:42 +00:00
clean.inc
imap_8bit_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_alerts_error.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_append_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_base64_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_binary_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_body_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_bodystruct_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_clearflag_full_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_close_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_close_error.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_close_variation1.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_close_variation2.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_close_variation3.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_close_variation4.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_createmailbox_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_errors_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetch_overview_basic.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetch_overview_error.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetch_overview_variation1.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetch_overview_variation2.phpt fix resource id 2008-12-09 13:43:00 +00:00
imap_fetch_overview_variation3.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetch_overview_variation4.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetch_overview_variation5.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetch_overview_variation6.phpt tests for imap_fetch_overview 2008-12-08 19:10:45 +00:00
imap_fetchbody_basic.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_error.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_variation1.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_variation2.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_variation3.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_variation4.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_variation5.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_fetchbody_variation6.phpt Miscellaneous tests for ext/imap 2008-12-17 15:05:38 +00:00
imap_include.inc
imap_utf8.phpt
README README for ext/imap tests 2008-12-17 15:35:21 +00:00
skipif.inc

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.

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. 


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.

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.

--------------------------------------------------
protocols = imap imaps

listen = *

ssl_disable = yes

disable_plaintext_auth=yes

## Mailbox locations and namespaces

mail_location = maildir:/home/vmail/mail/%d/%n/Maildir

auth_verbose = yes

auth_debug = yes

auth default {

  mechanisms = login

  passdb passwd-file {
    args = /etc/dovecot/dovecotpass
  }

  userdb static {
    args = uid=11459 gid=1002 home=/home/vmail/dovecot/mail/%d/%n
  }

  user = root
}