• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..18-Jan-2022-

setup/H18-Jan-2022-304249

README.mdH A D18-Jan-20221.1 KiB2518

bug31142_1.phptH A D18-Jan-20221.2 KiB6045

bug31142_2.phptH A D18-Jan-2022675 2924

bug32589.phptH A D18-Jan-2022728 3328

bug35669.phptH A D18-Jan-20221.8 KiB6754

bug40854.phptH A D18-Jan-20221.2 KiB5844

bug44098.phptH A D18-Jan-2022331 1614

bug45705_1.phptH A D18-Jan-2022434 1916

bug45705_2.phptH A D18-Jan-20221.4 KiB5248

bug46918.phptH A D18-Jan-20221.5 KiB7673

bug53377.phptH A D18-Jan-2022690 3836

bug63126.phptH A D18-Jan-20221.5 KiB5653

bug64076.phptH A D18-Jan-2022582 2524

bug75774.phptH A D18-Jan-2022537 2621

bug77020.phptH A D18-Jan-2022228 1413

bug77153.phptH A D18-Jan-2022618 2524

bug80213.phptH A D18-Jan-2022507 2724

bug80215.phptH A D18-Jan-20221.1 KiB7069

bug80216.phptH A D18-Jan-2022498 1817

bug80220.phptH A D18-Jan-2022604 3529

bug80223.phptH A D18-Jan-2022736 2928

bug80226.phptH A D18-Jan-2022524 2724

bug80242.phptH A D18-Jan-2022422 2322

bug80438.phptH A D18-Jan-20221.3 KiB6557

bug80710_1.phptH A D18-Jan-20221.2 KiB3832

bug80710_2.phptH A D18-Jan-20221.2 KiB3832

bug80800.phptH A D18-Jan-2022519 2217

imap_8bit_basic.phptH A D18-Jan-2022872 2724

imap_append_basic.phptH A D18-Jan-20221.8 KiB6355

imap_base64_basic.phptH A D18-Jan-2022890 4136

imap_binary_basic.phptH A D18-Jan-20221.7 KiB4236

imap_body_basic.phptH A D18-Jan-20221,008 4235

imap_body_errors.phptH A D18-Jan-20221.1 KiB5142

imap_body_uid.phptH A D18-Jan-2022599 2923

imap_bodystruct_basic.phptH A D18-Jan-20221.5 KiB7259

imap_clearflag_full_basic.phptH A D18-Jan-20222.3 KiB119110

imap_clearflag_full_uid.phptH A D18-Jan-20221.8 KiB9181

imap_close_basic.phptH A D18-Jan-20221.5 KiB5142

imap_close_variation4.phptH A D18-Jan-20222.4 KiB8772

imap_createmailbox_basic.phptH A D18-Jan-20222 KiB6956

imap_delete_uid.phptH A D18-Jan-2022933 5244

imap_errors_basic.phptH A D18-Jan-2022756 3227

imap_fetch_overview_basic.phptH A D18-Jan-20221.7 KiB9075

imap_fetch_overview_uid.phptH A D18-Jan-2022687 3024

imap_fetch_overview_variation3.phptH A D18-Jan-20221.7 KiB7159

imap_fetch_overview_variation5.phptH A D18-Jan-20222.2 KiB138119

imap_fetch_overview_variation6.phptH A D18-Jan-20222.6 KiB10484

imap_fetchbody_basic.phptH A D18-Jan-20222.2 KiB8067

imap_fetchbody_errors.phptH A D18-Jan-20221.2 KiB5040

imap_fetchbody_uid.phptH A D18-Jan-2022660 3024

imap_fetchbody_variation4.phptH A D18-Jan-20221.8 KiB7562

imap_fetchbody_variation6.phptH A D18-Jan-20221.3 KiB5444

imap_fetchheader_basic.phptH A D18-Jan-20221.8 KiB7868

imap_fetchheader_errors.phptH A D18-Jan-20221.1 KiB4839

