Код: Выделить всё
#Не пропускаем если нет обратной зоны ДНС
deny message = "Inconsistent or no DNS reverse entry"
!authenticated = *
hosts = !127.0.0.1 : !localhost : *
condition = ${if and{{def:sender_host_address}{!def:sender_host_name}}{yes}{no}}
logwrite = "Inconsistent or no DNS reverse entry for $sender_host_address"
Код: Выделить всё
2011-11-03 11:04:16 H=(gohome.kiev.ua) [178.162.174.127] F=<tower@gohome.kiev.ua> rejected RCPT <maria_malysheva@mydomain>: "Inconsistent or no DNS reverse entry"
Код: Выделить всё
[root@mail /home/bobot]# nslookup 178.162.174.127
Server: 91.202.128.100
Address: 91.202.128.100#53
Non-authoritative answer:
127.174.162.178.in-addr.arpa name = kinoreaktor.net.
Authoritative answers can be found from:
127.174.162.178.in-addr.arpa nameserver = ns2.netdirekt.de.
127.174.162.178.in-addr.arpa nameserver = ns1.netdirekt.de
Код: Выделить всё
[root@mail /home/bobot]# dig -x 178.162.174.127
; <<>> DiG 9.4.3-P2 <<>> -x 178.162.174.127
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1483
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;127.174.162.178.in-addr.arpa. IN PTR
;; ANSWER SECTION:
127.174.162.178.in-addr.arpa. 20437 IN PTR kinoreaktor.net.
;; AUTHORITY SECTION:
127.174.162.178.in-addr.arpa. 20437 IN NS ns2.netdirekt.de.
127.174.162.178.in-addr.arpa. 20437 IN NS ns1.netdirekt.de.
;; Query time: 0 msec
;; SERVER: 91.202.128.100#53(91.202.128.100)
;; WHEN: Thu Nov 3 11:28:00 2011
;; MSG SIZE rcvd: 123