Hello Noel, Would you please stop say that im labeling.. im not. Sorry im so bad in explaining things in english.
I just trying to explain something based on what i did read here: http://www.postfix.org/postconf.5.html#reject_unknown_helo_hostname reject_unknown_helo_hostname (with Postfix < 2.3: reject_unknown_hostname) Reject the request when the HELO or EHLO hostname has no DNS A or MX record. Here the "POSTFIX MANUAL" stats >>>>> "HELO or EHLO hostname" <<<<<< So I think we misunderstand one eachother. I know a "helo hostname" is just a name with refers to a A, AAAA or MX record and the MX must reffer to any A or AAAA. I know its not client-hostname or helo-hostname. Its "helo <i-can-be-any-name>" and maybe that should be better in the manual. As long as its has a DNS A or MX record. ( as stated by RFC 5321 2.3.5 ) > Postfix mostly ignores the helo name. You should too. Why? Since in my opionion this is a very bad advice. This is my I enforce correct "HELO or EHLO hostname". And its as the postfix manual stats by : Rejecting the request when the HELO or EHLO hostname has no DNS A or MX record. Exacty what i need. rfc5321 section 2.3.5 stats: The domain name, as described in this document and in RFC 1035 [2], is the entire, fully-qualified name (often referred to as an "FQDN"). A domain name that is not in FQDN form is no more than a local alias. Local aliases MUST NOT appear in any SMTP transaction. Only resolvable, fully-qualified domain names (FQDNs) are permitted when domain names are used in SMTP. In other words, names that can be resolved to MX RRs or address (i.e., A or AAAA) RRs (as discussed in Section 5) are permitted, as are CNAME RRs whose targets can be resolved, in turn, to MX or address RRs. Local nicknames or unqualified names MUST NOT be used. Now i just was not happy with some logging parts, but you explained all and for me its ok. I know what todo now to make things better in my logs for my colleges So they can take over some things when im on holiday. Thanks all for the replies. And sorry the the badly choosen words and misunderstandings. Best regards, Louis > -----Oorspronkelijk bericht----- > Van: njo...@megan.vbhcs.org [mailto:owner-postfix-us...@postfix.org] > Namens Noel Jones > Verzonden: dinsdag 20 december 2016 17:50 > Aan: postfix-users@postfix.org > Onderwerp: Re: request improved logging for postfix. > > On 12/20/2016 3:17 AM, L.P.H. van Belle wrote: > > > > postfix/ [smtp/smtpd/postscreen] show [client-hostname or unknown] IP > > > > (*always unknown if A/PTR mismatches in client hostname OR helo > > hostname) > > Labeling a client as unknown has nothing to do with the helo name. > > See the description for reject_unknown_client_hostname for the > conditions when a client is labeled unknown. > http://www.postfix.org/postconf.5.html#reject_unknown_client_hostname > > Postfix mostly ignores the helo name. You should too. > > > -- Noel Jones