rp91 | merci beaucoup
je crois que j'ai quasiment fini (il ne me restera à voir que l'apprentissage, le filtre bayésien j'ai rien compris il faut que je lise un peu de doc)
ma config est postfix + amavisd-new + spamassassin + clamav + pyzor + razor + dcc
ça a l'air de bien marcher, je voudrai vérifier ma config avec vous
mais ça me semble assez lent (dans les 6 à 10s) quand je fais spamassassin --lint -D
j'ai :
Citation :
courrier:~# spamassassin --lint -D
debug: SpamAssassin version 3.0.3
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/usr/local/sbin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/bin/X11', which doesn't exist, dropping.
debug: Final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
debug: diag: module installed: DBI, version 1.46
debug: diag: module installed: DB_File, version 1.808
debug: diag: module installed: Digest::SHA1, version 2.10
debug: diag: module installed: IO::Socket::UNIX, version 1.21
debug: diag: module installed: MIME::Base64, version 3.04
debug: diag: module installed: Net::DNS, version 0.48
debug: diag: module not installed: Net::LDAP ('require' failed)
debug: diag: module installed: Razor2::Client::Agent, version 2.67
debug: diag: module installed: Storable, version 2.12
debug: diag: module installed: URI, version 1.35
debug: ignore: using a test message to lint rules
debug: using "/etc/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/spamassassin/init.pre
debug: using "/usr/share/spamassassin" for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/share/spamassassin/20_compensate.cf
debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/share/spamassassin/20_drugs.cf
debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/share/spamassassin/20_phrases.cf
debug: config: read file /usr/share/spamassassin/20_porn.cf
debug: config: read file /usr/share/spamassassin/20_ratware.cf
debug: config: read file /usr/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/share/spamassassin/23_bayes.cf
debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/share/spamassassin/25_spf.cf
debug: config: read file /usr/share/spamassassin/25_uribl.cf
debug: config: read file /usr/share/spamassassin/30_text_de.cf
debug: config: read file /usr/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/share/spamassassin/50_scores.cf
debug: config: read file /usr/share/spamassassin/60_whitelist.cf
debug: config: read file /usr/share/spamassassin/65_debian.cf
debug: config: read file /usr/share/spamassassin/70_broken_rules.cf
debug: config: read file /usr/share/spamassassin/70_testing.cf
debug: config: read file /usr/share/spamassassin/regression_tests.cf
debug: using "/etc/spamassassin" for site rules dir
debug: config: read file /etc/spamassassin/70_sare_adult.cf
debug: config: read file /etc/spamassassin/70_sare_bayes_poison_nxm.cf
debug: config: read file /etc/spamassassin/70_sare_evilnum0.cf
debug: config: read file /etc/spamassassin/70_sare_evilnum1.cf
debug: config: read file /etc/spamassassin/70_sare_evilnum2.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj0.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj1.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj2.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj3.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj_eng.cf
debug: config: read file /etc/spamassassin/70_sare_genlsubj_x30.cf
debug: config: read file /etc/spamassassin/70_sare_header.cf
debug: config: read file /etc/spamassassin/70_sare_header0.cf
debug: config: read file /etc/spamassassin/70_sare_header1.cf
debug: config: read file /etc/spamassassin/70_sare_header2.cf
debug: config: read file /etc/spamassassin/70_sare_header3.cf
debug: config: read file /etc/spamassassin/70_sare_header_eng.cf
debug: config: read file /etc/spamassassin/70_sare_header_x264_x30.cf
debug: config: read file /etc/spamassassin/70_sare_header_x30.cf
debug: config: read file /etc/spamassassin/70_sare_highrisk.cf
debug: config: read file /etc/spamassassin/70_sare_html.cf
debug: config: read file /etc/spamassassin/70_sare_html0.cf
debug: config: read file /etc/spamassassin/70_sare_html1.cf
debug: config: read file /etc/spamassassin/70_sare_html2.cf
debug: config: read file /etc/spamassassin/70_sare_html3.cf
debug: config: read file /etc/spamassassin/70_sare_html4.cf
debug: config: read file /etc/spamassassin/70_sare_html_eng.cf
debug: config: read file /etc/spamassassin/70_sare_html_x30.cf
debug: config: read file /etc/spamassassin/70_sare_obfu.cf
debug: config: read file /etc/spamassassin/70_sare_obfu0.cf
debug: config: read file /etc/spamassassin/70_sare_obfu1.cf
debug: config: read file /etc/spamassassin/70_sare_obfu2.cf
debug: config: read file /etc/spamassassin/70_sare_obfu3.cf
debug: config: read file /etc/spamassassin/70_sare_oem.cf
debug: config: read file /etc/spamassassin/70_sare_random.cf
debug: config: read file /etc/spamassassin/70_sare_specific.cf
debug: config: read file /etc/spamassassin/70_sare_spoof.cf
debug: config: read file /etc/spamassassin/70_sare_unsub.cf
debug: config: read file /etc/spamassassin/70_sare_uri0.cf
debug: config: read file /etc/spamassassin/70_sare_uri1.cf
debug: config: read file /etc/spamassassin/70_sare_uri3.cf
debug: config: read file /etc/spamassassin/70_sare_uri_eng.cf
debug: config: read file /etc/spamassassin/70_sare_whitelist.cf
debug: config: read file /etc/spamassassin/70_sare_whitelist_pre30.cf
debug: config: read file /etc/spamassassin/70_sc_top200.cf
debug: config: read file /etc/spamassassin/71_sare_bml_pre25x.cf
debug: config: read file /etc/spamassassin/71_sare_redirect_pre3.0.0.cf
debug: config: read file /etc/spamassassin/72_sare_bml_post25x.cf
debug: config: read file /etc/spamassassin/72_sare_redirect_post3.0.0.cf
debug: config: read file /etc/spamassassin/99_sare_fraud_post25x.cf
debug: config: read file /etc/spamassassin/99_sare_fraud_pre25x.cf
debug: config: read file /etc/spamassassin/antidrug.cf
debug: config: read file /etc/spamassassin/bogus-virus-warnings.cf
debug: config: read file /etc/spamassassin/local.cf
debug: config: read file /etc/spamassassin/random.cf
debug: config: read file /etc/spamassassin/tripwire.cf
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: config: read file /root/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8f62554)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8f62554) implements 'parse_config'
debug: Score set 1 chosen.
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted:
debug: decoding: no encoding detected
debug: Loading languages file...
debug: Language possibly: en,sco
debug: metadata: X-Languages: en sco
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8f62554) implements 'parsed_metadata'
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.48
debug: trying (3) apache.org...
debug: looking up NS for 'apache.org'
debug: NS lookup of apache.org succeeded => Dns available (set dns_available to hardcode)
debug: is DNS available? 1
debug: URIDNSBL: domains to query:
debug: all '*From' addrs: ignore@compiling.spamassassin.taint.org
debug: Running tests for priority: 0
debug: running header regexp tests; score so far=0
debug: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8))
debug: SPF: message was delivered entirely via trusted relays, not required
debug: all '*To' addrs:
debug: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8))
debug: SPF: message was delivered entirely via trusted relays, not required
debug: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8))
debug: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8))
debug: registering glue method for check_for_spf_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8))
debug: registering glue method for check_for_spf_helo_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0x8f4c7f8))
debug: running body-text per-line regexp tests; score so far=0.197
debug: running uri tests; score so far=0.197
debug: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8f62554))
debug: Razor2 is available
debug: entering helper-app run mode
Razor-Log: read_file: 16 items read from /etc/razor/razor-agent.conf
Razor-Log: Computed razorhome from env: /root/.razor
Razor-Log: Found razorhome: /root/.razor
aoû 24 16:22:20.395437 check[1681]: [ 2] [bootup] Logging initiated LogDebugLevel=9 to stdout
aoû 24 16:22:20.421692 check[1681]: [ 5] computed razorhome=/root/.razor, conf=/etc/razor/razor-agent.conf, ident=/root/.razor/identity-ruPPa_nd2-
aoû 24 16:22:20.421874 check[1681]: [ 8] Client supported_engines: 4 8
aoû 24 16:22:20.422169 check[1681]: [ 8] prep_mail done: mail 1 headers=93, mime0=1376
aoû 24 16:22:20.422528 check[1681]: [ 5] read_file: 1 items read from /root/.razor/servers.discovery.lst
aoû 24 16:22:20.422867 check[1681]: [ 5] read_file: 2 items read from /root/.razor/servers.nomination.lst
aoû 24 16:22:20.423220 check[1681]: [ 5] read_file: 3 items read from /root/.razor/servers.catalogue.lst
aoû 24 16:22:20.423489 check[1681]: [ 9] Assigning defaults to folly.cloudmark.com
aoû 24 16:22:20.423638 check[1681]: [ 9] Assigning defaults to joy.cloudmark.com
aoû 24 16:22:20.423787 check[1681]: [ 9] Assigning defaults to c102.cloudmark.com
aoû 24 16:22:20.423942 check[1681]: [ 9] Assigning defaults to c101.cloudmark.com
aoû 24 16:22:20.424083 check[1681]: [ 9] Assigning defaults to shock.cloudmark.com
aoû 24 16:22:20.424834 check[1681]: [ 5] read_file: 18 items read from /root/.razor/server.c101.cloudmark.com.conf
aoû 24 16:22:20.425283 check[1681]: [ 5] read_file: 18 items read from /root/.razor/server.c101.cloudmark.com.conf
aoû 24 16:22:20.425873 check[1681]: [ 5] read_file: 19 items read from /root/.razor/server.shock.cloudmark.com.conf
aoû 24 16:22:20.426322 check[1681]: [ 5] read_file: 19 items read from /root/.razor/server.shock.cloudmark.com.conf
aoû 24 16:22:20.426876 check[1681]: [ 5] read_file: 19 items read from /root/.razor/server.c102.cloudmark.com.conf
aoû 24 16:22:20.427350 check[1681]: [ 5] read_file: 19 items read from /root/.razor/server.c102.cloudmark.com.conf
aoû 24 16:22:20.427904 check[1681]: [ 5] read_file: 18 items read from /root/.razor/server.joy.cloudmark.com.conf
aoû 24 16:22:20.428340 check[1681]: [ 5] read_file: 18 items read from /root/.razor/server.joy.cloudmark.com.conf
aoû 24 16:22:20.428889 check[1681]: [ 5] read_file: 18 items read from /root/.razor/server.folly.cloudmark.com.conf
aoû 24 16:22:20.429319 check[1681]: [ 5] read_file: 18 items read from /root/.razor/server.folly.cloudmark.com.conf
aoû 24 16:22:20.429490 check[1681]: [ 5] 162561 seconds before closest server discovery
aoû 24 16:22:20.429658 check[1681]: [ 6] c102.cloudmark.com is a Catalogue Server srl 5096; computed min_cf=21, Server se: 3BC8
aoû 24 16:22:20.429841 check[1681]: [ 8] Computed supported_engines: 4 8
aoû 24 16:22:20.430001 check[1681]: [ 8] Using next closest server c102.cloudmark.com:2703, cached info srl 5096
aoû 24 16:22:20.430127 check[1681]: [ 8] mail 1 has no subject
aoû 24 16:22:20.430423 check[1681]: [ 6] preproc: mail 1.0 went from 1376 bytes to 1339
aoû 24 16:22:20.430553 check[1681]: [ 6] computing sigs for mail 1.0, len 1339
aoû 24 16:22:20.432217 check[1681]: [ 6] Engine (8) didn't produce a signature for mail 1.0
aoû 24 16:22:20.432409 check[1681]: [ 6] skipping whitelist file (empty?): /root/.razor/razor-whitelist
aoû 24 16:22:20.432536 check[1681]: [ 5] Connecting to c102.cloudmark.com ...
aoû 24 16:22:20.621535 check[1681]: [ 8] Connection established
aoû 24 16:22:20.621714 check[1681]: [ 4] c102.cloudmark.com >> 36 server greeting: sn=C&srl=5096&a=l&a=cg&ep4=7542-10
aoû 24 16:22:20.622025 check[1681]: [ 4] c102.cloudmark.com << 25
aoû 24 16:22:20.622119 check[1681]: [ 6] cn=razor-agents&cv=2.67
aoû 24 16:22:20.622297 check[1681]: [ 6] c102.cloudmark.com is a Catalogue Server srl 5096; computed min_cf=21, Server se: 3BC8
aoû 24 16:22:20.622477 check[1681]: [ 8] Computed supported_engines: 4 8
aoû 24 16:22:20.622620 check[1681]: [ 8] mail 1.0 e4 sig: xFaZIZUVHk90OQfARnenjx5BZTMA
aoû 24 16:22:20.622764 check[1681]: [ 5] mail 1.0 e8 got no sig
aoû 24 16:22:20.622881 check[1681]: [ 8] preparing 1 queries
aoû 24 16:22:20.623052 check[1681]: [ 8] sending 1 batches
aoû 24 16:22:20.623183 check[1681]: [ 4] c102.cloudmark.com << 52
aoû 24 16:22:20.623278 check[1681]: [ 6] a=c&e=4&ep4=7542-10&s=xFaZIZUVHk90OQfARnenjx5BZTMA
aoû 24 16:22:20.852394 check[1681]: [ 4] c102.cloudmark.com >> 5
aoû 24 16:22:20.852494 check[1681]: [ 6] response to sent.2
p=0
aoû 24 16:22:20.852786 check[1681]: [ 6] mail 1.0 e=4 sig=xFaZIZUVHk90OQfARnenjx5BZTMA: sig not found.
aoû 24 16:22:20.852903 check[1681]: [ 7] method 4: mail 1.0: no-contention part, spam=0
aoû 24 16:22:20.852996 check[1681]: [ 7] method 4: mail 1: all non-contention parts not spam, mail not spam
aoû 24 16:22:20.853086 check[1681]: [ 3] mail 1 is not known spam.
aoû 24 16:22:20.853197 check[1681]: [ 5] disconnecting from server c102.cloudmark.com
aoû 24 16:22:20.853340 check[1681]: [ 4] c102.cloudmark.com << 5
aoû 24 16:22:20.853427 check[1681]: [ 6] a=q
debug: Using results from Razor v2.67
debug: Found Razor2 part: part=0 engine=4 ct=0 cf=0
debug: leaving helper-app run mode
debug: Razor2 results: spam? 0 highest cf score: 0
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8f62554) implements 'check_tick'
debug: running raw-body-text per-line regexp tests; score so far=0.197
debug: running full-text regexp tests; score so far=0.197
debug: Razor2 is available
debug: Pyzor is available: /usr/bin/pyzor
debug: entering helper-app run mode
debug: setuid: helper proc 1682: ruid=0 euid=0
debug: Pyzor: got response: 66.250.40.33:24441 TimeoutError:
debug: leaving helper-app run mode
debug: Pyzor: couldn't grok response "66.250.40.33:24441 TimeoutError: "
debug: DCCifd is available: /var/lib/dcc/dccifd
debug: entering helper-app run mode
debug: DCCifd: got response: X-DCC-CTc-dcc2-Metrics: courrier 1031; Body=30822 Fuz1=59279 Fuz2=9666683
debug: leaving helper-app run mode
debug: DCCifd: Listed! BODY: 30822 of 999999 FUZ1: 59279 of 999999 FUZ2: 9666683 of 999999
debug: Running tests for priority: 500
debug: RBL: success for 1 of 1 queries
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8f62554) implements 'check_post_dnsbl'
debug: running meta tests; score so far=1.57
debug: running header regexp tests; score so far=3.14
debug: running body-text per-line regexp tests; score so far=3.14
debug: running uri tests; score so far=3.14
debug: running raw-body-text per-line regexp tests; score so far=3.14
debug: running full-text regexp tests; score so far=3.14
debug: Running tests for priority: 1000
debug: running meta tests; score so far=3.14
debug: running header regexp tests; score so far=3.14
debug: running body-text per-line regexp tests; score so far=3.14
debug: running uri tests; score so far=3.14
debug: running raw-body-text per-line regexp tests; score so far=3.14
debug: running full-text regexp tests; score so far=3.14
debug: is spam? score=3.14 required=5
debug: tests=DCC_CHECK,MISSING_DATE,MISSING_SUBJECT,NO_REAL_NAME
debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__SARE_WHITELIST_FLAG,__UNUSABLE_MSGID
|
pyzor, alors la 1ère fois ça marche jamais et si on fait tout de suite après ça marche :
courrier:~# pyzor ping
66.250.40.33:24441 TimeoutError:
courrier:~# pyzor ping
66.250.40.33:24441 (200, 'OK')
courrier:~# pyzor ping
66.250.40.33:24441 (200, 'OK')
courrier:~# pyzor ping
66.250.40.33:24441 (200, 'OK')
courrier:~# pyzor ping
66.250.40.33:24441 (200, 'OK')
=> le pyzor est vraiment bizarre.
le razor ça fonctionne, par contre mes repertoire correspondent pas du tout à ce qu'on trouve sur le net^^ mais ça semle marcher.
je n'ai pas d'erreur avec spamassassin -- lint
mais la 1ère fois ça prendre 10 secondes
après quand je fais ça prendre 5s
pour les règles, j'ai effacé TOUT le contenu du fichier /usr/share/spamassassin/30_text_fr.cf
et j'ai installé rules du jour.
comme je ois protéger mon systeme, ben j'ai pris toutes les règles sauf le blackliste qui était vraiment trop trop lourd donc :
Citation :
TRUSTED_RULESETS="TRIPWIRE ANTIDRUG SARE_EVILNUMBERS0 SARE_EVILNUMBERS1 SARE_EVILNUMBERS2 RANDOMVAL BOGUSVIRUS SARE_ADULT SARE_FRAUD SARE_FRAUD_PRE25X SARE_BML SARE_BML_PRE25X SARE_RATWARE SARE_SPOOF SARE_BAYES_POISON_NXM SARE_OEM SARE_RANDOM SARE_HEADER SARE_HEADER0 SARE_HEADER1 SARE_HEADER2 SARE_HEADER3 SARE_HEADER_ENG SARE_HEADER_X264_X30 SARE_HEADER_X30 SARE_HTML SARE_HTML0 SARE_HTML1 SARE_HTML2 SARE_HTML3 SARE_HTML4 SARE_HTML_ENG SARE_HTML_PRE300 SARE_SPECIFIC SARE_OBFU SARE_OBFU0 SARE_OBFU1 SARE_OBFU2 SARE_OBFU3 SARE_REDIRECT SARE_REDIRECT_POST300 SARE_SPAMCOP_TOP200 SARE_GENLSUBJ SARE_GENLSUBJ0 SARE_GENLSUBJ1 SARE_GENLSUBJ2 SARE_GENLSUBJ3 SARE_GENLSUBJ_X30 SARE_GENLSUBJ_ENG SARE_HIGHRISK SARE_UNSUB SARE_URI0 SARE_URI1 SARE_URI2 SARE_URI3 SARE_URI_ENG SARE_WHITELIST SARE_WHITELIST_PRE30"
SA_DIR="/etc/spamassassin"
MAIL_ADDRESS="administrateur@MON_DOMAINE.fr"
SA_RESTART="/etc/init.d/amavisd restart"
|
là j'ai un tit souci qd meme, je reçois autant de mails que de règles, soit + d'une trentaine de mail ! :shock: c possible d'en avoir qu'un seul récapitulatif?
et techniquemement il se passe quoi, "/usr/share/spamassassin/" est ignoré et à la place on utilise les règles de /etc/spamassassin/ et une copie des dernières règles téléchargées se trouve dans /etc/spamassassin/RulesDuJour"
c bien cela?
voilà mon /etc/spamassassin/local.cf
Citation :
ok_languages fr en
skip_rbl_checks 0
use_razor2 1
use_dcc 1 use_pyzor 1
# score ALL_TRUSTED 0 (j'avais mis à zéro pour éviter d'influencer les hits en local)
# Encapsulate spam in an attachment (0=no, 1=yes, 2=safe)
report_safe 1
#Config via amavis, et petits reglages...
razor_config /etc/razor/razor-agent.conf
pyzor_path /usr/bin/pyzor
# dcc_path /usr/sbin/dccifd
# dcc_path /usr/bin/dccproc
dcc_home /var/lib/dcc
bayes_path /var/lib/amavis/.spamassassin/bayes
auto_whitelist_path /var/lib/amavis/.spamassassin/auto-whitelist
whitelist_from administrateur@MON_DOMAINE.fr
lock_method flock
bayes_auto_expire 0
#On utilise le filtre bayesien
use_bayes 1
# bayes_auto_learn 1 #Il apprends seul ce qui est spam et ce qui ne l'est pas
# bayes_auto_learn_threshold_nonspam -2.0
# bayes_auto_learn_threshold_spam 7.0
#On désactive l'autoWhiteList
use_auto_whitelist 0
|
c quoi l'autowhitlist? c l'équvalent du auto_learn non_spam ?
et le lock_method_flock j'ai pas trop compris, je l'ai copié d'un site
comment j'utilise le bayésien? les fichier mail d'outlook je les enregistre en *.eml et je les copier ds le repertoire ham et non ham ?
quand je fais spamasassin --lint --debug, il y a les plugins qui me semblent lent, le plugin de hashage par exemple , mon fichier /etc/spamassassin/init.pre est le suivant
Citation :
# RelayCountry - add metadata for Bayes learning, marking the countries
# a message was relayed through
#
# loadplugin Mail::SpamAssassin::Plugin::RelayCountry
# URIDNSBL - look up URLs found in the message against several DNS
# blocklists.
#
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
# Hashcash - perform hashcash verification.
#
#loadplugin Mail::SpamAssassin::Plugin::Hashcash
# SPF - perform SPF verification.
#
loadplugin Mail::SpamAssassin::Plugin::SPF
|
apparemment c ds spamassassin 3.1 qu'il y a les plugin razor dcc et pyzor, moi je les ai pas ici. les plugin j'y ai pas touché.
je crois que si j'arrive à mettre en place les bidule baysien je vais ptet jeter un coup d'oeil sur des scripts : http://www.n0rt0n.com/antispam.html ;) un truc qui m'inquiète, je vais avoir un serveur en production d'environ 50 000 mail/j
si spamassassin --lint prend 5s, ça veut dire quoi, que chq mail traité il faudra 5secondes?
également ça vaut le coup d'utiliser razor pyzor + dcc ? c'est-à dire que le temps que le temps que le mail soit checké que les razor pyzor dcc vérifient chacun sur internet, contact de serveur, vérif, retour de réponse, c pas plus rapide de recevoir du spam et que spamassassin marque un score et qu'on utilise un filtre bayésien?
en clair ça vaut le coup d'utiliser ces 3 modules là ?
si possible, aurais tu un lien pour avoir un ordre de grandeur pour la machine édéquate? (sinon je vais faire google à la recherche du serveur postfix adéquat :P )
par contre j'ai toujours un probleme, spamassassin est bien utilisé mais si je met cum shot sex viagra www.sexe.com et autre truc du genre, j'ai un score seulement de 1.3 par exemple ! des score vraiment faible ! :??: ça pour l'instant j'ai truové d'idée nulle part. )
MERCI |