Bug 1465100

Summary: Some (not all) incoming emails getting "lost" after upgrading to FC26 Beta
Product: [Fedora] Fedora Reporter: Alan Schmidt <bucky>
Component: cyrus-imapdAssignee: Jason Tibbitts <j>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: code, j, pokorra.mailinglists, pzhukov, vanmeeuwen+fedora, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-27 05:19:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alan Schmidt 2017-06-26 16:16:17 UTC
Description of problem:
IMAP clients show few, if any, incoming emails after upgrade.

Version-Release number of selected component (if applicable):
cyrus-imapd-3.0.1-7.fc26.x86_64

How reproducible:
It's erratic. Some get through, some don't.

Steps to Reproduce:
1. Do DNF upgrade from F25 to F26 of mail server with postfix + cyrus-imapd


Pursuant to:
https://cyrusimap.org/imap/download/upgrade.html#reconstruct-databases-and-cache

... doing "reconstruct -V max" fixed my issue (at least it made all the missing emails appear in my inbox).

I don't know if it's practical to add this to an installation scriptlet or not. I have a comparatively small database. Maybe schedule a reconstruction after first boot?

Comment 1 Jason Tibbitts 2017-06-27 05:19:53 UTC
It's simply not reasonable to run this on package upgrade.  After all, as the Cyrus documentation itself says, this could take hours or even days and I have no idea what would happen if you rebooted your machine in the middle of it (which is something you might do if the process was silently going on in the background).  No, this is simply an issue for the release notes.  I thought I had already asked for some to be added, but in any case I don't think they have been composed yet.

I suppose I could add a file somewhere in the package which includes an additional reference to the upgrade instructions, but it would simply be redundant with the Fedora release notes and the existing Cyrus documentation.