Annonce

Bonjour et bienvenue!

Désormais vous pouvez poser vos questions, suggestions ou apporter votre contribution au forum en tant que membre ou invité. Mais avant veuillez lire les règles du forum.

#1 08-02-2008 19:06:15

bob031
Modérateur
Date d'inscription: 28-01-2008
Messages: 64

Contre les spams : Spamassassin

Installer Spamassassin v3

Très efficace contre les spams voici : Spamassassin v3:

je l'ai installé sur mes 4 distributions avec une grande facilité :

1) Installer spamassassin et ses dépendances :

debian apt-get install spamassassin
gentoo emerge spamassassin
mandriva urpmi spamassassin
ici sur la fedora
[root@localhost redfox]# yum list spamassassin
Available Packages
spamassassin.i386                        3.2.3-2.fc8            fedora         
[root@localhost redfox]# yum install spamassassin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction checkls

Installed: spamassassin.i386 0:3.2.3-2.fc8
Dependency Installed: perl-Archive-Tar.noarch 0:1.34-1.fc8 perl-Compress-Raw-Zlib.i386 0:2.005-3.fc8 perl-Compress-Zlib.noarch 0:2.005-2.fc8 perl-Digest-HMAC.noarch 0:1.01-16 perl-Digest-SHA1.i386 0:2.11-4.fc8 perl-HTML-Parser.i386 0:3.56-2.fc8 perl-HTML-Tagset.noarch 0:3.10-6.fc8 perl-IO-Compress-Base.noarch 0:2.005-2.fc8 perl-IO-Compress-Zlib.noarch 0:2.005-2.fc8 perl-IO-Socket-INET6.noarch 0:2.51-2.fc8.1 perl-IO-Socket-SSL.noarch 0:1.02-1.fc8.1 perl-IO-Zlib.noarch 0:1.07-1 perl-Net-DNS.i386 0:0.61-1.fc8 perl-Net-IP.noarch 0:1.25-4.fc8 perl-Net-SSLeay.i386 0:1.30-5.fc8.1 perl-Socket6.i386 0:0.19-4.fc8.1 perl-libwww-perl.noarch 0:5.808-3.fc8
Complete!

[root@localhost redfox]#

ensuite utiliser le Générateur de Configuration de Spamassassin ici :
http://www.yrex.com/spam/spamconfig.php

télécharger le fichier nommé local.cf
copier le fichier local.cf dans  /etc/mail/spamassassin/

si le fichier user_prefs n'existe pas dans le home de l'utilisateur (cas pour la fedora), copiez-le à partir du home de root.
[root@localhost redfox]# cp ~root/.spamassassin/user_prefs ~redfox/.spamassassin/user_prefs

pour lancer le daemon :
[root@localhost redfox]# /etc/init.d/spamassassin start


un pinguin sur la banquise !

Hors ligne

 

#2 09-02-2008 00:04:09

aruju
Administrateur
Date d'inscription: 26-01-2008
Messages: 268

Re: Contre les spams : Spamassassin

merci smile

Hors ligne

 

#3 09-06-2008 20:37:37

bob031
Modérateur
Date d'inscription: 28-01-2008
Messages: 64
MandrivaFirefox

Re: Contre les spams : Spamassassin

pour Mandriva 2007.1

   1.
      urpmi spamassassin
   2.
      urpmi spamassassin-spamc
   3.
      urpmi spamassassin-spamd
   4.
      urpmi dcc


# urpmi razor


les fichiers sotn déjà présents :

[root@localhost redfox]# ls -l /etc/mail/spamassassin/
total 9
-rw-r--r-- 1 root root  948 jun 14  2007 init.pre
-rw-r--r-- 1 root root 1366 jun 14  2007 local.cf
drwxr-xr-x 2 root root 1024 jun 14  2007 sa-update-keys/
-rw-r--r-- 1 root root   62 jun 14  2007 spamassassin-default.rc
-rw-r--r-- 1 root root 2180 jun 14  2007 v310.pre
-rw-r--r-- 1 root root  806 jun 14  2007 v312.pre
[root@localhost redfox]#

[redfox@localhost ~]$ ls -l .spamassassin/
total 568
-rw------- 1 redfox redfox  45056 mai  5 08:58 bayes_seen
-rw------- 1 redfox redfox 663552 mai  5 08:58 bayes_toks
-rw-rw-r-- 1 redfox redfox   1487 aoû  9  2007 user_prefs
[redfox@localhost ~]$

à suivre ..
http://artisan.karma-lab.net/node/79


un pinguin sur la banquise !

Hors ligne

 

Pied de page des forums

Propulsé par FluxBB
Traduction par FluxBB.fr