Chad Whitacre wrote:
Greetings,

In src/util/valid_hostname.c (version 2.5.5), valid_hostname gives a "misplaced delimiter" warning if the hostname ends in a trailing dot. Since a trailing dot is technically part of a FQDN, I suggest that valid_hostname allow them. Patch attached.



chad

P.S. New to postfix, couldn't find any version control from the
 website, hence the patch against 2.5.5. The bug also exists in
 2.6-20080903.


Welcome to postfix!

Valid hostnames in mail are not the same as valid DNS hostnames. Mail hostnames never end with a dot.

The current behavior is correct and won't be changed.

but thanks for your willingness to help and taking the effort to supply a patch.

--
Noel Jones

Reply via email to