Re: Mailboxes messed up after migration

2018-02-20 Thread Hiago Prata
> This sounds like that the timestamps have to be "recalculated" from the mail
> headers of the emails to get the correct timestamps back on them. I typically
> use imapsync for this and imapsync has a integrated option / switch for this
> to do this automatically.

Cyrus really recalculated the messages timestamps. 
But it was just a matter of changing the display order of the mail
clients.
RECEIPT TIME instead of SEND TIME. 

Other thing that users are complaining about right now is that they
might not 
be able to delete some of their messages. Here is the alert they've got:

> Error on Server: UID COPY: Fatal error: Internal error: assertion failed:
> imaplmailbox.c: 2850: !message_guid_isnull(&record->guid)

I've read something about it already, and found that using reconstruct
-rG could
help. But turns out it just points out which messages have a GUID
mismatch. And 
it says using the -R would fix it, but it actually just clear the
messages' seen states
and users still face the exclusion issue. 

This is a sample output for RECONSTRUCT -RG USER/u...@domain.com:

> ufpa.br!user.USER.ANTISPAM uid 478 guid mismatch
> run reconstruct with -R to fix or -U to remove

And this is a sample output for RECONSTRUCT -RGR USER/u...@domain.com:

> ufpa.br!user.USER.BACKUP_NETWORKER uid 12478 guid mismatch
> ufpa.br!user.USER.BACKUP_NETWORKER uid 12478 marking for uid upgrade
> ufpa.br!user.USER.BACKUP_NETWORKER uid 12478 rediscovered - appending

Here is the other message [1] I've sent to the list about how the
migration was done. 

Any thoughts about that?

-- 
Hiago Prata
Graduando em Engenharia da Computação
DataCenter da UFPA - CTIC
Faculdade de Engenharia da
Computação e Telecomunicações - ITEC
Universidade Federal do Pará 

Links:
--
[1]
https://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg46333.html
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Mailboxes messed up after migration

2018-02-05 Thread Hiago Prata
Quoting 

> From what System (Cyrus / non-Cyrus, Version ) to what System  (Version) did 
> you migrate,
> and how was the migration done? (rsync, scp, cyrus replication, via imap).
> 
> How are the mails sorted in roundcube (Date, UID)?

The old server is running cyrus-imap @2.2.13, and the new one @2.5.10.
The migration was done using rsync with the AHR flags. And in Roundcube
the messages are sorted by date by default. 
-- 
Hiago Prata
Graduando em Engenharia da Computação
DataCenter da UFPA - CTIC
Faculdade de Engenharia da
Computação e Telecomunicações - ITEC
Universidade Federal do Pará
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Mailboxes messed up after migration

2018-02-05 Thread Joseph Brennan
IMAP provides two kinds of timestamp: the time the message was placed into
the mailbox, and the time in the Date header line. In a typical inbox and
sent mailbox the two are the same order. In other folders it might not be
the same. I think Roundcube uses the first kind of timestamp, which for
cyrus is not a sort at all since it is the internal order of messages in a
mailbox.

I guess the question is whether the migration moved messages out of order,
or whether the users are noticing something that was true before migration.

Joe Brennan
Columbia University



On Mon, Feb 5, 2018 at 9:26 AM, Hiago Prata  wrote:

> Hi!
>
> After the migration of all users I was supposed to migrate to a new
> server, some of them reported that in some of their mailboxes
> subdirectories the display order of the messages is all messed up, with
> messages received or sent months ago being shown before them most recent
> ones. I thought it might be date format or something related, but all dates
> of creation and access of all mailboxes look the same.
>
>

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Mailboxes messed up after migration

2018-02-05 Thread Michael Menge

Hi,

Quoting Hiago Prata :


Sorry, forgot to mention I'm using Roundcube as client.

Em 2018-02-05 11:26, Hiago Prata escreveu:


Hi!

After the migration of all users I was supposed to migrate to a new  
server, some of them reported that in some of their mailboxes  
subdirectories the display order of the messages is all messed up,  
with messages received or sent months ago being shown before them  
most recent ones. I thought it might be date format or something  
related, but all dates of creation and access of all mailboxes look  
the same.


Any thoughts about that?



From what System (Cyrus / non-Cyrus, Version ) to what System  
(Version) did you migrate,

and how was the migration done? (rsync, scp, cyrus replication, via imap).

How are the mails sorted in roundcube (Date, UID)?


M.MengeTel.: (49) 7071/29-70316
Universität Tübingen   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung  mail:  
michael.me...@zdv.uni-tuebingen.de

Wächterstraße 76
72074 Tübingen


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Mailboxes messed up after migration

2018-02-05 Thread Niels Dettenbach via Info-cyrus
Am Montag, 5. Februar 2018, 15:26:59 CET schrieb Hiago Prata:
> After the migration of all users I was supposed to migrate to a new
> server, some of them reported that in some of their mailboxes
> subdirectories the display order of the messages is all messed up, with
> messages received or sent months ago being shown before them most recent
> ones. I thought it might be date format or something related, but all
> dates of creation and access of all mailboxes look the same.
> 
> Any thoughts about that?

This sounds like that the timestamps have to be "recalculated" from the mail 
headers of the emails to get the correct timestamps back on them. I typically 
use imapsync for this and imapsync has a integrated option / switch for this 
to do this automatically.

But i can just shoot into the dark, as i do not know how you migrated"...


hth
good luck,



Niels.

-- 
 ---
 Niels Dettenbach
 Syndicat IT & Internet
 http://www.syndicat.com
 PGP: https://syndicat.com/pub_key.asc
 ---
 







Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: Mailboxes messed up after migration

2018-02-05 Thread Hiago Prata
Sorry, forgot to mention I'm using Roundcube as client. 

Em 2018-02-05 11:26, Hiago Prata escreveu:

> Hi! 
> 
> After the migration of all users I was supposed to migrate to a new server, 
> some of them reported that in some of their mailboxes subdirectories the 
> display order of the messages is all messed up, with messages received or 
> sent months ago being shown before them most recent ones. I thought it might 
> be date format or something related, but all dates of creation and access of 
> all mailboxes look the same. 
> 
> Any thoughts about that?
> 
> -- 
> Hiago Prata
> Graduando em Engenharia da Computação
> DataCenter da UFPA - CTIC
> Faculdade de Engenharia da
> Computação e Telecomunicações - ITEC
> Universidade Federal do Pará

-- 
Hiago Prata
Graduando em Engenharia da Computação
DataCenter da UFPA - CTIC
Faculdade de Engenharia da
Computação e Telecomunicações - ITEC
Universidade Federal do Pará
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Mailboxes messed up after migration

2018-02-05 Thread Hiago Prata
Hi! 

After the migration of all users I was supposed to migrate to a new
server, some of them reported that in some of their mailboxes
subdirectories the display order of the messages is all messed up, with
messages received or sent months ago being shown before them most recent
ones. I thought it might be date format or something related, but all
dates of creation and access of all mailboxes look the same. 

Any thoughts about that?

-- 
Hiago Prata
Graduando em Engenharia da Computação
DataCenter da UFPA - CTIC
Faculdade de Engenharia da
Computação e Telecomunicações - ITEC
Universidade Federal do Pará
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus