php-src/ext/imap/tests
Antony Dovgal 3af4a22a3c fix test
2009-07-26 19:51:24 +00:00
..
bug31142_1.phpt
bug31142_2.phpt
bug32589.phpt
bug35669.phpt
bug40854.phpt
bug45705_1.phpt
bug45705_2.phpt
bug46918.phpt
clean.inc
imap_8bit_basic.phpt
imap_alerts_error.phpt
imap_append_basic.phpt
imap_base64_basic.phpt
imap_binary_basic.phpt
imap_body_basic.phpt
imap_body.phpt
imap_bodystruct_basic.phpt
imap_clearflag_full_basic.phpt
imap_close_basic.phpt
imap_close_error.phpt
imap_close_variation1.phpt
imap_close_variation2.phpt
imap_close_variation3.phpt
imap_close_variation4.phpt
imap_createmailbox_basic.phpt
imap_errors_basic.phpt
imap_expunge_error.phpt
imap_fetch_overview_basic.phpt
imap_fetch_overview_error.phpt
imap_fetch_overview_variation1.phpt
imap_fetch_overview_variation2.phpt
imap_fetch_overview_variation3.phpt
imap_fetch_overview_variation4.phpt
imap_fetch_overview_variation5.phpt
imap_fetch_overview_variation6.phpt
imap_fetchbody_basic.phpt
imap_fetchbody_error.phpt
imap_fetchbody_variation1.phpt
imap_fetchbody_variation2.phpt
imap_fetchbody_variation3.phpt
imap_fetchbody_variation4.phpt
imap_fetchbody_variation5.phpt
imap_fetchbody_variation6.phpt
imap_fetchheader_basic.phpt
imap_fetchheader_error.phpt
imap_fetchheader_variation1.phpt
imap_fetchheader_variation2.phpt
imap_fetchheader_variation3.phpt
imap_fetchheader_variation4.phpt
imap_fetchheader_variation5.phpt
imap_gc_error.phpt
imap_headers.phpt
imap_include.inc
imap_mutf7_to_utf8.phpt
imap_num_msg_error.phpt
imap_num_recent_error.phpt
imap_open_error.phpt
imap_ping_error.phpt
imap_utf8_to_mutf7_basic.phpt
imap_utf8.phpt
README
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
}