Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 9:17 AM, Simon Matter wrote: Simon, I did recover /var/lib/imap (although a bit later, FWIW) and I think a bit later is your problem. But I think reconstruct should fix this. BTW, did you check the subscription status of mailboxes? Maybe the folders are there but not

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Simon Matter
Simon, I did recover /var/lib/imap (although a bit later, FWIW) and I think a bit later is your problem. But I think reconstruct should fix this. BTW, did you check the subscription status of mailboxes? Maybe the folders are there but not subscribed, and that's why some users can't see

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
Simon, I did recover /var/lib/imap (although a bit later, FWIW) and /etc/imapd.conf. I just now compared /etc/cyrus.conf and added squatter adjusted prefork numbers -- the rest all matched. Is there other configuration I should check? Both systems are 64-bit CentOS 5, so the

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Simon Matter
All, I have run a small mail service based on Cyrus IMAP for a few years. The (CentOS 5) server I've used for the past couple years failed last week. I brought up a new CentOS 5 system on a new Linux server, installed cyrus-imapd-2.3.7-7.el5_4.3, mounted the old /var disk (actually one

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
A script to find each file and IMAP append it? Just thinking outside the box here! Chris Pepper pep...@reppep.com wrote: On 10/4/10 9:17 AM, Simon Matter wrote: Simon, I did recover /var/lib/imap (although a bit later, FWIW) and I think a bit later is your problem. But I think

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/3/2010 6:57 AM, Chris Pepper wrote: More importantly, I don't know how to make the old messages accessible to my users via IMAP (I can give them the files, but that's quite awkward). chk_cyrus agrees with IMAP clients about message counts (very low). I have tried reconstruct with

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 1:12 AM, Patrick Goetz wrote: On 10/3/2010 6:57 AM, Chris Pepper wrote: More importantly, I don't know how to make the old messages accessible to my users via IMAP (I can give them the files, but that's quite awkward). chk_cyrus agrees with IMAP clients about message counts

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/04/2010 08:37 AM, Chris Pepper wrote: No, users see the folders, just not old messages. For most (all?) INBOXes but my own, new messages started arriving as 1. and continued from there. Users can see the new mail, but not the old. This makes me think it's not an internal

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/04/2010 08:47 AM, Bron Gondwana wrote: A script to find each file and IMAP append it? Just thinking outside the box here! How would you do the IMAP append? Using a Perl::IMAP function? This isn't necessarily a concern for this list, but a few days ago I upgraded a site from cyrus

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 10:23 AM, Patrick Goetz wrote: On 10/04/2010 08:37 AM, Chris Pepper wrote: No, users see the folders, just not old messages. For most (all?) INBOXes but my own, new messages started arriving as 1. and continued from there. Users can see the new mail, but not the old. This

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread André Schild
I wasn't clear about whether the old install was completely gone or could still be booted. If you can still start cyrus on the old server, you could try imapsync to transfer mail to the new one. Old system is not bootable, unfortunately. FYI: I have 943 directories 298,409

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Patrick Goetz
On 10/04/2010 10:17 AM, Chris Pepper wrote: On 10/4/10 10:23 AM, Patrick Goetz wrote: I wasn't clear about whether the old install was completely gone or could still be booted. If you can still start cyrus on the old server, you could try imapsync to transfer mail to the new one. Old system

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
On Mon, Oct 04, 2010 at 11:17:59AM -0400, Chris Pepper wrote: On 10/4/10 10:23 AM, Patrick Goetz wrote: I wasn't clear about whether the old install was completely gone or could still be booted. If you can still start cyrus on the old server, you could try imapsync to transfer mail to the

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
On 10/4/10 11:36 AM, Bron Gondwana wrote: On Mon, Oct 04, 2010 at 11:17:59AM -0400, Chris Pepper wrote: On 10/4/10 10:23 AM, Patrick Goetz wrote: I wasn't clear about whether the old install was completely gone or could still be booted. If you can still start cyrus on the old server, you

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Chris Pepper
Thanks, all, for the generous help. Bron asked about output from reconstruct, which never provided any. It turns out that I was using the wrong delimiters (., per chk_cyrus output, rather than /), and reconstruct wasn't even trying. It looks like all the missing mail is accessible

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Bron Gondwana
On Mon, Oct 04, 2010 at 05:26:19PM -0400, Chris Pepper wrote: Thanks, all, for the generous help. Bron asked about output from reconstruct, which never provided any. It turns out that I was using the wrong delimiters (., per chk_cyrus output, rather than /), and reconstruct wasn't

Re: IMAP not seeing old mail present on filesystem

2010-10-04 Thread Shuvam Misra
Dear Patrick, How would you do the IMAP append? Using a Perl::IMAP function? This isn't necessarily a concern for this list, but a few days ago I upgraded a site from cyrus 2.1.16 to cyrus 2.3.16 by using imapsync to transfer mail from the old server to the new one. This worked great

IMAP not seeing old mail present on filesystem

2010-10-03 Thread Chris Pepper
All, I have run a small mail service based on Cyrus IMAP for a few years. The (CentOS 5) server I've used for the past couple years failed last week. I brought up a new CentOS 5 system on a new Linux server, installed cyrus-imapd-2.3.7-7.el5_4.3, mounted the old /var disk (actually one