Bug 97602 - Add virus scanning results to fancy header
Summary: Add virus scanning results to fancy header
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 16:17 UTC by _
Modified: 2012-08-19 00:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kmail_clamav.sh with X-Virus-Details (1.76 KB, application/x-shellscript)
2005-01-21 16:17 UTC, _
Details
ClamAV script called up by kmail filter (2.55 KB, text/plain)
2007-09-09 13:20 UTC, Mark Atkinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ 2005-01-21 16:17:17 UTC
Version:            (using KDE KDE 3.3.91)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.3 
OS:                Linux

I want to see some enhancements in the KMail virusscanning.
First of all I enhanced the script to include an X-Virus-Details header containing the virusname.
My wish create a virusscan-subheader like the spam thing (Spam Status: Spamassassin [graphic]), saying something like "Virus Satus: ClamAV: Infected, (X-Virus-Details header contents)".
Comment 1 _ 2005-01-21 16:17:58 UTC
Created attachment 9204 [details]
kmail_clamav.sh with X-Virus-Details
Comment 2 _ 2005-01-21 16:19:15 UTC
Comment on attachment 9204 [details]
kmail_clamav.sh with X-Virus-Details

The script probably needs some performance improvements, but it's quite fast
already.
Comment 3 _ 2005-01-22 17:34:17 UTC
For attachment #9204 [details]: the X-Virus-Details line should read
echo "X-Virus-Details: `echo "$clamoutput" | grep FOUND | sed -e 's/^[^:]*: //' -e 's/ FOUND.*$//'`"
instead - this removes the space before "FOUND".
Comment 4 Gilles Schintgen 2005-01-24 21:15:12 UTC
Another idea would be to detect a possible clamassassin installation. But I agree it would be interesting (but not really useful) to have at least the name of the beast.
Comment 5 _ 2005-01-24 23:31:39 UTC
Well then you at least know that there is a virus detected. As both my spam and virus mails go into one folder I have to check the headers to find out whether the mail is a virus or not.
Comment 6 Mark Atkinson 2007-09-09 13:20:23 UTC
Created attachment 21566 [details]
ClamAV script called up by kmail filter
Comment 7 Mark Atkinson 2007-09-09 13:21:58 UTC
Comment on attachment 21566 [details]
ClamAV script called up by kmail filter

I think it is important to include the name of the Virus identified.  It is
possible that the signature is not selective enough and a clean email is
wrongly labelled.  For example I have seen some discussion of this nature
concerning the Email.Faketube virus.
In addition the virus database is updated and names can be changed.  I have
enabled manual checking.  The current script does not remove the old analysis
results.  I offer the following attachment.
Comment 8 Myriam Schweingruber 2012-08-18 08:40:02 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 9 Luigi Toscano 2012-08-19 00:44:46 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.