This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
защита_почты_от_вирусов_и_spamа [2020/08/31 08:48] val [Технология Grey List] |
защита_почты_от_вирусов_и_spamа [2021/06/10 10:10] (current) admin [Технология взвешенной оценки] |
||
---|---|---|---|
Line 108: | Line 108: | ||
use_bayes 0 | use_bayes 0 | ||
# required_score 5.0 | # required_score 5.0 | ||
- | trusted_networks 192.168.X | + | trusted_networks 192.168.X # must be set for cgpav because default ALL_TRUSTED !!! |
- | # add_header all Report _REPORT_ | + | add_header all Report _REPORT_ |
- | # score RCVD_IN_BL_SPAMCOP_NET 10.0 | + | score BODY_SINGLE_WORD 10.0 |
</code><code> | </code><code> | ||
gate# spamassassin --lint # Проверка конфигурации | gate# spamassassin --lint # Проверка конфигурации | ||
Line 143: | Line 143: | ||
root@gate:~# less /etc/default/spamass-milter | root@gate:~# less /etc/default/spamass-milter | ||
- | |||
- | root@gate:~# service spamass-milter restart | ||
root@gate:~# cat /etc/postfix/main.cf | root@gate:~# cat /etc/postfix/main.cf | ||
Line 202: | Line 200: | ||
<code> | <code> | ||
- | root@gate:~# apt-get install postgrey | + | root@gate:~# apt install postgrey |
root@gate:~# less /etc/default/postgrey | root@gate:~# less /etc/default/postgrey | ||
Line 213: | Line 211: | ||
check_policy_service inet:127.0.0.1:10023 | check_policy_service inet:127.0.0.1:10023 | ||
</code><code> | </code><code> | ||
+ | root@gate:~# service postfix restart | ||
+ | |||
root@gate:~# ls /var/lib/postgrey/ | root@gate:~# ls /var/lib/postgrey/ | ||