Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-08 Thread Matus UHLAR - fantomas
On 07-07-2021 5:31 pm, Richard wrote: If the "hostname has no DNS A ... record", i.e., the *hostname* presented on the HELO/EHLO doesn't resolve, then no IPnumber will be returned [to do anything with]. On 07.07.21 17:51, post...@ptld.com wrote: Yes, if the hostname has no DNS records then ofcou

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread Kris Deugau
post...@ptld.com wrote: > Please RTFM Postfix documentation. If it does not mention IP addresses > then it does not use the IP addres, I did read the manual which says: "Reject the request when the HELO or EHLO hostname has no DNS A or MX record." Good. Does it mention IP addresses? No it does

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread postfix
The principle is very simple: Postfix documentation describes what Postfix does. The documentation does not describe all the things that Postfix does not do. That would make the documentation much larger, and much harder to read. Understood.

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread postfix
> Please RTFM Postfix documentation. If it does not mention IP addresses > then it does not use the IP addres, I did read the manual which says: "Reject the request when the HELO or EHLO hostname has no DNS A or MX record." Good. Does it mention IP addresses? No it doesn't. Therefore it doesn't

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread Wietse Venema
post...@ptld.com: > > On 07-07-2021 5:31 pm, Richard wrote: > > > > If the "hostname has no DNS A ... record", i.e., the *hostname* > > presented on the HELO/EHLO doesn't resolve, then no IPnumber will be > > returned [to do anything with]. > > Yes, if the hostname has no DNS records then ofcours

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread postfix
On 07-07-2021 5:31 pm, Richard wrote: If the "hostname has no DNS A ... record", i.e., the *hostname* presented on the HELO/EHLO doesn't resolve, then no IPnumber will be returned [to do anything with]. Yes, if the hostname has no DNS records then ofcourse it has no IP. But if the hostname DOE

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread Wietse Venema
post...@ptld.com: > > On 07-07-2021 4:39 pm, Wietse Venema wrote: > > Please RTFM Postfix documentation. If it does not mention IP addresses > > then it does not use the IP addres, > > I did read the manual which says: > "Reject the request when the HELO or EHLO hostname has no DNS A or MX > reco

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread postfix
On 07-07-2021 5:22 pm, Kevin N. wrote: reject_invalid_helo_hostname Would reject an invalid host name such as "ho+st", but a valid hostname such as "host" would pass reject_non_fqdn_helo_hostname Would reject a non fully-qualified hostname such as "host", but a fully-qualified one such as "

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread Richard
> Date: Wednesday, July 07, 2021 16:54:42 -0400 > From: post...@ptld.com > > I did read the manual which says: > "Reject the request when the HELO or EHLO hostname has no DNS A or > MX record." > > Best to my knowledge "DNS A" means IP so the manual does mention IP > addresses, but then it does

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread Kevin N.
reject_invalid_helo_hostname Would reject an invalid host name such as "ho+st", but a valid hostname such as "host" would pass (https://datatracker.ietf.org/doc/html/rfc2821#section-2.3.5): 501 5.5.2 : Helo command rejected: Invalid name reject_non_fqdn_helo_hostname Would reject a non

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread postfix
On 07-07-2021 4:39 pm, Wietse Venema wrote: Please RTFM Postfix documentation. If it does not mention IP addresses then it does not use the IP addres, I did read the manual which says: "Reject the request when the HELO or EHLO hostname has no DNS A or MX record." Best to my knowledge "DNS A"

Re: Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread Wietse Venema
post...@ptld.com: > Under smtpd_helo_restrictions there is > reject_invalid_helo_hostname > reject_non_fqdn_helo_hostname > reject_unknown_helo_hostname > > > #1) What is the difference between invalid and non_fqdn? In plain speak > they sound the same to me. If its not fqdn isn't

Clarify reject_* for smtpd_helo_restrictions

2021-07-07 Thread postfix
Under smtpd_helo_restrictions there is reject_invalid_helo_hostname reject_non_fqdn_helo_hostname reject_unknown_helo_hostname #1) What is the difference between invalid and non_fqdn? In plain speak they sound the same to me. If its not fqdn isn't that malformed? #2) I assume to p