Bug 86087 - kmail virus scan not working
Summary: kmail virus scan not working
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 15:20 UTC by Udo
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 Udo 2004-07-27 15:20:09 UTC
Version:            (using KDE KDE 3.2.92)
Installed from:    Compiled From Sources
OS:                Linux

I just downloaded kdepim-3.2.92 src and copiled it on my SuSe 8.1 KDE 3.2.3
Both clamav and f-prot are installed and working.

Setting up the Anti-Virus Wizard the following entries are created in 
kmailrc:
[Filter #0]
ConfigureShortcut=false
Icon=
StopProcessingHere=false
action-args-0=/opt/kde3/bin/kmail_clamav.sh
action-name-0=filter app
actions=1
apply-on=check-mail,manual-filtering
contentsA=0
fieldA=<size>
funcA=greater-or-equal
name=Clam Anti-Virus Check
operator=or
rules=1

[Filter #1]
ConfigureShortcut=false
Icon=
StopProcessingHere=true
action-args-0=virus
action-name-0=transfer
actions=1
apply-on=check-mail,manual-filtering
contentsA=yes
fieldA=X-Virus-Flag
funcA=contains
name=Virus handling
operator=or
rules=1

However, the incoming mailes are not scanned (spamassasin, however is working fine). Here the header:

Return-Path: <xxx>
 Received: from pd9eb85f9.dip0.t-ipconnect.de (bK-IjoZGreH8FYVYCXoUxcZlvMPVyCiEsHWr0fsSkdL224NWpK0ecd@[217.235.133.249]) by sfwd00.sul.t-online.de
        with esmtp id 1BpRL1-0rddU80; Tue, 27 Jul 2004 14:45:47 +0200
 From: "me" <xxx>
 Subject: Fwd: y suddently stop answering my mail?
 Date: Tue, 27 Jul 2004 14:45:45 +0200
 User-Agent: KMail/1.6.82
 To: me
 MIME-Version: 1.0
 Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_55kBB9zq/oZepMN"
 Message-Id: <200407271445.45459.udo.merk@t-online.de>
 X-ID: bK-IjoZGreH8FYVYCXoUxcZlvMPVyCiEsHWr0fsSkdL224NWpK0ecd
 X-TOI-SPAM: u;0;2004-07-27T12:45:48Z
 X-Seen: false
 X-Spam-Status: No, hits=1.1 required=5.0
        tests=HTML_30_40,HTML_FONT_BIG,HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,
              USER_AGENT_KMAIL
        version=2.55
 X-Spam-Level: *
 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
 X-UID: 
 Status: R
 X-Status: NC
 X-KMail-EncryptionState: 
 X-KMail-SignatureState: 
 X-KMail-MDN-Sent: 

Strange!! Neither clamav nor f-prot scripts are working.

So starting the kmailscript on clonsole shows the following:
kmail_fprot.sh ./virus-file
Usage: mktemp [-d] [-q] [-u] template
/opt/kde3/bin/kmail_fprot.sh: line 31: $TEMPFILE: ambiguous redirect
X-Virus-Flag: no

Is it possible that a wrong mktemp command is invoked by the scripts?
I googled already for that, but without results.
Comment 1 Udo 2004-07-27 15:23:58 UTC
sorry, posted 3 times ...