imap_fetchheader_uid.phptH A D18-Jan-2022634 2923

imap_fetchheader_variation3.phptH A D18-Jan-20221.8 KiB7260

imap_fetchheader_variation5.phptH A D18-Jan-20221.4 KiB6048

imap_fetchmime_errors.phptH A D18-Jan-20221.2 KiB5040

imap_fetchmime_uid.phptH A D18-Jan-2022660 3024

imap_fetchstructure_basic.phptH A D18-Jan-20221.1 KiB6254

imap_fetchstructure_errors.phptH A D18-Jan-20221.1 KiB4839

imap_fetchstructure_uid.phptH A D18-Jan-2022689 3024

imap_gc_error.phptH A D18-Jan-2022625 3228

imap_getsubscribed_basic.phptH A D18-Jan-20221.2 KiB5343

imap_headerinfo_basic.phptH A D18-Jan-20222.3 KiB131116

imap_list_basic.phptH A D18-Jan-2022647 3023

imap_lsub_basic.phptH A D18-Jan-20221 KiB4837

imap_mail_copy_basic.phptH A D18-Jan-2022875 3731

imap_mail_move_basic.phptH A D18-Jan-2022883 3731

imap_mutf7_to_utf8.phptH A D18-Jan-2022298 1916

imap_open_error.phptH A D18-Jan-2022863 3831

imap_open_with_cl_expunge.phptH A D18-Jan-20221.1 KiB4436

imap_renamemailbox_basic.phptH A D18-Jan-2022920 3932

imap_reopen_with_cl_expunge.phptH A D18-Jan-20221.3 KiB4939

imap_rfc822_parse_headers_basic.phptH A D18-Jan-20222.1 KiB124108

imap_rfc822_write_address_basic.phptH A D18-Jan-2022288 1312

imap_savebody_basic.phptH A D18-Jan-2022832 4438

imap_savebody_errors.phptH A D18-Jan-20221.2 KiB5040

imap_savebody_uid.phptH A D18-Jan-2022920 4031

imap_search_basic.phptH A D18-Jan-2022668 4236

imap_setflag_full_basic.phptH A D18-Jan-20221.3 KiB8374

imap_setflag_full_uid.phptH A D18-Jan-20221.9 KiB10997

imap_sort_uid.phptH A D18-Jan-2022819 5751

imap_timeout_basic.phptH A D18-Jan-2022978 4942

imap_undelete_basic.phptH A D18-Jan-2022553 3125

imap_undelete_uid.phptH A D18-Jan-2022799 4639

imap_utf8.phptH A D18-Jan-2022265 1916

imap_utf8_to_mutf7_basic.phptH A D18-Jan-2022324 1916

README.md

1# The imap extension tests
2
3Many of the tests in this directory require a mail server to be running, if
4there is no mail server the test will skip and warn, see skipif.inc for details.
5
6To make the tests run parameters in the `skipif.inc` and `imap_include.inc`
7files will need to be changed to match the local mailserver configuration.
8
9The tests have been checked using dovecot (on Linux 32 and 64 bit systems) and
10hMailServer on Windows. The tests are intended to be mailserver agnostic.
11
12## Set-up tests on Ubuntu (checked on Ubuntu 18.04 (Bionic))
13The necessary packages can be installed using the following command;
14`apt-get install libc-client-dev libkrb5-dev dovecot-core dovecot-pop3d dovecot-imapd sendmail`
15
16The build of PHP will need to be compiled with the following flags:
17```
18--with-imap --with-kerberos --with-imap-ssl
19```
20
21Then run the set-up script `ext/imap/tests/setup/setup.sh` which will add the `vmail`
22group and user which is used by Dovecot for the mailbox. It will also copy the
23`ext/imap/tests/setup/dovecot.conf` and `ext/imap/tests/setup/dovecotpass` to the correct
24location for Dovecot and restarts it for the new configuration to be enabled.
25