IMAP Tester

imaptest was originally written for stress testing [http://www.dovecot.org/ Dovecot] IMAP server. Its primary testing method is still stress testing, but now it also parses the incoming IMAP replies and complains if anything looks broken.

Compiling

  1. Download and compile Dovecot v1.1 sources. imaptest uses its library functions.
    1. Get the latest beta from http://dovecot.org/releases/1.1/beta/

    2. Compiling goes the usual way: ./configure && make (there's no need for make install)

  2. Download http://www.dovecot.org/tools/imaptest.c to Dovecot sources' root directory (i.e. where the configure script exists)

  3. imaptest's header comment shows the compile command for gcc, use it or something similar.

You may want to modify the default configuration from #defines at the top of the file. This isn't required, but if you run imaptest often this way you don't have to give the same parameters every time.

Running

The most important parameters (and their defaults) are:

Other useful parameters include:

Selecting what to test: