[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [PATCH] Correction: bugfix Antivir scan in archives
From:       Hendrik Muhs <Hendrik.Muhs () web ! de>
Date:       2004-08-31 9:05:17
Message-ID: 200408311105.17585.Hendrik.Muhs () web ! de
[Download RAW message or body]

Hi,

correction: the better parameter should be  "--scan-in-archive".

New patch file attached.

Sorry for the inconvenience.

Hendrik

> 
> Hello,
> 
> a small bugfix for the kmail antivir script, i forgot to switch on "scanning 
> in archives" last time.
> 
> The patch introduces the parameter "-z" when executing antivir. The patch is 
> against latest CVS. 
> 
> Please apply it also in the KDE-3.3 (or kdepim-3.3) branch.
> 
> There is no bugreport in bugs.kde.org yet.
> 
> Hendrik
> 



["kmail_antivir_scaninarchives.patch" (text/x-diff)]

--- kmail_antivir.sh.orig	2004-08-31 09:30:38.000000000 +0200
+++ kmail_antivir.sh	2004-08-31 10:59:13.000000000 +0200
@@ -33,7 +33,7 @@ if [ $? ] ; then 
 fi 
 export TEMPFILE
 cat > $TEMPFILE
-if antivir --scan-in-mbox $TEMPFILE | grep -q ALERT; then
+if antivir --scan-in-archive --scan-in-mbox $TEMPFILE | grep -q ALERT; then
 echo "X-Virus-Flag: yes"
 else
 echo "X-Virus-Flag: no"


_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic