Re: Hostname RBL Questions

2021-07-20 Thread Noel Jones
On 7/20/2021 3:31 PM, post...@ptld.com wrote: Also meaning if a client passed reject_unknown_client_hostname then it would be procedurally pointless to check both reject_rhsbl_client and reject_rhsbl_reverse_client, right? It's ALWAYS pointless to check both. -- Noel Jones

Re: Hostname RBL Questions

2021-07-20 Thread postfix
On 07-20-2021 3:58 pm, Noel Jones wrote: reject_rhsbl_reverse_client uses the client PTR regardless of FCrDNS confirmation. These clients may be labeled as "unknown" in postfix logs. If the client has no PTR at all, there is no hostname to check and the query is skipped. The hostname isn't

Re: Hostname RBL Questions

2021-07-20 Thread Noel Jones
On 7/20/2021 1:49 PM, post...@ptld.com wrote: Postfix queries the PTR hostname returned. For this query, it doesn't matter if the client PTR and A record match FCrDNS. If that is the case, then what is the difference between reject_rhsbl_client and reject_rhsbl_reverse_client?

Re: Hostname RBL Questions

2021-07-20 Thread Wietse Venema
> But this is the hostname version reject_rhsbl_*, wouldn't it submit > hostname and not an IP? In that case it prepends a domain name (client hostname, email address domain, depending on context). Wietse

Re: Hostname RBL Questions

2021-07-20 Thread postfix
Postfix will perform each query. If the query ends up being the exact same, it will be in your cache. Oh yeah, i didn't think about that. reject_rhsbl_reverse_client rbl_domain=d.d.d.d Postfix queries the PTR hostname returned. For this query, it doesn't matter if the client PTR and A

Re: Hostname RBL Questions

2021-07-20 Thread postfix
reject_rhsbl_client rbl_domain=d.d.d.d reject_rhsbl_helo rbl_domain=d.d.d.d How does postfix submit the query to the rbl_domain? Prepend the reversed client IP address to the provider's domain (without =d.d.d.d). See RFC5782 or https://en.wikipedia.org/wiki/DNSBL. Postfix was implemented long

Re: Hostname RBL Questions

2021-07-20 Thread Wietse Venema
post...@ptld.com: > - > > reject_rhsbl_client rbl_domain=d.d.d.d > reject_rhsbl_helo rbl_domain=d.d.d.d > > How does postfix submit the query to the rbl_domain? Prepend the reversed client IP address to the provider's domain (without =d.d.d.d). See RFC5782 or

Re: Hostname RBL Questions

2021-07-20 Thread Noel Jones
On 7/20/2021 12:56 PM, post...@ptld.com wrote: - reject_rhsbl_client rbl_domain=d.d.d.d reject_rhsbl_helo rbl_domain=d.d.d.d How does postfix submit the query to the rbl_domain? If the PTR for the client IP is mx.example.com does postfix query mx.example.com.rbl_domain or

Hostname RBL Questions

2021-07-20 Thread postfix
- reject_rhsbl_client rbl_domain=d.d.d.d reject_rhsbl_helo rbl_domain=d.d.d.d How does postfix submit the query to the rbl_domain? If the PTR for the client IP is mx.example.com does postfix query mx.example.com.rbl_domain or example.com.rbl_domain? Or both or other? Same for HELO