Commit 2fe144fa authored by Claudemir Todo Bom's avatar Claudemir Todo Bom

* do not test reverse dns on local IP addresses

parent 2cebc142
Pipeline #237 passed with stage
in 1 minute and 33 seconds
......@@ -623,16 +623,16 @@ check_recipient:
### verificacoes de dns reverso
defer message = 4.7.1 defered DNS reverse lookup for $sender_host_address
log_message = DEFERED: [Reverse DNS defer] defered reverse lookup for $sender_host_address
!hosts = +relayers
!hosts = +relayers : +local_network
condition = ${if eq{$host_lookup_deferred}{1} {1}{0}}
deny message = 5.7.1 inconsistent or no DNS reverse entry for $sender_host_address
log_message = REJECTED: [Reverse DNS fail] inconsistent reverse for $sender_host_address
!hosts = +relayers
!hosts = +relayers : +local_network
condition = ${if eq{$host_lookup_failed}{1} {1}{0}}
deny !verify = reverse_host_lookup
!hosts = +relayers
!hosts = +relayers : +local_network
log_message = REJECTED: [Reverse DNS] lookup failure for $sender_host_address
message = 5.7.1 reverse DNS lookup failure for $sender_host_address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment