[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 119149] Filtering in IMAP can duplicate emails
From:       ibc <ibc2 () euskalnet ! net>
Date:       2006-01-17 22:01:38
Message-ID: 20060117220138.23136.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------You are the assignee for the bug, \
or are watching the assignee.         http://bugs.kde.org/show_bug.cgi?id=119149      \




------- Additional Comments From ibc2 euskalnet net  2006-01-17 23:01 -------I've now \
tried with just ONE filter for my IMAP account. This filter just marks as important \
the incomming messages from "userA domain com", nothing else. I send an email from \
that account to my IMAP account so the email appears, but if I receive again the \
mail, there appears a duplicate mail. And if I receive again my mail another \
duplicate mail appears. Exactly the same email. The only difference is the following: \
root machine /var/spool/cyrus/mail/m/user/myuser $ ls -l  total 32K  -rw-r-----  1 \
cyrus mail  734 2006-01-17 22:20 1131.  -rw-r-----  1 cyrus mail  727 2006-01-17 \
22:29 1140.  -rw-r-----  1 cyrus mail  727 2006-01-17 22:29 1141.  -rw-r-----  1 \
cyrus mail  727 2006-01-17 22:29 1142.  -rw-r-----  1 cyrus mail 2,3K 2006-01-17 \
22:29 cyrus.cache  -rw-r-----  1 cyrus mail  149 2005-12-28 19:38 cyrus.header  \
-rw-r-----  1 cyrus mail  284 2006-01-17 22:29 cyrus.index 1131. is a previous email \
that doesn't match any filter. The bug doesn't occur with this mail. 1140. is the \
first email that matches the filter rule. 1141. is the first duplicate mail generated \
when receiving again the mail. 1142. is the second duplicate mail.
  root machine /var/spool/cyrus/mail/m/user/myuser $ diff 1140. 1141.  20c20  < \
X-UID: 1136  ---  > X-UID: 1137

I do "tail -f /var/log/mail.log" but nothing occur when receiving again the mail and \
the duplicates messages appear. The same in "mail.err", "mail.log" and "syslog".

My IMAP server is in MY COMPUTER, and I receive the mail in THE SAME computer, so it \
should be faster than any network.   ;)My computer is an AMD 2200 Mhz with 757MB RAM. \
I think it's enough.

The following is about the same bug, but I can't understand:
- I have my IMAP box empty.
- I press "Receive" and a mail from "userA domain com" appear in Kmail. And the cyrus \
                maildir shows this:
  -rw-r-----  1 cyrus mail  702 2006-01-17 22:52 1246.     <-- This is the email.  \
-rw-r-----  1 cyrus mail 1,2K 2006-01-17 22:52 cyrus.cache  -rw-r-----  1 cyrus mail  \
149 2005-12-28 19:38 cyrus.header  -rw-r-----  1 cyrus mail  180 2006-01-17 22:52 \
                cyrus.index
- I receive again the mail and see the original email duplicated in Kmail. But in my \
                cyrus maildir I see the following:
  -rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1247.  -rw-r-----  1 cyrus mail  730 \
2006-01-17 22:53 1248.  -rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1249.  \
-rw-r-----  1 cyrus mail 2,3K 2006-01-17 22:53 cyrus.cache  -rw-r-----  1 cyrus mail  \
149 2005-12-28 19:38 cyrus.header  -rw-r-----  1 cyrus mail  284 2006-01-17 22:53 \
cyrus.index  In Kmail I see just 2 email, but the cyrus maildir shows 3, and the \
                original "1246." has dissapeared, look at the "22:53" of the new 3 \
                emails.
- I receive again the mail, I see 3 times the email in Kmail, but...
  -rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1247.  -rw-r-----  1 cyrus mail  730 \
2006-01-17 22:53 1248.  -rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1249.  \
-rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1250.  -rw-r-----  1 cyrus mail  730 \
2006-01-17 22:53 1251.  -rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1252.  \
-rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1253.  -rw-r-----  1 cyrus mail  730 \
2006-01-17 22:53 1254.  -rw-r-----  1 cyrus mail  730 2006-01-17 22:53 1255.  \
-rw-r-----  1 cyrus mail 5,8K 2006-01-17 22:53 cyrus.cache  -rw-r-----  1 cyrus mail  \
149 2005-12-28 19:38 cyrus.header  -rw-r-----  1 cyrus mail  596 2006-01-17 22:53 \
cyrus.index  ¿? ¿? ¿? ¿? ¿? ¿
- Each time I receive my email, Kmail shows one more message but cyrus maildir shows \
                a lot of them, more and more.
- Now I close Kmail and reopen. I see exactly the same number of emails in my IMAP \
                account, and the same (a lot of them) in cyrus maildir.
- Bur now if I receive again the mail the bug doesn't occur.
- But if I send another email that mathes the filter to my IMAP account, the same \
problem occurs but just with the new mail. Maybe this is not because reopening Kmail, \
maybe after some time this problem dissapears, I'm not sure, \
sorry._______________________________________________KMail developers mailing \
listKMail-devel@kde.orghttps://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic