doc:appunti:linux:sa:spamassassin
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:spamassassin [2021/04/16 18:54] – [Regole personalizzate] niccolo | doc:appunti:linux:sa:spamassassin [2021/07/08 12:19] (current) – [Verifica punteggio] niccolo | ||
---|---|---|---|
Line 95: | Line 95: | ||
< | < | ||
- | header | + | header |
- | describe | + | describe |
- | score | + | score LOCAL_SENDER_GOOGLE_CALENDAR |
</ | </ | ||
Line 105: | Line 105: | ||
< | < | ||
- | header | + | header |
- | describe | + | describe |
- | score LOCAL_FROM_TLD | + | score LOCAL_FROM_SPAMMER_TLD |
</ | </ | ||
+ | |||
+ | Vedere anche il paragrafo **[[spamassassin_private_dnsbl# | ||
===== AutoWhitelist ===== | ===== AutoWhitelist ===== | ||
Line 190: | Line 192: | ||
I test network sono disabilitati se il demone **spamd** viene avviato con l' | I test network sono disabilitati se il demone **spamd** viene avviato con l' | ||
+ | ===== Verifica punteggio ===== | ||
+ | |||
+ | Con il seguente script dovrebbe essere possibile verificare il punteggio associato per ciascun test: | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | TESTS=" | ||
+ | if [ -z " | ||
+ | echo " | ||
+ | exit 1 | ||
+ | fi | ||
+ | cat << EOF | ||
+ | |||
+ | === Punteggio SpamAssassin === | ||
+ | |||
+ | * Test Bayes e network disabilitati | ||
+ | * Test Bayes disabilitati, | ||
+ | * Test Bayes abilitati, test network disabilitati | ||
+ | * >>> | ||
+ | |||
+ | EOF | ||
+ | TESTS=" | ||
+ | for TEST in $TESTS; do | ||
+ | find / | ||
+ | SCORE=" | ||
+ | if [ -n " | ||
+ | #echo " | ||
+ | RULE=" | ||
+ | SCORE1=" | ||
+ | SCORE2=" | ||
+ | SCORE3=" | ||
+ | SCORE4=" | ||
+ | printf '%-25s %7.2f %7.2f %7.2f %7.2f\n' | ||
+ | fi | ||
+ | done | ||
+ | done | ||
+ | </ | ||
+ | |||
+ | Ecco un esempio di utilizzo: | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | |||
+ | === Punteggio SpamAssassin === | ||
+ | |||
+ | * Test Bayes e network disabilitati | ||
+ | * Test Bayes disabilitati, | ||
+ | * Test Bayes abilitati, test network disabilitati | ||
+ | * >>> | ||
+ | |||
+ | HELO_NO_DOMAIN | ||
+ | HTML_MESSAGE | ||
+ | NICE_REPLY_A | ||
+ | RDNS_NONE | ||
+ | SPF_FAIL | ||
+ | </ | ||
==== Client spamc e IPv6 ==== | ==== Client spamc e IPv6 ==== | ||
doc/appunti/linux/sa/spamassassin.1618592070.txt.gz · Last modified: 2021/04/16 18:54 by niccolo