Re: Is there any to reconstruct a mailbox, if used just have the email files, but none of the original cyrus.* files?

2019-01-18 Thread Patrick Boutilier
On 1/18/19 5:26 PM, Mark London wrote: Hi - Is there any to reconstruct a mailbox, if you just have the email files, but none of the original cyrus.* files?   Don't ask me why, it's a very long story. I believe you can just recreate the mailbox (using cyradm or similar) and th

Is there any to reconstruct a mailbox, if used just have the email files, but none of the original cyrus.* files?

2019-01-18 Thread Mark London
Hi - Is there any to reconstruct a mailbox, if you just have the email files, but none of the original cyrus.* files? Don't ask me why, it's a very long story. As an aside, has anyone ever had a situation where emails were los,t when someone used Apple Mail to transfer a lot of

Re: Why do we need to run reconstruct after having moved mailboxes using cyradm's xfer command?

2018-12-18 Thread Binarus
gt;> Now that I have used cyradm's xfer command to relocate the mailboxes / >> messages / folders / subfolders, I surprisingly had to run the "heaviest" >> form of reconstruct (-V max). > > That's not the "heaviest" form of reconstruct, it's ju

Re: Why do we need to run reconstruct after having moved mailboxes using cyradm's xfer command?

2018-12-17 Thread ellie timoney
at...) > Now that I have used cyradm's xfer command to relocate the mailboxes / > messages / folders / subfolders, I surprisingly had to run the "heaviest" > form of reconstruct (-V max). That's not the "heaviest" form of reconstruct, it's just

Why do we need to run reconstruct after having moved mailboxes using cyradm's xfer command?

2018-12-16 Thread Binarus
ernal error: assertion failed: imap/mailbox.c: 2850: !message_guid_isnull(&record->guid) "Fortunately", a lot of other users are affected by such log entries and weird email client behavior as well, so finding the solution on the 'net was not too difficult: Running reconstru

Re: Help on reconstruct - Cyrus2.3.11

2018-12-06 Thread Ismaël Tanguy
intend to keep the metadata (header/index/cache) on an SSD pool local to the (virtual) Cyrus server. Haven't decided yet whether we'll move from 2.3 to 2.5 or 3.0, certainly not 2.4 Eric Luyten. We're looking, first, to a way to automate safely the reconstruct of mailbox,

Re: Help on reconstruct - Cyrus2.3.11

2018-12-06 Thread Egoitz Aurrekoetxea
t; Snapshot give a way to restore mail or mailbox. > It has worked like a charm until the migration. > Now we're stuck on daily mailbox corruption due to this storage. > > We're looking, first, to a way to automate safely the reconstruct of mailbox, > ideally keep

Re: Help on reconstruct - Cyrus2.3.11

2018-12-06 Thread Eric Luyten
ven't decided yet whether we'll move from 2.3 to 2.5 or 3.0, certainly not 2.4 Eric Luyten. We're looking, first, to a way to automate safely the reconstruct of mailbox, ideally keeping the Seen State of mails. In parrellel, we're studying the migration to Cyrus 2.4.1

Re: Help on reconstruct - Cyrus2.3.11

2018-12-06 Thread Ismaël Tanguy
re looking, first, to a way to automate safely the reconstruct of mailbox, ideally keeping the Seen State of mails. In parrellel, we're studying the migration to Cyrus 2.4.17 without the use of NFS. Cheers, Ismael <http://www.univ-brest.fr> Le 06/12/2018 à 08:21, ego...@sarenet.es a écrit

Re: Help on reconstruct - Cyrus2.3.11

2018-12-05 Thread egoitz
king index for user.: > Input/output error > ... > Around 15 maiboxes are corrupted at each timeouts. > Manually, we can repair this mailbox: > > first, we have to delete all cyrus files in mailbox, if not the following > reconstruct can be blocked >

Help on reconstruct - Cyrus2.3.11

2018-12-05 Thread Ismaël Tanguy
... Around 15 maiboxes are corrupted at each timeouts. Manually, we can repair this mailbox: * first, we have to delete all cyrus files in mailbox, if not the following reconstruct can be blocked * then, we reconstruct the mailbox (reconstruct -s user.. The downside of this method is that all

Re: Is "reconstruct -V max..." needed when upgrading from 2.5.10 to 3.0.7?

2018-07-31 Thread Savvas Karagiannidis
ional status, since we didn't know the details we do now.. The fix you mentioned on the thread is for 3.0.x. >From my experience, running reconstruct 3.0.x only creates further issues. Reconstruct 2.5.x also crashes sometimes which is really frustrating and restarting it for all mailbox

Re: Is "reconstruct -V max..." needed when upgrading from 2.5.10 to 3.0.7?

2018-07-31 Thread Nic Bernstein
On 07/31/2018 02:32 PM, Savvas Karagiannidis wrote: Hi Nic, as far as I know there are currently a couple of nasty open issues when upgrading old mailboxes, created from earlier versions of cyrus, that have not been upgraded to v13 index using reconstruct. These issues are: https

Re: Is "reconstruct -V max..." needed when upgrading from 2.5.10 to 3.0.7?

2018-07-31 Thread Savvas Karagiannidis
Hi Nic, as far as I know there are currently a couple of nasty open issues when upgrading old mailboxes, created from earlier versions of cyrus, that have not been upgraded to v13 index using reconstruct. These issues are: https://github.com/cyrusimap/cyrus-imapd/issues/2171 https://github.com

Is "reconstruct -V max..." needed when upgrading from 2.5.10 to 3.0.7?

2018-07-31 Thread Nic Bernstein
Friends, I'm preparing for a couple of belated 2.5.X to 3.0.X upgrades, and have a question about how necessary it is to run "reconstruct -V max" on the mailstore.  Both systems are currently running 2.5.10, and are already at index version 13.  However, when performing "re

Cyrus 2.5.10 and CentOS 7.3. Reconstruct userflags

2018-06-26 Thread Anton Shilov via Info-cyrus
Hi list Accidentally deleted cyru.index in the shared mailbox. I've restored it and put into the same place. After that did  "reconstruct mailbox", but userflags not to be appeared. During reconstruct process I sow lots of such messages: uid 1000222453 mismatch: userflags Is

Re: reconstruct problem

2018-05-01 Thread James B. Byrne via Info-cyrus
On Tue, May 1, 2018 14:44, Sebastian Hagedorn wrote: > reconstruct only works when the cyrus files exist. You can just touch > them prior to running reconstruct. > >> Am 01.05.2018 um 20:18 schrieb Dr. Harry Knitter >> : >> >> Hello >> >> reconstruct

Re: reconstruct problem

2018-05-01 Thread Sebastian Hagedorn
reconstruct only works when the cyrus files exist. You can just touch them prior to running reconstruct. > Am 01.05.2018 um 20:18 schrieb Dr. Harry Knitter > : > > Hello > > reconstruct doesn't process submailboxes even when using the -r option. > No cyrus.* files

reconstruct problem

2018-05-01 Thread Dr. Harry Knitter
Hello reconstruct doesn't process submailboxes even when using the -r option. No cyrus.* files are created in subfolders. What can I do? Thanks Harry using cyrus 2.4 signature.asc Description: This is a digitally signed message part. Cyrus Home Page: http://www.cyrusimap.org/

upgrade to 2.5.11, reconstruct errors

2017-08-28 Thread Gabriele Bulfon
Hi, I decided to upgrade to 2.5.11, adding the patches to implement THREAD=REFS, and it finally works, and it's much faster than 2.4. I will give a try to 3.0.3 in a second step. During reconstruct, I found this error in messages for many folders of many mailbox, typically inboxes, spam,

Re: xfer from 2.4 -> 3.0.2, double reconstruct necessary?

2017-08-09 Thread Stephan Lauffer
Hi! Zitat von Stephan Lauffer : Hello! I mooved a mailbox in a murder setup from a 2.4.18 backend to a 3.0.2 frontend (with a 2.4.18 proxy/frontend server). After the mailbox was transferred we saw no mails but the mailbox folderts. So we started a "reconstruct -V max" and a

Re: xfer from 2.4 -> 3.0.2, double reconstruct necessary?

2017-08-08 Thread Stephan Lauffer
Hi Zitat von Stephan Lauffer : Hello! I mooved a mailbox in a murder setup from a 2.4.18 backend to a 3.0.2 frontend (with a 2.4.18 proxy/frontend server). After the mailbox was transferred we saw no mails but the mailbox folderts. So we started a "reconstruct -V max" and a

xfer from 2.4 -> 3.0.2, double reconstruct necessary?

2017-08-07 Thread Stephan Lauffer
Hello! I mooved a mailbox in a murder setup from a 2.4.18 backend to a 3.0.2 frontend (with a 2.4.18 proxy/frontend server). After the mailbox was transferred we saw no mails but the mailbox folderts. So we started a "reconstruct -V max" and a "quota -f". After that

Re: 2.4.18, problem with reconstruct

2016-02-04 Thread Sergey via Info-cyrus
On Friday 05 February 2016, Andrew Morgan wrote: > > Is this is a bug or require any other settings to run reconstruct ? > > I usually use these steps to add a new folder using reconstruct: > >touch cyrus.header >chown cyrus:mail cyrus.header >reconstruc

Re: 2.4.18, problem with reconstruct

2016-02-04 Thread Andrew Morgan via Info-cyrus
On Fri, 5 Feb 2016, Sergey via Info-cyrus wrote: Hello. I attempted to reconstruct some damaged mailboxes with empty folders, but it does not work. I use this command: su -l cyrus -s /bin/bash -c "/usr/lib/cyrus/reconstruct -f -r user/user@domain" Mail directory contains "Tras

2.4.18, problem with reconstruct

2016-02-04 Thread Sergey via Info-cyrus
Hello. I attempted to reconstruct some damaged mailboxes with empty folders, but it does not work. I use this command: su -l cyrus -s /bin/bash -c "/usr/lib/cyrus/reconstruct -f -r user/user@domain" Mail directory contains "Trash" subdirectory without any files (manualy

reconstruct crash in 2.5.6

2015-11-10 Thread Stephan via Info-cyrus
Hello list, I'm still trying to migrate my 2.4. servers to 2.5.6 and end up with a crashing reconstruct -G. I ran reconstruct with gdb attached and got this: user.pete.Gesendet: missing cache file, recreating Program received signal SIGSEGV, Segmentation fault. cache_parserecord (cach

reconstruct segfault, questions regarding databases

2015-11-04 Thread Stephan via Info-cyrus
if I run reconstruct -V max as the cyrus user, reconstruct crashes every couple of mailboxes leaving a log entry I don't understand, e.g.: reconstruct[21388]: WARNING: trying to rename cache file user.username.Folder (1 < 2) reconstruct[21388]: IOERROR: failed to load cache for user.us

Re: reconstruct mailbox including all it's subfolders

2015-07-08 Thread Shaw, Brian
I run reconstruct from the command line [1] as the cyrus user with no parameters and it walks the whole tree. Brian [1] /usr/lib/cyrus-imapd/reconstruct On 2015-07-08 1:39 pm, Sundeep Singh Nanuwa wrote: > Hi > > reconstruct -r mailbox only rebuilds the Inbox - how does cyrus de

reconstruct mailbox including all it's subfolders

2015-07-08 Thread Sundeep Singh Nanuwa
Hi reconstruct -r mailbox only rebuilds the Inbox - how does cyrus deal with rebuilding subfolders? https://cyrusimap.org/docs/cyrus-imapd/2.4.9/man/reconstruct.8.php - shows that there are many options for reconstruct however on version 2.4 there is only one option -r localhost> reconstr

reconstruct mailbox including all it's subfolders

2015-07-01 Thread Sundeep Singh Nanuwa
Hi reconstruct -r mailbox only rebuilds the Inbox - how does cyrus deal with rebuilding subfolders? https://cyrusimap.org/docs/cyrus-imapd/2.4.9/man/reconstruct.8.php - shows that there are many options for reconstruct however on version 2.4 there is only one option -r localhost

Re: problems with deleted messages and reconstruct

2014-06-20 Thread Eric Luyten
On Thu, June 19, 2014 6:06 pm, Rodrigo Ventura wrote: > > On 19/06/2014, at 12:03, Simon Matter wrote: > > >> Then I guess "unexpunge -l" should show them. >> > > It does not. > > > It puzzles me how reconstruct finds all mail files, including the

Re: problems with deleted messages and reconstruct

2014-06-19 Thread Rodrigo Ventura
On 19/06/2014, at 12:03, Simon Matter wrote: > Then I guess "unexpunge -l" should show them. It does not. It puzzles me how reconstruct finds all mail files, including the ones before 2008, but a mail client only shows mails after 2008. That is, there are mail files in the

Re: problems with deleted messages and reconstruct

2014-06-19 Thread Simon Matter
Then I guess "unexpunge -l" should show them. Simon > > I didn’t apply any patch. This is a vanilla cyrus imap clean install. > > Shouldn’t reconstruct -O take care of non indexed files? Should I assume > that, if it didn’t delete them, they are still indexed? How can

Re: problems with deleted messages and reconstruct

2014-06-19 Thread Rodrigo Ventura
I didn’t apply any patch. This is a vanilla cyrus imap clean install. Shouldn’t reconstruct -O take care of non indexed files? Should I assume that, if it didn’t delete them, they are still indexed? How can I list all expunged/non-deleted mails? Thank you, Rodrigo On 19/06/2014, at 11:51

Re: problems with deleted messages and reconstruct

2014-06-19 Thread Simon Matter
> 2008. However, there are mail files in the mailbox older than 2008. I >>> tried to "reconstruct -r user.xpto", as well as “reconstruct -r -O >>> user.xpto”, but this doesn’t seem to solve the problem. Also, I didn’t >>> find a solution/explanation in neither FAQ nor

Re: problems with deleted messages and reconstruct

2014-06-19 Thread Rodrigo Ventura
any of those mails remain in the >> mailbox folder. I double checked and imapd reports no mails prior to, say, >> 2008. However, there are mail files in the mailbox older than 2008. I >> tried to "reconstruct -r user.xpto", as well as “reconstruct -r -O >> user.xpt

Re: problems with deleted messages and reconstruct

2014-06-19 Thread Simon Matter
er than 2008. I > tried to "reconstruct -r user.xpto", as well as “reconstruct -r -O > user.xpto”, but this doesn’t seem to solve the problem. Also, I didn’t > find a solution/explanation in neither FAQ nor googling. > > Any clues on how to diagnose this problem? Doe

problems with deleted messages and reconstruct

2014-06-19 Thread Rodrigo Ventura
to "reconstruct -r user.xpto", as well as “reconstruct -r -O user.xpto”, but this doesn’t seem to solve the problem. Also, I didn’t find a solution/explanation in neither FAQ nor googling. Any clues on how to diagnose this problem? Thank you, Rodrigo Ventura Institute for Systems an

Re: reconstruct problem [solved]

2014-04-23 Thread Dr. Harry Knitter
after deleting the concerned subfolder of the mailbox via cyradmin. We created it new with the user's MUA (Thunderbird). Then I copied back the mails (not the cyrus*-files) to that new folder in the file system and ran cyrreconstruct - r -f. Creating the subfolder via cyradm does not work!!! It h

Re: reconstruct problem

2014-04-18 Thread Niels Dettenbach (Syndicat.com)
Am 18.04.2014 um 11:42 schrieb Dr. Harry Knitter : > Everything works well exept one subfolder of one user which is not visible in > the user's MUA. one workaround could be: - move the folder out of the mailbox - reconstruct -r the mailbox - create the folder by IMAP again -

Re: reconstruct problem

2014-04-18 Thread Dr. Harry Knitter
Am Freitag, 18. April 2014 schrieb Patrick Boutilier: > What is the name of the folder? Also, is the user subscribed to the folder? /var/spool/cyrus/mail/i/user/info/Ablage/Bestelleingang/2014/ Yes he tried, however, it ist not visible in the subscription dialog. Harry Cyrus Home Page: http

Re: reconstruct problem

2014-04-18 Thread Patrick Boutilier
On 04/18/2014 06:42 AM, Dr. Harry Knitter wrote: hello, after having restored the mailboxes from an old System by copying the mailbox files to the according folders in a new system (Debian wheezy using normal cyrus-imapd 2.4) I ran cyrreconstruct -r -f user. on every mailbox restored. The ACLs

reconstruct problem

2014-04-18 Thread Dr. Harry Knitter
hello, after having restored the mailboxes from an old System by copying the mailbox files to the according folders in a new system (Debian wheezy using normal cyrus-imapd 2.4) I ran cyrreconstruct -r -f user. on every mailbox restored. The ACLs I have set new (recursively), too. Everything

Re: Reconstruct a downgrade?

2014-04-14 Thread Andrew Morgan
entry for > 'x...@my.domain.com' > > After deleting cyrus.index, cyrus.header annd cyrus.cache from the user > x...@my.domain.com inbox directory > and a reconstruct -r user/x...@my.domain.com mail boxes and messages are > restored successfully. > > But ther

Reconstruct a downgrade?

2014-04-14 Thread Charles Bradshaw
.@my.domain.com inbox directory and a reconstruct -r user/x...@my.domain.com mail boxes and messages are restored successfully. But there are now thousands of, presumably, previously deleted messages and the 'seen', 'replied' etc flags are gone! Is there a way to reconstruct the neces

Corrupt mailbox unable to fix with reconstruct

2013-09-27 Thread Michael Menge
m I/O error' Sep 27 12:53:55 mailserv08 sync_client[29759]: Error in do_user(LOGINID): bailing out! The file seems to be fine, i can view it with less, and the file size matches the first size in the log. ls -l 1. -rw--- 1 cyrus mail 4527701 1999-02-16 03:04 1. I tried to fix it with r

Re: Reconstruct a Single Folder

2013-02-11 Thread Adam Tauno Williams
On Mon, 2013-02-11 at 13:56 +0100, Kaiser Martin wrote: > I have a Problem to reconstruct a Single folder. > If I run, > sudo -u cyrus /usr/lib/cyrus/bin/reconstruct -fr user/wieder/cc > I see this error > user.wieder.cc uid 1 not found > user.wieder.cc uid 2 not found > use

Reconstruct a Single Folder

2013-02-11 Thread Kaiser Martin
HI, I have a Problem to reconstruct a Single folder. If I run, sudo -u cyrus /usr/lib/cyrus/bin/reconstruct -fr user/wieder/cc I see this error user.wieder.cc uid 1 not found user.wieder.cc uid 2 not found user.wieder.cc uid 3 not found user.wieder.cc uid 4 not found user.wieder.cc uid 5 not

Re: Reconstruct mailbox for a specific user.

2012-12-20 Thread anant
- Message from mor...@orst.edu - Date: Wed, 19 Dec 2012 10:41:10 -0800 (PST) From: Andrew Morgan Subject: Re: Reconstruct mailbox for a specific user. To: an...@isac.gov.in Cc: info-cyrus@lists.andrew.cmu.edu > On Thu, 13 Dec 2012, an...@isac.gov.in wr

Re: Reconstruct mailbox for a specific user.

2012-12-19 Thread Andrew Morgan
On Thu, 13 Dec 2012, an...@isac.gov.in wrote: > - Message from mor...@orst.edu - > Date: Wed, 12 Dec 2012 09:33:03 -0800 (PST) > From: Andrew Morgan > Subject: Re: Reconstruct mailbox for a specific user. > To: an...@isac.gov.in >

Re: Reconstruct mailbox for a specific user.

2012-12-12 Thread anant
- Message from mor...@orst.edu - Date: Wed, 12 Dec 2012 09:33:03 -0800 (PST) From: Andrew Morgan Subject: Re: Reconstruct mailbox for a specific user. To: an...@isac.gov.in Cc: info-cyrus@lists.andrew.cmu.edu > On Wed, 12 Dec 2012, an...@isac.gov.in wr

Re: Reconstruct mailbox for a specific user.

2012-12-12 Thread Andrew Morgan
On Wed, 12 Dec 2012, an...@isac.gov.in wrote: > - Message from mor...@orst.edu - > Date: Tue, 11 Dec 2012 20:55:04 -0800 (PST) > From: Andrew Morgan > Subject: Re: Reconstruct mailbox for a specific user. > To: an...@isac.gov.in >

Re: Reconstruct mailbox for a specific user.

2012-12-11 Thread anant
- Message from mor...@orst.edu - Date: Tue, 11 Dec 2012 20:55:04 -0800 (PST) From: Andrew Morgan Subject: Re: Reconstruct mailbox for a specific user. To: an...@isac.gov.in Cc: info-cyrus@lists.andrew.cmu.edu > On Wed, 12 Dec 2012, an...@isac.gov.in wr

Re: Reconstruct mailbox for a specific user.

2012-12-11 Thread Andrew Morgan
s of level user.xxx are seen, but folders at >>>>> user.xxx.ABC including ABC are not seen. >>>>> >>>>> Should I run, >>>>> /usr/lib/cyrus-imapd/reconstruct -rf user.xxx.ABC now? That is when >>>>> Cyrus-imapd is already running? Or I

Re: Reconstruct mailbox for a specific user.

2012-12-11 Thread anant
- Message from mor...@orst.edu - Date: Tue, 11 Dec 2012 11:50:59 -0800 (PST) From: Andrew Morgan Subject: Re: Reconstruct mailbox for a specific user. To: an...@isac.gov.in Cc: Dan White , info-cyrus@lists.andrew.cmu.edu > On Tue, 11 Dec 2012,

Re: Reconstruct mailbox for a specific user.

2012-12-11 Thread Andrew Morgan
On Tue, 11 Dec 2012, an...@isac.gov.in wrote: - Message from dwh...@olp.net - Date: Mon, 10 Dec 2012 13:21:03 -0600 From: Dan White Subject: Re: Reconstruct mailbox for a specific user. To: an...@isac.gov.in Cc: info-cyrus@lists.andrew.cmu.edu On 12/10/12 16

Re: Reconstruct mailbox for a specific user.

2012-12-10 Thread anant
- Message from dwh...@olp.net - Date: Mon, 10 Dec 2012 13:21:03 -0600 From: Dan White Subject: Re: Reconstruct mailbox for a specific user. To: an...@isac.gov.in Cc: info-cyrus@lists.andrew.cmu.edu > On 12/10/12 16:42 +0530, an...@isac.gov.in wrote: >

Re: Reconstruct mailbox for a specific user.

2012-12-10 Thread Dan White
On 12/10/12 16:42 +0530, an...@isac.gov.in wrote: >Dear Experts, > >I did reconstruct mailboxes of all users, using the script in >README.HOWTO-recover-mailboxes.db. Following is the extract of the >script (for reconstruct) > >-- >find /var/spool/imap/user -maxdepth 1 -mi

Reconstruct mailbox for a specific user.

2012-12-10 Thread anant
Dear Experts, I did reconstruct mailboxes of all users, using the script in README.HOWTO-recover-mailboxes.db. Following is the extract of the script (for reconstruct) -- find /var/spool/imap/user -maxdepth 1 -mindepth 1 | \ while read i; do i=$(basename $i) /usr/lib/cyrus-imapd

Re: Some messages are missing and reconstruct doesn't help

2012-08-26 Thread Geoff Adams
P, as well. >> >> I had to go through mbox format because I couldn't figure out a way to have >> reconstruct use the message file timestamps for the internaldate; all the >> new messages were timestamped as the moment I did the reconstruct. Am I >> missing someth

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Bron Gondwana
mailbox, and > then used a one-line shell script to convert the newer messages into mbox > format, imported that into the mail client, and then copied those messages > into the new mailbox via IMAP, as well. > > I had to go through mbox format because I couldn't figure out a w

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
box format, imported that into the mail client, and then copied those messages into the new mailbox via IMAP, as well. I had to go through mbox format because I couldn't figure out a way to have reconstruct use the message file timestamps for the internaldate; all the new messages were tim

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
box format, imported that into the mail client, and then copied those messages into the new mailbox via IMAP, as well. I had to go through mbox format because I couldn't figure out a way to have reconstruct use the message file timestamps for the internaldate; all the new messages were tim

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
rom the pre-upgrade snapshot, and then re-run reconstruct on that mailbox. That took a while, and seemed successful, finding dozens of missing messages, as I expected--all the messages delivered since the upgrade. I now see a small number of messages in the inbox, but more than the 3743 mes

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
disk, what you're actually doing by > deleting cyrus.index and forcing a full reconstruct is bring BACK > emails which the user has already deleted once! That thought had crossed my mind, but I'm quite certain that that's not it (or not the whole story). Indeed, no new mail mess

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
On Aug 24, 2012, at 1:26 PM, Geoff Adams wrote: > On Aug 24, 2012, at 1:17 PM, Bron Gondwana wrote: > >> Can I please have a copy of your imapd.conf as well. >> >> I _suspect_ at this stage that it's locking problems. > > That does seem likely. Attached is my imapd.conf. I forgot to mention th

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Bron Gondwana
with a magic flag rather than copied to a separate cyrus.expunge file. This means that even though there are lots of files on the disk, what you're actually doing by deleting cyrus.index and forcing a full reconstruct is bring BACK emails which the user has already deleted once! Bron. -- Bron G

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
On Aug 24, 2012, at 1:17 PM, Bron Gondwana wrote: > Can I please have a copy of your imapd.conf as well. > > I _suspect_ at this stage that it's locking problems. That does seem likely. Attached is my imapd.conf. - Geoff imapd.conf Description: Binary data Cyrus Home Page: http://www.cy

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Bron Gondwana
gt; Thanks for the help. Sent separately. > > > Also - what does syslog say? > > Syslog just shows this, one for each mailbox reconstructed, even with > debug-level logging: > > Aug 24 05:07:40 punctilious.kempt.net reconstruct[14932]: [ID 703446 > local6.notice] reco

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
ust shows this, one for each mailbox reconstructed, even with debug-level logging: Aug 24 05:07:40 punctilious.kempt.net reconstruct[14932]: [ID 703446 local6.notice] reconstructing user.david Nothing more. And no apparent effect on the mailbox. And the plot thicks. Overnight, that same user&

Re: Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Bron Gondwana
16322 message > files in his inbox (*. files) and growing as new mail came in, selecting his > inbox only showed the constant: > [...] > So, what's going on, here, and why doesn't 2.4.16's reconstruct find the > missing messages? (I've tried the -G, -R, and -f flag

Some messages are missing and reconstruct doesn't help

2012-08-24 Thread Geoff Adams
me in, selecting his inbox only showed the constant: * 3743 EXISTS No incantation of reconstruct that I found would do the trick. Eventually, I had to kill the master, remove the cyrus.index (and cyrus.cache; not sure if that mattered) files, and run reconstruct on that mailbox. Now, it shows: *

MIgrating 2.3.16 spool to 2.4.16 : reconstruct (sometimes) changes ACL to old 2.2 value.

2012-06-25 Thread Eric Luyten
Hello, I copied part of our 2.3 production mail spool to a 2.4 test environment. When running 'reconstruct -r' on a subset of those test data, I noticed a number of mailbox ACLs being changed from 'lrswipkxtecda' to 'lrswipcda', the latter being the Cyrus 2.

RE: Reconstruct: IOERROR: Mailbox name too long

2012-02-10 Thread Bron Gondwana
I cannot do this in production migration as I should rsync 600GB. Thanks! Regards. Manel Gimeno Zaragoza magiz...@hotmail.com From: br...@fastmail.fm To: magiz...@hotmail.com; info-cyrus@lists.andrew.cmu.edu Subject: Re: Reconstruct: I

RE: Reconstruct: IOERROR: Mailbox name too long

2012-02-10 Thread Manel Gimeno Zaragozá
nks! Regards. Manel Gimeno Zaragoza magiz...@hotmail.com From: br...@fastmail.fm To: magiz...@hotmail.com; info-cyrus@lists.andrew.cmu.edu Subject: Re: Reconstruct: IOERROR: Mailbox name too long Date: Fri, 10 Feb 2012 14:21:18 +0100 Bogus message is probably totally bogus. I suspect t

Re: Reconstruct: IOERROR: Mailbox name too long

2012-02-10 Thread Bron Gondwana
mboxlist -d > file local_cyrus# clt_mboxlist -u < file local_cyrus# reconstruct -rxf user.test_user user.test_user: failed to read index header user.test_user: Invalid mailbox name (null) user.test_user.Borrador: failed to read index header user.test_user.

Reconstruct: IOERROR: Mailbox name too long

2012-02-10 Thread Manel Gimeno Zaragozá
Hello, I've installed "cyrus-imapd-2.4.13-1.el6.x86_64" and i'm trying to migrate a mailbox from a remote cyrus server to a new one. The steps I follow are: remote_cyrus# ctl_mboxlist -d > file local_cyrus# clt_mboxlist -u < file local_cyrus# reconstruct -rxf user.te

Re: Reconstruct dying with bus error

2011-10-24 Thread Zachariah Mully
On 10/20/2011 04:44 PM, Zachariah Mully wrote: > Howdy all- > I'm running into many mailboxes moved from 2.2.13 to 2.4.12 which > reconstruct barfs on with a 'Bus error'. I'm running reconstruct as such : > # find /var/spool/cyrus/mail2 -maxdepth 3 -mindepth 3 -t

Reconstruct dying with bus error

2011-10-20 Thread Zachariah Mully
Howdy all- I'm running into many mailboxes moved from 2.2.13 to 2.4.12 which reconstruct barfs on with a 'Bus error'. I'm running reconstruct as such : # find /var/spool/cyrus/mail2 -maxdepth 3 -mindepth 3 -type d | sed s:/var/spool/cyrus/mail2/[a-z]/::g | xargs

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Sebastian Hagedorn
--On 14. September 2011 09:36:57 -0400 Adam Tauno Williams wrote: Of course, I agree. I saw the date (2006) only after posting. I don't understand why this distribution of Linux is using a so ancient version of cyrus, that's very strange. ??? This is not a distribution package; its an Invoca

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Adam Tauno Williams
Quoting Denis BUCHER : > ear Bron, > Le 14.09.2011 11:13, Bron Gondwana a écrit : >> On Wed, Sep 14, 2011 at 10:45:27AM +0200, Denis BUCHER wrote: >>>> I think I've posted already here about this some years ago about this >>>> problem and I'm disappoin

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Bron Gondwana
years ago about this > >>> problem and I'm disappointed that cyrus reconstruct seems to still have > >>> the same bug. Although last time I was able to circumvent it, this time > >>> I am left out without any solution, and my users are very angry now !!! > &g

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Adam Tauno Williams
Quoting Denis BUCHER > Dear Bron, > Le 14.09.2011 11:13, Bron Gondwana a écrit : >> On Wed, Sep 14, 2011 at 10:45:27AM +0200, Denis BUCHER wrote: >>>> I think I've posted already here about this some years ago about this >>>> problem and I'm disappoin

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Denis BUCHER
Dear Bron, Le 14.09.2011 11:13, Bron Gondwana a écrit : > On Wed, Sep 14, 2011 at 10:45:27AM +0200, Denis BUCHER wrote: >>> I think I've posted already here about this some years ago about this >>> problem and I'm disappointed that cyrus reconstruct seems to still

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Bron Gondwana
On Wed, Sep 14, 2011 at 10:45:27AM +0200, Denis BUCHER wrote: > > I think I've posted already here about this some years ago about this > > problem and I'm disappointed that cyrus reconstruct seems to still have > > the same bug. Although last time I was able to circu

Re: Never-ending bug with reconstruct - MISSING FOLDERS

2011-09-14 Thread Denis BUCHER
Le 14.09.2011 10:42, Denis BUCHER a écrit : > Dear all, > > I think I've posted already here about this some years ago about this > problem and I'm disappointed that cyrus reconstruct seems to still have > the same bug. Although last time I was able to circumvent it,

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Josef Karliak
s, but mails what arrived after migrating process will be marked again unread - so users will be confused again. Anyway, if you still plan copy seen state files over, then you must run reconstruct again. P.S. This manual user migration is very complicated process and mistakes will happen

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Eero Hänninen
ain unread - so users will be confused again. Anyway, if you still plan copy seen state files over, then you must run reconstruct again. P.S. This manual user migration is very complicated process and mistakes will happen very easy, so I strongly recommended, that you test with 1 or 2 mailbo

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Josef Karliak
Hi, that's it ! This a right command that discovered me users and recovered quota usage. So this is a next command after "reconstruct", I must write it somewhere :) Anyway - why are all mail unreaded after import and reconstruction ? Users will ask me ... :) Thanks

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Eero Hänninen
Hi Josef, On Thu, 21 Jul 2011 09:06:32 +0200, Josef Karliak wrote: > Hello, > after copying mails to the new server and reconstructing emails > with a command "sudo -u cyrus /usr/lib/cyrus/bin/reconstruct -r -f > user." seems to be all fine. But after some fights with &g

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Jo Rhett
I need to reconstruct :-/ > localhost> reconstruct * > reconstruct: Mailbox does not exist > localhost> reconstruct user.* > reconstruct: Mailbox does not exist > localhost> reconstruct > usage: reconstruct [-r] mailbox > localhost> reconstruct -r -f > u

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Josef Karliak
Hi, reconstructing not in the cyradm reconstructs mails and folders, not the quota that I need to reconstruct :-/ localhost> reconstruct * reconstruct: Mailbox does not exist localhost> reconstruct user.* reconstruct: Mailbox does not exist localhost> reconstruct usage: recons

Re: cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Simon Matter
>Hello, >after copying mails to the new server and reconstructing emails > with a command "sudo -u cyrus /usr/lib/cyrus/bin/reconstruct -r -f > user." seems to be all fine. But after some fights with > plugin for check quota in the Squirrelmail I tried a command f

cyradm +reconstruct all mailboxes (2.3.xx)

2011-07-21 Thread Josef Karliak
Hello, after copying mails to the new server and reconstructing emails with a command "sudo -u cyrus /usr/lib/cyrus/bin/reconstruct -r -f user." seems to be all fine. But after some fights with plugin for check quota in the Squirrelmail I tried a command for listing qu

Reconstruct and guid mismatch

2011-05-03 Thread Nicolas GIMMILLARO
Hi, When using reconstruct or chk_cyrus, i get error messages related to guid mismatch for each folders in each mailboxes. Cyrus IMAP 2.4.6 on Solaris 9 Standalone server, no sync [...] user.nicolas.Sent uid 1297 mismatch: guid user.nicolas.Sent uid 1298 mismatch: guid user.nicolas.Sent uid

Re: DECISION: what reconstruct -f should do

2011-04-27 Thread Joost Roeleveld
> It would, but we don't do long flag names, and besides I hate flag > proliferation. It's hard enough remembering what all the flags to > reconstruct do as it is! This is a super rare edge case as it is... Ok, I wasn't sure what the chances are of that situation and a

Re: DECISION: what reconstruct -f should do

2011-04-27 Thread Bron Gondwana
second flag, for instance "--full-dir-tree" (or similar), to change > the > behaviour to create the directory regardless work? It would, but we don't do long flag names, and besides I hate flag proliferation. It's hard enough remembering what all the flags to re

Re: DECISION: what reconstruct -f should do

2011-04-26 Thread Joost Roeleveld
On Tuesday 26 April 2011 10:19:36 David Lang wrote: > On Tue, 26 Apr 2011, Bron Gondwana wrote: > > On Sat, Apr 23, 2011 at 01:07:00AM +0200, Bron Gondwana wrote: > >> 3) add the mailbox if there's a directory, don't require > >> > >>cyrus.header. > >> > >> 4) like (3) - but check that there'

Re: DECISION: what reconstruct -f should do

2011-04-26 Thread Bron Gondwana
On Wed, Apr 27, 2011 at 10:31:40AM +0900, OBATA Akio wrote: > On Wed, 27 Apr 2011 02:20:51 +0900, Bron Gondwana wrote: > > >On Tue, 26 Apr 2011 10:19 -0700, "David Lang" > > wrote: > >>I can easily see someone wanting to have INBOX.sub containing > >>INBOX.sub.folder1 > >>and INBOX.sub.folder2

  1   2   3   4   5   >