Re: Need help with collateral damage after migrating from 2.5.10 to 3.0.13 on Ubuntu

Kővári János <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
2021.09.08. 14:22 keltezéssel, Michael Menge írta:

>
> I don't see any real errors. Do you see any errors starting/restartin 
> cyrus?
those logs span across a shutdown and restart. That is all I can see. No 
errors in syslog or daemon.log. I think it works just fine just doesn't 
find the mails.
> You have two cyrus partitions, 1. "default" where the mails are stored 
> in /var/spool/cyrus/mail and 2. "servername" where the mails are 
> stored in /mnt/data/cyrus/mail
> "ctl_mboxlist -d" will output the list of mailboxes with the partition 
> name. Does the partition name match with the place where the mails are 
> stored?

Here's the output of that command:

> ./ctl_mboxlist -d
> DELETED.user.test.6137A695      0 servername test        lkxca cyrus   
> lrswipkxtecda
> Megosztott      0 servername cyrus       lrswipkxtecda   anyone 
> lrswipkxtecd
> Trash   0 default anyone        lrs     cyrus   lrswipkxtecda
> user.myusername        0 servername cyrus       lrswipkxtecda 
> myusername     lrswipkxtecda
> user.myusername.Archiv 0 servername cyrus       lrswipcda myusername 
>     lrswipkxtecda
> user.myusername.Archiv.2005    0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Archiv.2005.Something   0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2005.Something.Inbox        0 servername 
> cyrus       lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2005.Something.Sent 0 servername cyrus       
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2005.Blah     0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2005.Blah.Inbox  0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2005.Blah.Sent   0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2006    0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Archiv.2006.Something   0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2006.Something.Inbox        0 servername 
> cyrus       lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2006.Something.Sent 0 servername cyrus       
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2006.Blah     0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2006.Blah.Inbox  0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2006.Blah.Sent   0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2007    0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Archiv.2007.Something   0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2007.Something.Inbox        0 servername 
> cyrus       lrswipcda       myusername     lrswipkxtecda
> ...
> user.myusername.Archiv.2013.Something.Sent 0 servername cyrus       
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2013.Blah     0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2013.Blah.Inbox  0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Archiv.2013.Blah.Sent   0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Drafts 0 servername cyrus       lrswipcda myusername 
>     lrswipkxtecda
> user.myusername.Otherthing      0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Otherthing.Inbox   0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Otherthing.Sent    0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Something       0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Something.Inbox    0 servername cyrus lrswipkxtecda   
> myusername     lrswipkxtecda
> user.myusername.Something.Sent     0 servername cyrus lrswipcda       
> myusername     lrswipkxtecda
> user.myusername.Blahblah  0 servername cyrus       lrswipcda 
> myusername     lrswipkxtecda
> user.myusername.Blahblah.Inbox       0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Blahblah.Sent        0 servername cyrus 
> lrswipcda       myusername     lrswipkxtecda
> user.myusername.Sent   0 servername cyrus       lrswipcda myusername 
>     lrswipkxtecda
> user.myusername.Trash  0 servername cyrus       lrswipkxtecda 
> myusername     lrswipkxtecda
> user.test       16 (null)
Here, as you see, I also created a new user "test" (after the upgrade) 
and it was working. Deleted it as you see. But there's a hash in it, but 
not in other user. folders. Isn't that the problem? I read about this 
new hashing thingy but I just got confused. I thought it is just in the 
index files or something?
> The imap error log shows a delivery to user/myusername.
> Can you find the message file on the filesystem 
> (/var/spool/cyrus/mail/<HASHDIR>/user/myusername)
> or (/mnt/data/cyrus/mail/<HASHDIR>/user/myusername) where "<HASHDIR>" 
> is the first character in "myusername"
>
> And can you see the mail in your mail client?
>
yes, the file is there with the correct time stamp, and i also saw it in 
my client (Thunderbird) from remote. It was an internal message from the 
system that it was rebooting. However, I deleted the message, yet it is 
still is there and not in Trash. (which I don't see in my client either.)



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T7418fd5d15878e02-M22225b87e1f92505cffcbce2
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.