This is a discussion on Re: difference between within the mailing.postfix.users forums, part of the Mail Servers and Related category; Philipp Snizek wrote: > Hi > > what is the exact difference between > > reject_invalid_hostname > Reject the request ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Philipp Snizek wrote:
> Hi > > what is the exact difference between > > reject_invalid_hostname > Reject the request when the client HELO and EHLO command has a bad > hostname syntax. The invalid_hostname_reject_code specifies the > response code to rejected requests (default: 501). > > and > > reject_non_fqdn_hostname > Reject the request when the hostname in the client HELO (EHLO) command > is not in fully-qualified domain form. The non_fqdn_reject_code > specifies the response code to rejected requests (default: 504). > > from my point of view invalid hostname = non fqdn hostname. Or does > invalid hostname look like %*827z5///.mydomain><.com ? reject_non_fqdn_hostname rejects a helo that is either invalid (reject_invalid_hostname) or one that is valid but has not dot (such as "blahblah", in contrast to "blah.blah"). so reject_non_fqdn_hostname includes reject_invalid_hostname. you provided an example of the latter, but worst would be a heloname that tries to "poison" the Received headers (by using parens for instance). |