diff --git a/configure.in b/configure.in
index 7581b47f0e9f19b7e56f743cee6b345fa1ea0b40..0f01ac740adce75189aa1d17700ec12677812e9e 100644
--- a/configure.in
+++ b/configure.in
@@ -23,7 +23,7 @@ AC_PROG_LIBTOOL
 AC_ARG_WITH(dovecot,
 [AC_HELP_STRING([--with-dovecot=DIR], [Dovecot base directory [../dovecot]])],
 	dovecotdir="$withval",
-	dovecotdir=../dovecot
+	dovecotdir=../dovecot-2.0
 )
 old=`pwd`
 cd $dovecotdir