Bug#578434: cyrus: Changing Junk-Status to No-Junk (in Icedove3) let disappear mail and create hardlink

Jakobus Schuerz wertstoffe at nurfuerspam.de
Tue Apr 20 13:06:10 UTC 2010


Am 2010-04-20 14:38, schrieb Dan White:
> On 19/04/10 23:18 +0200, Jakob Schuerz wrote:
>> Package: cyrus-imapd-2.2
>> Version: 2.2.13-19
>> Severity: important
>> File: cyrus
>>
>> When i mark an Mail in Icedove in the Junk-Folder as "no-Junk", it goes to the Inbox-Folder as unread.
>> When i change to the Inbox-Folder, the Mail sometimes disapperas immediately. Never found it again in Icedove.
>>
>> So. I use Icedove as a IMAP-Client for a cyrus-Mailserver. Cyrus runs on the same machine (localhost).
>> When i look in the spool-directory of cyrus /var/spool/cyrus/mail/j/user/jakob i can find the expecting mail with grep.
>> This mail/the file is now hardlinked
>>
>> for example:
>>
>> -rw-------  3 cyrus mail   15310 12. Apr 22:37 27183.
> 
> Hard links are indicative of 'singleinstancestore' being enabled (which is
> on by default). See imapd.conf(5).
> 
> To trouble shoot why your messages are disappearing, reference
> /usr/share/doc/cyrus-imapd-2.2/README.Debian.debug.gz and enable telemetry
> logging.
> 

Thank you for this hint.

Here the Logging:

This happened, when i set the Junkstate in "No-Junk" in the Junk-directory.

<1271768571<DONE
>1271768571>267 OK Completed
<1271768571<268 uid store 8357 +FLAGS (NonJunk)
>1271768571>* 2 FETCH (FLAGS (\Recent \Seen Junk NonJunk) UID 8357)
268 OK Completed
<1271768571<269 uid store 8357 -FLAGS (Junk)
>1271768571>* 2 FETCH (FLAGS (\Recent \Seen NonJunk) UID 8357)
269 OK Completed
<1271768571<270 uid store 8357 -Flags (\Seen)
>1271768571>* 2 FETCH (FLAGS (\Recent NonJunk) UID 8357)
270 OK Completed
<1271768571<271 IDLE
>1271768571>+ idling
<1271768571<DONE
>1271768571>271 OK Completed
<1271768571<273 uid copy 8357 "INBOX"
>1271768571>273 OK [COPYUID 1256304629 8357 27209] Completed
<1271768571<274 uid store 8357 +FLAGS (\Deleted \Seen)
>1271768571>* 2 FETCH (FLAGS (\Recent \Deleted \Seen NonJunk) UID 8357)
274 OK Completed
<1271768571<275 noop
>1271768571>275 OK Completed
<1271768571<276 getquotaroot "INBOX/Junk"
>1271768571>* QUOTAROOT INBOX/Junk
276 OK Completed
<1271768571<277 UID fetch 8358:* (FLAGS)
>1271768571>* 2 FETCH (FLAGS (\Recent \Deleted \Seen NonJunk) UID 8357)
277 OK Completed (0.000 sec)
<1271768571<278 IDLE
>1271768571>+ idling

This happened, when i changed into the INBOX, while the Mail disappears:

==> 20098 <==
<1271768603<DONE
>1271768603>* 1051 EXISTS
* 7 RECENT
140 OK Completed
<1271768603<141 noop
>1271768603>141 OK Completed
<1271768603<142 getquotaroot "INBOX"
>1271768603>* QUOTAROOT INBOX
142 OK Completed
<1271768603<143 UID fetch 27209:* (FLAGS)
>1271768603>* 1051 FETCH (FLAGS (\Recent NonJunk) UID 27209)
143 OK Completed (0.000 sec)
<1271768603<144 UID fetch 27209 (UID RFC822.SIZE FLAGS
BODY.PEEK[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority
X-Priority References Newsgroups In-Reply-To Content-Type x-spam-status
x-spam-flag content-type x-bogosity)])
>1271768603>* 1051 FETCH (FLAGS (\Recent NonJunk) UID 27209 RFC822.SIZE
1913 BODY[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority
X-Priority References Newsgroups In-Reply-To Content-Type x-spam-status
x-spam-flag content-type x-bogosity)] {321}
Date: Sat, 7 Mar 2009 01:47:16 +0100
From: Jakobus =?UTF-8?B?U2Now7xyeg==?= <xxxxx.xxxxx at xxxx.xx>
To: jakob.schuerz at gmx.at, Jakobus =?UTF-8?B?U2Now7xyeg==?= (ICH)
 <xxxxxxxxxxxxx at xxxxxxxxx.xxxxxxxxx.xxx>
Subject: Neuer Server TEST
Message-ID: <20090307014716.2d595e1e at gmx.at>
Content-Type: text/plain; charset=US-ASCII

)
144 OK Completed (0.000 sec)
<1271768604<145 uid store 27209 +Flags (\Seen \Deleted)
>1271768604>* 1051 FETCH (FLAGS (\Recent \Deleted \Seen NonJunk) UID 27209)
145 OK Completed
<1271768604<146 IDLE
>1271768604>+ idling


I hope, it will help you!

jakob

-- 
The UNIX way of Sex:
gunzip-strip-touch-finger-mount-fsck-more-yes-umount-sleep





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list