This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
защита_почты_от_вирусов_и_spamа [2020/08/31 08:47] val [Технология взвешенной оценки] |
защита_почты_от_вирусов_и_spamа [2020/08/31 08:49] val [Технология Grey List] |
||
---|---|---|---|
Line 194: | Line 194: | ||
==== Технология Grey List ==== | ==== Технология Grey List ==== | ||
- | * [[http://ru.wikipedia.org/wiki/Серый_список]] | + | * [[https://ru.wikipedia.org/wiki/%D0%A1%D0%B5%D1%80%D1%8B%D0%B9_%D1%81%D0%BF%D0%B8%D1%81%D0%BE%D0%BA|Серый список]] |
* RFC 2821 4.5.4.1 ([[http://rfc.com.ru/rfc2821.htm]]) | * RFC 2821 4.5.4.1 ([[http://rfc.com.ru/rfc2821.htm]]) | ||
+ | |||
+ | === Postfix (Debian/Ubuntu) === | ||
+ | |||
+ | [[http://vladimir-stupin.blogspot.com/2009/09/postfix-postgrey.html]] | ||
+ | |||
+ | <code> | ||
+ | root@gate:~# apt install postgrey | ||
+ | |||
+ | root@gate:~# less /etc/default/postgrey | ||
+ | |||
+ | root@gate:~# cat /etc/postfix/main.cf | ||
+ | </code><code> | ||
+ | ... | ||
+ | smtpd_recipient_restrictions = permit_mynetworks, | ||
+ | reject_unauth_destination, | ||
+ | check_policy_service inet:127.0.0.1:10023 | ||
+ | </code><code> | ||
+ | root@gate:~# ls /var/lib/postgrey/ | ||
+ | |||
+ | root@gate:~# postgreyreport < /var/log/mail.log | ||
+ | </code> | ||
=== Semdmail (FreeBSD) === | === Semdmail (FreeBSD) === | ||
Line 244: | Line 265: | ||
[gate:~] # cat /var/milter-greylist/greylist.db | [gate:~] # cat /var/milter-greylist/greylist.db | ||
</code> | </code> | ||
- | |||
- | === Postfix (Debian/Ubuntu) === | ||
- | |||
- | [[http://vladimir-stupin.blogspot.com/2009/09/postfix-postgrey.html]] | ||
- | |||
- | <code> | ||
- | root@gate:~# apt-get install postgrey | ||
- | |||
- | root@gate:~# less /etc/default/postgrey | ||
- | |||
- | root@gate:~# cat /etc/postfix/main.cf | ||
- | </code><code> | ||
- | ... | ||
- | smtpd_recipient_restrictions = permit_mynetworks, | ||
- | reject_unauth_destination, | ||
- | check_policy_service inet:127.0.0.1:10023 | ||
- | </code><code> | ||
- | root@gate:~# ls /var/lib/postgrey/ | ||
- | |||
- | root@gate:~# postgreyreport < /var/log/mail.log | ||
- | </code> | ||
- | |||
===== Использование пакета AmavisNew для контексной фильрации почты ===== | ===== Использование пакета AmavisNew для контексной фильрации почты ===== | ||
https://help.ubuntu.com/community/PostfixAmavisNew | https://help.ubuntu.com/community/PostfixAmavisNew |