Re: walka ze spamem
On Thu, Apr 21, 2005 at 06:11:51PM +0200, bieniu gras wrote:
> Witaj Paweł,
Hej!
> a moze masz sprawdzony link z opisem konfiguracji ???
Nie mam, ale moge Ci z grubsza opowiedziec jak to robilem u siebie.
Wstep:
W systemie zainstalowany jest Courier (SMTP, POP3, IMAP, webmail),
Amavisd-new (polatany, zeby umial "gadac" z Courierem), Spamassassin,
Razor, DCC, MKS i ClamAV. Courier "chodzi" z uprawnieniami uzytkownika
courier, a Spamassassin jest do niego podlaczony przez maildropa.
1. Razor
$ sudo apt-get install razor
$ sudo su -s /bin/bash - courier
$ razor-admin -create
2. DCC
2.1. Instalacja
$ sudo apt-get install dcc-client
2.2. Konfiguracja Spamassassina
$ grep dcc /etc/mail/spamassassin/local.cf
dcc_home /var/lib/dcc
dcc_dccifd_path /var/lib/dcc/dccifd
3. Test
$ sudo su -s /bin/bash - courier
$ spamassassin -D --lint \
< /usr/share/doc/spamassassin/examples/sample-spam.txt \
> /tmp/spamassassin.log 2>&1
$
$ grep Razor2 /tmp/spamassassin.log
debug: diag: module installed: Razor2::Client::Agent, version 2.67
debug: Razor2 is available
debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0
debug: Razor2 results: spam? 0 highest cf score: 0
debug: Razor2 is available
$
$ grep DCC /tmp/spamassassin.log
debug: DCCifd is available: /var/lib/dcc/dccifd
debug: DCCifd: got response: X-DCC-NIET-Metrics: hermes7 1080; Body=1959 \
Fuz1=1190937 Fuz2=1190931
debug: DCCifd: Listed! BODY: 1959 of 999999 FUZ1: 1190937 of 999999 \
FUZ2: 1190931 of 999999
debug: tests=ALL_TRUSTED,BAYES_50,DCC_CHECK,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME
Pozdrawiam,
P.
Reply to: