[Bug 288576] New: Using Pipe Through while filtering results in duplicated attachements mime-part repeated twice

bandicoot2 at gmx.de bandicoot2 at gmx.de
Fri Dec 9 16:21:49 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=288576

           Summary: Using Pipe Through while filtering results in
                    duplicated attachements mime-part repeated twice
           Product: kmail2
           Version: 4.7
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: filtering
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: bandicoot2 at gmx.de


Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

I have searched for this bug and could not find any with this problem.

I was trying to get my old mail from kmail1 imported into kmail2.

It was obvious after a while that the unread messages in the inbox are being
processed by my filters at startup. What i also noticed is that a lot of emails
became at least twice the size as the original email in kmail1 (vmware kmail2
running on original Mail dir).

I have a filter setup for antivirus clamav through the wizard and changed the
result to use kmail_clamav.sh

I have been testing a lot:
- re-importing some emails (through seperate folder in kmail1) with filter log
on, did not show anything interesting
- adjusting kmail_clamav.sh to make it tell me how often it ran with scanning
one email, it was just once.
- running kmail_clamav.sh at the shell prompt on a file containg an email:
kmail_clamav.sh <email >email2
It resulted in a message as i would like it to be (no duplication of
mime-parts)

So the only thing i can think of is that kmail2 is doing something internal
that makes it duplicate the mime-parts of the attachements to the mail (it may
be more duplicated stuff, but i have not looked in to that yet)

Reproducible: Always

Steps to Reproduce:
1. Setup the antivirus through the wizard using clamav
2. Make the filters accessible through a button
3. Have a relatively large (no < datablob (64K?) size) email with attachemnts
(jpg's or something)
4. Send it to yourself and receive it in kmail2
5. Look at the size of the received email
6. Run the antivirus button on this email
7. Move the email to another folder (update on size only happens then!) and
look at the size of the email there
8. Have a look in the source of the email and you will find duplicated parts of
the attachements.

You may repeat steps 6 and 7 making it about double the size of the last email,
and on and on.


Actual Results:  
An email that looks the same as the original in the use of it, but is a lot
bigger, at one time after a lot of processingtime on my inbox i had an inbox of
1.3GB in kmail2, while in kmail1 it was only about 180MB

Expected Results:  
I expected the same email as in kmail1, but only added the flag whether it
contains a virus (yes or no) added by the antivirus scan. Ofcourse looking at
the source of the email.

I have not investigated if it is true, but it looks like the import sometimes
looses messages as well, i do not know if it is the import or the filters in my
case that ar causing this!

Ok,it is not loosing data, but adding a lot to it, but i can easily run out of
diskspace this way and without a virusscan of my email i can not use kmail2,
the extra size is not acceptable, that is why i make it a Major bug!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list