Differences between revisions 2 and 17 (spanning 15 versions)
Revision 2 as of 2008-02-28 22:05:47
Size: 1373
Editor: TimoSirainen
Comment:
Revision 17 as of 2015-01-07 20:24:21
Size: 1691
Editor: ip-64-134-230-214
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 4: Line 3:

 1. Download and compile Dovecot v1.1 sources. imaptest uses its library functions. Dovecot doesn't have any external dependencies.
  1. v1.1.rc1 doesn't have all the required changes yet, currently you need the latest nightly snapshot: http://dovecot.org/nightly/
   * FIXME: (1. Get the latest RC from http://dovecot.org/releases/1.1/rc/)
 1. Download and compile Dovecot '''v2.2''' 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
Line 9: Line 6:
   * imaptest configure wants to find {{{dovecot-config}}}, which is created by running (and finishing) {{{make}}}
   * If you want to avoid having to install shared Dovecot libraries, you can use {{{./configure --without-shared-libs}}}
Line 10: Line 9:
  * {{{./configure --with-dovecot=../dovecot-1.1 && make}}}
  * {{{--with-dovecot=<path>}}} parameter is used to specify path to Dovecot v1.1 sources' root directory.
  * {{{./configure --with-dovecot=../dovecot-20080611 && make}}}
  * {{{--with-dovecot=<path>}}} parameter is used to specify path to Dovecot v2.2 sources' root directory.
Line 13: Line 12:
 1. Also note that [[ImapTest/Running#Append_mbox|you need a test mbox file where messages are uploaded from]].
Line 17: Line 16:

You can also get imaptest sources from [http://www.selenic.com/mercurial/ Mercurial] repository:
You can also get imaptest sources from [[http://www.selenic.com/mercurial/|Mercurial]] repository:
Line 23: Line 21:
Line 30: Line 27:
You can see the latest changes using Mercurial's [[http://hg.dovecot.org/imaptest/|web interface]].
Line 31: Line 29:
You can see the latest changes using Mercurial's [http://hg.dovecot.org/imaptest/ web interface]. Run {{{autoreconf -i}}} to build configure script.

ImapTest Installation

Compiling

  1. Download and compile Dovecot v2.2 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

      • If you want to avoid having to install shared Dovecot libraries, you can use ./configure --without-shared-libs

  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.2 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)