valid_hostname chokes on trailing dot

2008-10-01 Thread Chad Whitacre
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,

Re: valid_hostname chokes on trailing dot

2008-10-01 Thread Chad Whitacre
Happy to if you point me to it. I'm not an expert. chad Wietse Venema wrote: Chad Whitacre: 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

Re: valid_hostname chokes on trailing dot

2008-10-01 Thread Chad Whitacre
Please cite the relevant section of the relevant RFC. Happy to if you point me to it. I'm not an expert. Is this the right place? https://tools.ietf.org/html/rfc5321#section-2.3.5 chad

Re: valid_hostname chokes on trailing dot

2008-10-01 Thread Chad Whitacre
Peach wrote: On Wed, 01 Oct 2008 12:40:57 -0400 Chad Whitacre [EMAIL PROTECTED] wrote: Please cite the relevant section of the relevant RFC. Happy to if you point me to it. I'm not an expert. Is this the right place? https://tools.ietf.org/html/rfc5321#section-2.3.5 If it is, it does

Re: valid_hostname chokes on trailing dot

2008-10-01 Thread Chad Whitacre
Wietse, Sorry, that is backwards. If you want to correct Postfix behavior, then you need to provide supporting documentation that Postfix is in error. So please point out the relevant sections of email related RFCs, otherwise I suggest that you refrain from posting corrections. We've