Differences between revisions 12 and 14 (spanning 2 versions)
Revision 12 as of 2010-09-30 14:52:55
Size: 1566
Editor: 194
Comment:
Revision 14 as of 2012-03-23 14:08:55
Size: 1568
Editor: TimoSirainen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 1. Download and compile Dovecot '''v2.0''' sources (older versions won't work). imaptest uses its library functions. Dovecot doesn't have any external dependencies.  1. Download and compile Dovecot '''v2.1''' sources (older versions won't work). imaptest uses its library functions. Dovecot doesn't have any external dependencies.
Line 11: Line 11:
 1. Also note that [[ImapTest/Running#Append_mbox|you need a test mbox file where messages are uploaded from]].
Line 12: Line 13:

Also note that [[ImapTest/Running#Append_mbox|you need a test mbox file where messages are uploaded from]].

ImapTest Installation

Compiling

  1. Download and compile Dovecot v2.1 sources (older versions won't work). imaptest uses its library functions. Dovecot doesn't have any external dependencies.

    1. Get the latest nightly snapshot from http://dovecot.org/nightly/dovecot-latest.tar.gz

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

      • imaptest configure wants to find dovecot-config, which is created by running (and finishing) make

  2. Download and compile http://dovecot.org/nightly/imaptest/imaptest-latest.tar.gz

    • ./configure --with-dovecot=../dovecot-20080611 && make

    • --with-dovecot=<path> parameter is used to specify path to Dovecot v2.0 sources' root directory.

  3. Either make install or run src/imaptest directly.

  4. Also note that you need a test mbox file where messages are uploaded from.

You may want to modify the default configuration from #defines in src/settings.h. This isn't required, but if you run imaptest often, this way you don't have to give the same parameters every time.

Mercurial repository

You can also get imaptest sources from Mercurial repository:

hg clone http://hg.dovecot.org/imaptest/

You can update it later with:

hg pull
hg update

You can see the latest changes using Mercurial's web interface.

Run autoreconf -i to build configure script.

None: ImapTest/Installation (last edited 2023-11-07 21:12:42 by TimoSirainen)