Re: Email not appearing in list, but files exist on disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

IMHO the mails have been marked as deleted, but not expunged by the
webmailer. Most clients will not show these mails by default and some
(e.g. Horde/IMP) count unread mails which are marked as deleted in the
summary view.

By exiting with Thunderbird these messages got expunged.

Regards

   Michael Menge

Quoting francis picabia <fpicabia@xxxxxxxxx>:

We've been running Cyrus imapd for many years and it is normally robust.

It is now on Redhat 5.8, using local storage.

A support call reported that in the webmail summary view, there
were over 130 unread messages, and yet the message list
could show only 8.  The messages showing are the most
recent received since Aug 28.  I checked the disk files and
there were about 130+ files in the top level
of this mailbox.

I su'ed to cyrus and did :

/usr/lib/cyrus-imapd/reconstruct -r -f user.USERNAME

where USERNAME is the account name.

I checked again in webmail (had logged out, back in) and
no difference, still only the same 8 emails showing.

I thought I should try another email client in case the webmail
client had problems digesting something.

I set up my Linux Thunderbird to connect to this account over IMAP.
It showed only 8 emails as well.

I looked again at the files on disk, and now it jived - only 8 messages
on disk.  At first I thought reconstruct had messed it up, but
I can see the IMAP connection from Thunderbird also had
a role.

Looking in the imap logs, I found:

Aug 30 14:47:20 myserver imap[30180]: Expunged 124 messages from user.USERNAME

The 30180 thread corresponds to my Thunderbird client.  It must have
done an expunge on connect and somehow these messages
were thought to be marked for deletion by cyrus.

I am currently recovering the lost email files from backup tape, and I'll
do some additional attempts to reconstruct with a copy of those
files.  Are there any suggestions on how I go about a recovery of
this mailbox so it is true again?
----
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





--------------------------------------------------------------------------------

M.Menge                                Tel.: (49) 7071/29-70316
Universität Tübingen                   Fax.: (49) 7071/29-5912
Zentrum für Datenverarbeitung mail: michael.menge@xxxxxxxxxxxxxxxxxxxx
Wächterstraße 76
72074 Tübingen

Attachment: smime.p7s
Description: S/MIME Signatur

----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux