[Dovecot] invalid mbox files
Harout S. Hedeshian
harout at hedeshian.net
Sun Jan 8 03:47:55 EET 2006
Thanks for all of the help!
FYI: I am running Mandriva Linux 2005 LE
When I run ./autogen, I get these errors:
[root at www dovecot]# ./autogen.sh
aclocal:configure.in:15: warning: macro `AM_ICONV' not found in library
./autogen.sh: line 2: libtoolize: command not found
configure.in: installing `./install-sh'
configure.in: installing `./missing'
src/auth/Makefile.am:1: library used but `RANLIB' is undefined
src/auth/Makefile.am:1:
src/auth/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/auth/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/auth/Makefile.am: installing `./depcomp'
src/lib-auth/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-auth/Makefile.am:1:
src/lib-auth/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-auth/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-charset/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-charset/Makefile.am:1:
src/lib-charset/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-charset/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-dict/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-dict/Makefile.am:1:
src/lib-dict/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-dict/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-imap/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-imap/Makefile.am:1:
src/lib-imap/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-imap/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-index/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-index/Makefile.am:1:
src/lib-index/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-index/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-mail/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-mail/Makefile.am:1:
src/lib-mail/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-mail/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-ntlm/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-ntlm/Makefile.am:1:
src/lib-ntlm/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-ntlm/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-settings/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-settings/Makefile.am:1:
src/lib-settings/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-settings/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-sql/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-sql/Makefile.am:1:
src/lib-sql/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-sql/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-storage/Makefile.am:3: library used but `RANLIB' is undefined
src/lib-storage/Makefile.am:3:
src/lib-storage/Makefile.am:3: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/Makefile.am:3: to `configure.in' and run `autoconf' again.
src/lib-storage/index/Makefile.am:3: library used but `RANLIB' is undefined
src/lib-storage/index/Makefile.am:3:
src/lib-storage/index/Makefile.am:3: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/index/Makefile.am:3: to `configure.in' and run `autoconf' again.
src/lib-storage/index/dbox/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-storage/index/dbox/Makefile.am:1:
src/lib-storage/index/dbox/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/index/dbox/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-storage/index/maildir/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-storage/index/maildir/Makefile.am:1:
src/lib-storage/index/maildir/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/index/maildir/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-storage/index/mbox/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-storage/index/mbox/Makefile.am:1:
src/lib-storage/index/mbox/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/index/mbox/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-storage/register/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-storage/register/Makefile.am:1:
src/lib-storage/register/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/register/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib-storage/subscription-file/Makefile.am:1: library used but `RANLIB' is undefined
src/lib-storage/subscription-file/Makefile.am:1:
src/lib-storage/subscription-file/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib-storage/subscription-file/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/lib/Makefile.am:1: library used but `RANLIB' is undefined
src/lib/Makefile.am:1:
src/lib/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/lib/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/login-common/Makefile.am:1: library used but `RANLIB' is undefined
src/login-common/Makefile.am:1:
src/login-common/Makefile.am:1: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
src/login-common/Makefile.am:1: to `configure.in' and run `autoconf' again.
src/plugins/imap-quota/Makefile.am:13: Libtool library used but `LIBTOOL' is undefined
src/plugins/imap-quota/Makefile.am:13:
src/plugins/imap-quota/Makefile.am:13: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/imap-quota/Makefile.am:13: to `configure.in' and run `aclocal' and `autoconf' again.
src/plugins/quota/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/plugins/quota/Makefile.am:9:
src/plugins/quota/Makefile.am:9: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/quota/Makefile.am:9: to `configure.in' and run `aclocal' and `autoconf' again.
src/plugins/trash/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/plugins/trash/Makefile.am:9:
src/plugins/trash/Makefile.am:9: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/trash/Makefile.am:9: to `configure.in' and run `aclocal' and `autoconf' again.
src/plugins/zlib/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
src/plugins/zlib/Makefile.am:12:
src/plugins/zlib/Makefile.am:12: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/plugins/zlib/Makefile.am:12: to `configure.in' and run `aclocal' and `autoconf' again.
configure.in:1562: required file `config.h.in' not found
configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:15: error: possibly undefined macro: AM_ICONV
Geff wrote ..
> use the autogen.sh (this is more of a "configure / automake / autoconf
> question). If you're using openbsd you'll have to add the following ot
> the top:
>
> export AUTOMAKE_VERSION=1.9
> export AUTOCONF_VERSION=2.59
>
> (with your version ids) I don't think you'll need these in linux.
>
> Geff
>
> Quoting "Harout S. Hedeshian" <harout at hedeshian.net>:
>
> > Timo Sirainen wrote ..
> >> On Fri, 2006-01-06 at 19:17 -0700, Harout S. Hedeshian wrote:
> >> > Timo Sirainen wrote ..
> >> > > On Fri, 2006-01-06 at 12:11 -0700, Harout S. Hedeshian wrote:
> >> > > > > From someone at somewhere Wed Jan 5 09:03:48 2005
> >> > > ..
> >> > > > From - Sat, 6 Apr 2002 04:07:18
> >> > >
> >> > > How have you added the mails to the mailbox? Dovecot can't handle
> that
> >> > > kind of a timestamp.
> >> >
> >> > Interesting... The dovecot 0.99 I was using was packaged with Mandriva.
> >> Is it possible that they added support for that time stamp themselves?
> >> My mailbox files get generated one of three ways: thunderbird, fetchmail,
> >> and postfix. I used thunderbird to convert my Outlook files to mbox
> files,
> >> and thats the one that I sent. Here is a sample timestamp from postfix:
> >>
> >> It worked with 0.99 only because Dovecot didn't check errors as well
> as
> >> 1.0 does. So it just parsed those timestamps as being invalid, and set
> >> the received-time of mails wrong.
> >>
> >> > > I suppose I could add support for it..
> >> >
> >> > Unless you know of a conversion utility, I think that would be a good
> >> idea. I don't want to edit thousands of emails for multiple users manually
> >> in order to use dovecot.
> >>
> >> Dovecot's current CVS version supports that timestamp format.
> >
> > How do I compile the CVS version? "configure" seems to be missing. I
> > tried downloading the snapshot from 20060105 but that fails make:
> >
> > ~
> > main.c:14:25: dict-client.h: No such file or directory
> > main.c: In function `main_init':
> > main.c:162: warning: implicit declaration of function `dict_client_register'
> > main.c: In function `main_deinit':
> > main.c:206: warning: implicit declaration of function
> > `dict_client_unregister'
> > make[3]: *** [main.o] Error 1
> > make[3]: Leaving directory `/root/dovecot-1.0.alpha5/src/imap'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/root/dovecot-1.0.alpha5/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/dovecot-1.0.alpha5'
> > make: *** [all] Error 2
> >
> > The 20060107 snapshot won't ./configure :
> >
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating doc/Makefile
> > config.status: creating src/Makefile
> > config.status: creating src/lib/Makefile
> > config.status: creating src/lib-sql/Makefile
> > config.status: creating src/lib-auth/Makefile
> > config.status: creating src/lib-charset/Makefile
> > config.status: creating src/lib-dict/Makefile
> > config.status: creating src/lib-imap/Makefile
> > config.status: creating src/lib-index/Makefile
> > config.status: creating src/lib-mail/Makefile
> > config.status: creating src/lib-ntlm/Makefile
> > config.status: creating src/lib-settings/Makefile
> > config.status: creating src/lib-storage/Makefile
> > config.status: creating src/lib-storage/index/Makefile
> > config.status: creating src/lib-storage/index/maildir/Makefile
> > config.status: creating src/lib-storage/index/mbox/Makefile
> > config.status: creating src/lib-storage/index/dbox/Makefile
> > config.status: creating src/lib-storage/subscription-file/Makefile
> > config.status: creating src/lib-storage/register/Makefile
> > config.status: creating src/auth/Makefile
> > config.status: error: cannot find input file: src/dict/Makefile.in
> >
> > [root at www dovecot-1.0.alpha5]# make
> > cd . && /bin/sh ./config.status config.h
> > config.status: creating config.h
> > make all-recursive
> > make[1]: Entering directory `/root/dovecot-1.0.alpha5'
> > Making all in src
> > make[2]: Entering directory `/root/dovecot-1.0.alpha5/src'
> > Making all in lib
> > make[3]: Entering directory `/root/dovecot-1.0.alpha5/src/lib'
> > Makefile:423: .deps/base64.Po: No such file or directory
> > Makefile:424: .deps/bsearch-insert-pos.Po: No such file or directory
> > Makefile:425: .deps/buffer.Po: No such file or directory
> > Makefile:426: .deps/compat.Po: No such file or directory
> > Makefile:427: .deps/data-stack.Po: No such file or directory
> > Makefile:428: .deps/env-util.Po: No such file or directory
> > Makefile:429: .deps/failures.Po: No such file or directory
> > Makefile:430: .deps/fd-close-on-exec.Po: No such file or directory
> > Makefile:431: .deps/fd-set-nonblock.Po: No such file or directory
> > Makefile:432: .deps/fdpass.Po: No such file or directory
> > Makefile:433: .deps/file-cache.Po: No such file or directory
> > Makefile:434: .deps/file-dotlock.Po: No such file or directory
> > Makefile:435: .deps/file-lock.Po: No such file or directory
> > Makefile:436: .deps/file-set-size.Po: No such file or directory
> > Makefile:437: .deps/hash.Po: No such file or directory
> > Makefile:438: .deps/hex-binary.Po: No such file or directory
> > Makefile:439: .deps/hex-dec.Po: No such file or directory
> > Makefile:440: .deps/hmac-md5.Po: No such file or directory
> > Makefile:441: .deps/home-expand.Po: No such file or directory
> > Makefile:442: .deps/hostpid.Po: No such file or directory
> > Makefile:443: .deps/imem.Po: No such file or directory
> > Makefile:444: .deps/ioloop-epoll.Po: No such file or directory
> > Makefile:445: .deps/ioloop-kqueue.Po: No such file or directory
> > Makefile:446: .deps/ioloop-notify-dn.Po: No such file or directory
> > Makefile:447: .deps/ioloop-notify-inotify.Po: No such file or directory
> > Makefile:448: .deps/ioloop-notify-kqueue.Po: No such file or directory
> > Makefile:449: .deps/ioloop-notify-none.Po: No such file or directory
> > Makefile:450: .deps/ioloop-poll.Po: No such file or directory
> > Makefile:451: .deps/ioloop-select.Po: No such file or directory
> > Makefile:452: .deps/ioloop.Po: No such file or directory
> > Makefile:453: .deps/iostream.Po: No such file or directory
> > Makefile:454: .deps/istream-data.Po: No such file or directory
> > Makefile:455: .deps/istream-file.Po: No such file or directory
> > Makefile:456: .deps/istream-limit.Po: No such file or directory
> > Makefile:457: .deps/istream-mmap.Po: No such file or directory
> > Makefile:458: .deps/istream-seekable.Po: No such file or directory
> > Makefile:459: .deps/istream.Po: No such file or directory
> > Makefile:460: .deps/lib-signals.Po: No such file or directory
> > Makefile:461: .deps/lib.Po: No such file or directory
> > Makefile:462: .deps/md4.Po: No such file or directory
> > Makefile:463: .deps/md5.Po: No such file or directory
> > Makefile:464: .deps/mempool-alloconly.Po: No such file or directory
> > Makefile:465: .deps/mempool-datastack.Po: No such file or directory
> > Makefile:466: .deps/mempool-system.Po: No such file or directory
> > Makefile:467: .deps/mempool-unsafe-datastack.Po: No such file or directory
> > Makefile:468: .deps/mempool.Po: No such file or directory
> > Makefile:469: .deps/mkdir-parents.Po: No such file or directory
> > Makefile:470: .deps/mmap-anon.Po: No such file or directory
> > Makefile:471: .deps/mmap-util.Po: No such file or directory
> > Makefile:472: .deps/module-dir.Po: No such file or directory
> > Makefile:473: .deps/network.Po: No such file or directory
> > Makefile:474: .deps/ostream-crlf.Po: No such file or directory
> > Makefile:475: .deps/ostream-file.Po: No such file or directory
> > Makefile:476: .deps/ostream.Po: No such file or directory
> > Makefile:477: .deps/primes.Po: No such file or directory
> > Makefile:478: .deps/printf-upper-bound.Po: No such file or directory
> > Makefile:479: .deps/process-title.Po: No such file or directory
> > Makefile:480: .deps/randgen.Po: No such file or directory
> > Makefile:481: .deps/read-full.Po: No such file or directory
> > Makefile:482: .deps/restrict-access.Po: No such file or directory
> > Makefile:483: .deps/restrict-process-size.Po: No such file or directory
> > Makefile:484: .deps/safe-memset.Po: No such file or directory
> > Makefile:485: .deps/safe-mkdir.Po: No such file or directory
> > Makefile:486: .deps/sendfile-util.Po: No such file or directory
> > Makefile:487: .deps/seq-range-array.Po: No such file or directory
> > Makefile:488: .deps/sha1.Po: No such file or directory
> > Makefile:489: .deps/str-sanitize.Po: No such file or directory
> > Makefile:490: .deps/str.Po: No such file or directory
> > Makefile:491: .deps/strescape.Po: No such file or directory
> > Makefile:492: .deps/strfuncs.Po: No such file or directory
> > Makefile:493: .deps/unix-socket-create.Po: No such file or directory
> > Makefile:494: .deps/unlink-directory.Po: No such file or directory
> > Makefile:495: .deps/unlink-lockfiles.Po: No such file or directory
> > Makefile:496: .deps/utc-mktime.Po: No such file or directory
> > Makefile:497: .deps/utc-offset.Po: No such file or directory
> > Makefile:498: .deps/var-expand.Po: No such file or directory
> > Makefile:499: .deps/write-full.Po: No such file or directory
> > make[3]: *** No rule to make target `.deps/write-full.Po'. Stop.
> > make[3]: Leaving directory `/root/dovecot-1.0.alpha5/src/lib'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/root/dovecot-1.0.alpha5/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/dovecot-1.0.alpha5'
> > make: *** [all] Error 2
> >
> > It seems like the code is horribly broken. All of the nightly
> > snapshots except for 20060107 (which won't configure) fail with
> > "main.c:14:25: dict-client.h: No such file or directory" it does this
> > for src/imap/main.c AND src/pop3/main.c . I tried commenting out any
> > lines that had to do with "dict-client.h" "dict_client_register();"
> > and "dict_client_unregister();" inside the two files and it would
> > compile those files but it would fail in src/deliver claiming that it
> > is too old?
> >
> > make[3]: Entering directory `/root/dovecot-1.0.alpha5/src/deliver'
> > ~
> > deliver.c:4:2: #error This program is somewhat out of date, use
> > dovecot-lda instead
> > make[3]: *** [deliver.o] Error 1
> > make[3]: Leaving directory `/root/dovecot-1.0.alpha5/src/deliver'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/root/dovecot-1.0.alpha5/src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/root/dovecot-1.0.alpha5'
> > make: *** [all] Error 2
> >
> > Harout Hedeshian
> >
> >
Harout Hedeshian
harout at hedeshian.net
720 - 261 - 3548
More information about the dovecot
mailing list