Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/06/2006, à 23:20

jerome73

CLAMAV et le scan anti-virus des mails dans thunderbird

clamav peut-il scanner les mails de thunderbird comme il semble pouvoir le faire pour Kmail et Ximian evolution ?

Pour Kmail et Ximian evolution , j'ai trouvé cette fonctionnalité en découvrant Klamav,  une des interfaces graphiques de clamav (il y a aussi clamTK et avscan).


jerome


* PC carte mere MSI K8T neo2-F v2.0 - carte graphique MSI NX6600-TD128 -
processeur AMD athlon 64 3000+ 1800hz- Ram 1,5Go - Ubuntu_9.04_32bit_i386
* eeePC1000HA -1,6Ghz - DD160Go - Ram 1Go - Lucid Netbook Edition (10.04)

Hors ligne

#2 Le 13/06/2006, à 23:28

Stemp

Re : CLAMAV et le scan anti-virus des mails dans thunderbird

Pour evolution tu peux passer par un script. Ça doit être la même chose pour thunderbird.

Script clamav.sh

#!/bin/bash
# Fred Blaise
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA

FILE=/tmp/$$_outclam.tmp
clamscan - 1>$FILE

if [ $? -eq 1 ]; then
STRING=$(grep “FOUND” $FILE |cut -d: -f2)
zenity –warning –title=”Evolution: Virus détecté” –text=”$STRING” &
exit 1
fi

exit 0

Puis dans evolution la manoeuvre est celle çi :

Ouvrons Evolution, dans le Menu Outils, Filtre… nous allons créer une nouvelle régle de filtrage appellée clamav.
Dans les conditions, changeons Expéditeur en Canal d’accès au programme; choisissons notre script clamav.sh et 1 comme retour.
Dans résultat, déplacons ce courriel dans un répertoire créé pour l’occasion.

Ce doit être facilement adaptable à Thunderbird wink


«La violence n'a jamais rien réglé» Gengis Khan 1162-1227
Blog | Crunchbang Linux | Arch Linux

Hors ligne

#3 Le 14/06/2006, à 18:16

jerome73

Re : CLAMAV et le scan anti-virus des mails dans thunderbird

je vais m'y pencher.

En espérant que Klamav étende dans ses versions futures ses possibilités de scan à thunderbird
Merci

jerome


* PC carte mere MSI K8T neo2-F v2.0 - carte graphique MSI NX6600-TD128 -
processeur AMD athlon 64 3000+ 1800hz- Ram 1,5Go - Ubuntu_9.04_32bit_i386
* eeePC1000HA -1,6Ghz - DD160Go - Ram 1Go - Lucid Netbook Edition (10.04)

Hors ligne

#4 Le 15/06/2006, à 08:08

Cakeman

Re : CLAMAV et le scan anti-virus des mails dans thunderbird

Ou alors tu utilise P3scan couplé avec thunderbird. Le principe : tes mails passent par un proxy (P3scan) qui sont analysés par clamav pour être ensuite redirigé vers thunderbird:

http://forum.ubuntu-fr.org/viewtopic.php?id=3478

Hors ligne