Hello! I recently upgraded from dovecot 0.9x to 1.0.5-Aplha and now when ever folders are opened (in IMAP), it keeps saying invalid mbox files. It worked fine in 0.99.x. It is detecting the right mbox files because it lists the folders and the subscriptions correctly. I am using "default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u" in the config file, but I get the same error with "Detect automatically". It generates nothing in the log files so I am lost!! I tried both outlook and thunderbird but same results. Thanks for the help, Harout S. Hedeshian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://dovecot.org/pipermail/dovecot/attachments/20051230/4686ec16/attachment.pgp
On Fri, 2005-12-30 at 17:50 -0700, Harout S. Hedeshian wrote:> I recently upgraded from dovecot 0.9x to 1.0.5-Aplha and now when ever folders are opened (in IMAP), it keeps saying invalid mbox files. It worked fine in 0.99.x. It is detecting the right mbox files because it lists the folders and the subscriptions correctly. I am using "default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u" in the config file, but I get the same error with "Detect automatically". It generates nothing in the log files so I am lost!! I tried both outlook and thunderbird but same results.Invalid mbox file error comes only if the first line of the mbox file isn't valid. What does it look like? It should be something like: From someone@somewhere Wed Jan 5 09:03:48 2005 0.99.x Dovecot didn't accept broken From-lines either, but it might have had slightly different logic in checking what's valid and what's not. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20051231/79fa83c2/attachment.pgp
I am resending this because I have not gotten a response in a few days. Help is appreciated! Timo Sirainen wrote ..> On Fri, 2005-12-30 at 17:50 -0700, Harout S. Hedeshian wrote: > > I recently upgraded from dovecot 0.9x to 1.0.5-Aplha and now when ever > folders are opened (in IMAP), it keeps saying invalid mbox files. It worked > fine in 0.99.x. It is detecting the right mbox files because it lists the > folders and the subscriptions correctly. I am using "default_mail_env > = mbox:~/mail/:INBOX=/var/mail/%u" in the config file, but I get the same > error with "Detect automatically". It generates nothing in the log files > so I am lost!! I tried both outlook and thunderbird but same results. > > Invalid mbox file error comes only if the first line of the mbox file > isn't valid. What does it look like? It should be something like: > > From someone at somewhere Wed Jan 5 09:03:48 2005 > > 0.99.x Dovecot didn't accept broken From-lines either, but it might have > had slightly different logic in checking what's valid and what's not.Here is a sample file generated by postfix. Note: it is NOT censored or edited. What you see is the real thing.>From - Sat, 6 Apr 2002 04:07:18^MReturn-Path: <List-owner at mail.fuelcellstore.com> Received: from mail.fuelcellstore.com ([207.174.23.2]) by rwcrgwc55.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020406013417.LNRM3313.rwcrgwc55.attbi.com at mail.fuelcellstore.com> for <haroutetoot at attbi.com>; Sat, 6 Apr 2002 01:34:17 +0000 Received: from saa01.saleebaadams.com.au [203.59.141.98] by mail.revealmail.com with ESMTP (SMTPD32-7.06) id A64E1BA01F8; Fri, 05 Apr 2002 17:50:22 -0700 Received: from saa01.saleebaadams.com.au (10.0.0.13 [10.0.0.13]) by saa01.saleebaadams.com.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 1KDV523W; Sat, 6 Apr 2002 08:45:25 +0800 Received: by saa01.saleebaadams.com.au (Microsoft Exchange Connector for POP3 Mailboxes 4.50.2113) with SMTP (Global POP3 Download) id MSG04062002-084518-2751.MMD at SAA01; Sat, 6 Apr 2002 08:45:18 +0800 Return-Path: <List-owner at mail.fuelcellstore.com> Delivered-To: saa at iinet.net.au Received: (qmail 28777 invoked by uid 666); 6 Apr 2002 00:24:40 -0000 Delivered-To: saa-saleebaadamscomau-n.juniper at saleebaadams.com.au X-Envelope-To: <n.juniper at saleebaadams.com.au> Received: (qmail 28767 invoked by uid 666); 6 Apr 2002 00:24:39 -0000 Received: from unknown (HELO mail.fuelcellstore.com) (207.174.23.2) by mail.iinet.net.au with SMTP; 6 Apr 2002 00:24:39 -0000 Received: from mtiwmhc23.worldnet.att.net [204.127.131.48] by mail.revealmail.com with ESMTP (SMTPD32-7.06) id AD4D1690192; Fri, 05 Apr 2002 17:11:57 -0700 Received: from jason ([12.81.167.50]) by mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020406001120.RBFM8815.mtiwmhc23.worldnet.att.net at jason>; Sat, 6 Apr 2002 00:11:20 +0000 Reply-To: fuelcell at fuelcellstore.com From: "fuelcell" <fuelcell at fuelcellstore.com> To: list at mail.fuelcellstore.com Subject: FuelCellStore.com Date: Fri, 5 Apr 2002 17:11:08 -0700 Message-ID: <001d01c1dcff$8f6c5fa0$cacbfea9 at jason> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal X-Sender: List-owner at mail.fuelcellstore.com Precedence: bulk Sender: List-owner at mail.fuelcellstore.com Content-transfer-encoding: 8bit X-IMAPbase: 1135543792 1 Status: O X-UID: 1 Content-Length: 150475 X-Keywords: Dear Fuel Cell Enthusiast,^M ^M FuelCellStore.com would like to tell you about several new fuel cell products and our redesigned website. ^M ^M * ^M One of which is the new 500W unit that is available for residential back up power, or remote low power primary needs. These units can be stacked up to 1500W and self-starts upon grid failure ~V provi ding critical power for nominal apparatus and remote applications. You will find a link to this product at www.fuelcellstore.com^M * ^M Bench Top Methanol Reformer capable of generating ultra-pure hydrogen from methanol and water for University and Research Labs. Please reply for more information. ^M * ^M A fuel cell powered remote control car with metal hydride storage. ^M ^M FuelCellStore.com has many new educational products and a new nav bar to help you find the products you are looking for. Please check out our Student and Teacher section at www.fuelcellstore.com/products.htm l^M Please let us know what you think of the new site structure and any feedback would be great. ^M ^M You have received this message because you have contacted fuelcellstore.com in the past and asked to receive FuelCellStore.com news. If you would like to unsubscribe from our mailing please reply to this mes sage with unsubscribe in the subject heading. ^M ^M Sincerely,^M ^M FuelCellStore.com^M PO Box 4038^M Boulder, CO 80306-4038^M Harout Hedeshian harout at hedeshian.net 720 - 261 - 3548
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.Okay. Thanks. I will try getting the CVS version. Harout Hedeshian
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