[kmail2] [Bug 289277] kmail_clamav.sh causes email duplication

2017-01-07 Thread Denis Kurz
https://bugs.kde.org/show_bug.cgi?id=289277

Denis Kurz  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |UNMAINTAINED
 Status|NEEDSINFO   |RESOLVED

--- Comment #9 from Denis Kurz  ---
Just as announced in my last comment, I close this bug. If you encounter it
again in a recent version (at least 5.0 aka 15.08), please open a new one
unless it already exists. Thank you for all your input.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 289277] kmail_clamav.sh causes email duplication

2016-09-24 Thread Denis Kurz via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=289277

Denis Kurz  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #8 from Denis Kurz  ---
This bug has only been reported for versions before 4.14, which have been
unsupported for at least two years now. Can anyone tell if this bug still
present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0
or later, as part of KDE Applications 15.12 or later), it gets closed in about
three months.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 289277] kmail_clamav.sh causes email duplication

2013-02-11 Thread Michael
https://bugs.kde.org/show_bug.cgi?id=289277

Michael  changed:

   What|Removed |Added

 CC||kensing...@gentoo.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-07-20 Thread Andreas K . Huettel
https://bugs.kde.org/show_bug.cgi?id=289277

Andreas K. Huettel  changed:

   What|Removed |Added

 CC||dilfri...@gentoo.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-04-11 Thread Jörg Schaible
https://bugs.kde.org/show_bug.cgi?id=289277

--- Comment #7 from Jörg Schaible  ---
Status update: I've updated KMail meanwhile to KMail 4.8.1. It seems that the
error with the duplication of the complete mail is gone, but the virus filter
still adds a line with X-Virus-Flag for each scan.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-03-04 Thread Jörg Schaible
https://bugs.kde.org/show_bug.cgi?id=289277

--- Comment #5 from Jörg Schaible  ---
Created attachment 69267
  --> https://bugs.kde.org/attachment.cgi?id=69267&action=edit
bash script to fix the mails

A bash script that I used to fix the mails in the maildir structure of my
Courier IMAP server. Provide "cur" folders as argument. The script will search
for bogus mails in these folders, display a diff for the modifications to make
and requests for replacement of the file (moving the new file into the
appropriate "new" folder). Hope, this is useful for other affected users.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-03-04 Thread Jörg Schaible
https://bugs.kde.org/show_bug.cgi?id=289277

--- Comment #2 from Jörg Schaible  ---
More to come: After some while I realized that this picture is not complete,
because I have clamav only installed on my server. On the client there is no AV
software, but nevertheless I had two active filters (actually *I* never added
them): First one calling the Sophos script on incoming mails and the second one
moving mails to a quarantine folder. A look at the kmail_sav.sh showed that
it's similar made to the one calling clamav.

There are two different effects on the mails: Many get a new X-Virus-Flag with
each scan at the top, and some will double their size every time. The latter
typically happens for multipart mails.

However, after searching the source repository for those two scripts, I had to
detect that these have not been touched for years. And a test from command-line
showed that I can pipe such an email that normally doubles its size quite
normally through the script. This means that KMail itself behaves now different
compared to older versions in conjunction of its mail filters and IMAP
accounts.

As additional proof I deactivated those two rules for incoming mails. As result
my mails stay untouched on the IMAP server. When I trigger those two filters
manually now, I can observe the bogus behavior of additional X-Virus-Flags and
sometimes doubled mail size for the scanned mail again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-03-04 Thread Jörg Schaible
https://bugs.kde.org/show_bug.cgi?id=289277

--- Comment #3 from Jörg Schaible  ---
Created attachment 69265
  --> https://bugs.kde.org/attachment.cgi?id=69265&action=edit
mail with a lot of X-Virus-Flag lines

A mail found on my server's maildir with *a lot* of X-Virus-Flag entries just
for demonstration.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-03-04 Thread Jörg Schaible
https://bugs.kde.org/show_bug.cgi?id=289277

--- Comment #4 from Jörg Schaible  ---
Created attachment 69266
  --> https://bugs.kde.org/attachment.cgi?id=69266&action=edit
Mail that will double its size

An unmodified mail that will always double its size when being scanned.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-02-28 Thread Johannes Huber
https://bugs.kde.org/show_bug.cgi?id=289277


Johannes Huber  changed:

   What|Removed |Added

 CC||j...@gentoo.org




-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 289277] kmail_clamav.sh causes email duplication

2012-02-27 Thread Jörg Schaible
https://bugs.kde.org/show_bug.cgi?id=289277


Jörg Schaible  changed:

   What|Removed |Added

 CC||joerg.schai...@gmx.de




--- Comment #1 from Jörg Schaible   2012-02-27 18:43:43 
---
Please raise the priority of this issue to BLOCKER!

I have also an IMAP mail resource with offline support configured, but it seems
that the mails are scanned over time a multiple times and always synchronized
back to the server. Finally the mails in your inbox are so big that they will
cause KMail to crash at startup (after the process has allocated more that
4.1GB any your system came nearly to halt because of major IO/swap activity).

My IMAP server stores the mails in maildir format so I can document the
situation with my weekly backups:

== %< ===
$ grep 'From: Ihre Kabel BW Rechnung'
/mnt/backup/bobbel/data/2012*/tree/home/joehni/.maildir/cur/*,
/mnt/backup/bobbel/data/20120218/tree/home/joehni/.maildir/cur/1329496927.M115320P9137V0805I00BC65BE_13.bobbel,S=554121:2,:From:
Ihre Kabel BW Rechnung 
/mnt/backup/bobbel/data/20120225/tree/home/joehni/.maildir/cur/1330120476.M846151P26094V0805I00BC66F0_11.bobbel,S=70756792:2,:From:
Ihre Kabel BW Rechnung 
$ grep 'From: Ihre Kabel BW Rechnung' *,
1330174529.M466689P16617V0805I00BC66EE_9.bobbel,S=566044139:2,:From:
Ihre Kabel BW Rechnung 
== %< ===

This means the same mail that was about 554KB at 18th of February, had already
70MB at 25th Feb and is now allocating 566MB. And this is only the biggest one.
Just look at this:

= %< 
$ grep "X-Virus-Flag" * | uniq -c | grep -v " 1 " 13
1330174529.M466689P16617V0805I00BC66EE_9.bobbel,S=566044139:2,:X-Virus-Flag:
no
 25
1330176498.M279069P16857V0805I00BC66F0_0.bobbel,S=1584:2,S:X-Virus-Flag:
no
 37
1330176498.M560560P16857V0805I00BC66F9_1.bobbel,S=6018:2,S:X-Virus-Flag:
no
 24
1330361383.M783239P16209V0805I00BC260A_7.bobbel,S=2009:2,:X-Virus-Flag:
no
= %< 

Means this monster mail has been scanned already 13 times, but others in my
inbox have been scanned a lot more. Remember, that the mail doubles its size
with each scan i.e. the mail's size is increased exponentially!

Wonder, how I can cleanup this mess on the server again ...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs