Bug 94612 - Clamav and F-Prot filtering is not working
Summary: Clamav and F-Prot filtering is not working
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7.1
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 15:37 UTC by Michal Trzcinski
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Trzcinski 2004-12-07 15:37:04 UTC
Version:           1.7.1 (using KDE KDE 3.3.1)
Installed from:    Slackware Packages
OS:                Linux

I use Wizard to set antivirus filtering (Clamav and F-Prot, together or not).
After Wizard is completed my kmailrc file doe'snt change and antivirus filtering is not working. My kmailrc file doe'snt change when i rerun KMail too.

When i use antivirus scripts manualy, they are working fine (X-Virus-Flag: yes is set).

When i put Filter rules manualy to kmailrc it doe'snt work too.

Clamav ver: 0.80
F-Prot ver: 4.4.8
(but i think, it is not Antivirus versions problem)

KMail ver: 1.7.1
KDE: 3.3.1
Comment 1 Andreas Gungl 2004-12-26 21:38:16 UTC
The wizard had a problem with adding spam filter rules which has been fixed for KDE 3.3.2. Perhaps this applies o anti-virus rules as well. I recommend you to upgrade to 3.3.2.

As far as your modifications to kmailrc are concerned, please use the Filter Log Viewer (in the Tools menu). Can you provide a log of the filtering of an example message?
Comment 2 Michal Trzcinski 2004-12-30 15:07:56 UTC
I have upgraded KDE to 3.3.2, KMail 1.7.2.
The Wizard is working properly with adding spam filter rules (ex. Spamassasin or GMX), but now it can't add rules for any antivirus (ex. Clamav and F-Prot).
I set antiviruses rules through wizard and my kmailrc file doesn't change and doesn't have any Filter blocks for antiviruses filtering.
Comment 3 Andreas Gungl 2005-01-02 20:22:22 UTC
CVS commit by gungl: 

Make sure that the created anti-virus filters are really added.

BUG: 94612


  M +6 -5      antispamwizard.cpp   1.49


--- kdepim/kmail/antispamwizard.cpp  #1.48:1.49
@@ -401,4 +401,5 @@ void AntiSpamWizard::accept()
       filterList.append( classHamFilter );
     }
+  }
 
     /* Now that all the filters have been added to the list, tell
@@ -406,6 +407,6 @@ void AntiSpamWizard::accept()
      * which will result in the filter list in kmmainwidget being
      * initialized. This should happend only once. */
+  if ( !filterList.isEmpty() )
     KMKernel::self()->filterMgr()->appendFilters( filterList );
-  }
 
   QDialog::accept();